Page MenuHomePhabricator

Use OSM/Wikidata data for Special:Nearby
Open, Needs TriagePublic


Special:Nearby should use OpenStreetMap data (from OSM objects' wikidata=* tag) and Wikidata's coordinate location property, Property:P625, to generate the list instead of the GeoData API. This would allow more accurate distances for administrative areas, railway lines^ and basically anything which isn't perfectly spherical.

This (or even just using Wikidata) would also obviate the need for Extension:GeoData entirely, since the only thing that needs it (AFAIK) is Special:Nearby, and pretty much all coordinates are now in Wikidata.

^ For OSM public transport routes, it is possible that relations could be contained within the relation with the Wikidata tag so this may have to be taken into account.