Sponsored Links

WikiMedia Foundation Releases GeoData For Geotagging Wikipedia

The WikiMedia Foundation has added a new extension to MediaWiki, the foundation for Wikipedia, that adds geographic data for individual wiki articles. Aimed primarily at mobile users, GeoData will make finding information about your present location easy and fun. According to WikiMedia, GeoData aims to codify the common practice of adding geographic data to articles. Coordinates added to articles are now stored separately in the database, as opposed to being stored arbitrarily in wiki markup. This makes it easy to query the coordinates of a particular page or a list of pages around a given set of coordinates. The Solr search engine is used for spatial queries, making the searches extremely fast. All the functionality is also available via the API, allowing developers to create tools that use this data. Previous geographic data was added to the “Infobox” code block, like this example for the Wikiepedia page on Flathead Lake: {{Infobox lake |lake_name = Flathead Lake … |coords = {{coord|47|54|6|N|114|6|15|W|region:US-MT_type:waterbody|display=inline,title}} … |cities = }}GeoData has a slightly different syntax: {{#coordinates:primary|47|54|6|N|114|6|15|W}} However, the two coordinate systems are similar enough that it is plausible that they will both be used, the existing coord system to integrate with

Read more at OSTATIC

Comments are closed.