https://bugzilla.wikimedia.org/show_bug.cgi?id=44870
Web browser: ---
Bug ID: 44870
Summary: Reverse geocoding
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: Maps
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
It would be great if the Maps extension could provide reverse geocoding,
something at least Google provides. As of now, if you use the #geocoder parser
hook with coordinates as a parameter, you simply get a conversion of the
coordinates. But if you use the Google geocoder api and send coordinates with
the latlng parameter, you get a response formatted as xml or a json structure
with addresses ranging from very specific to very general. Being able to pass
some coordinates and pick out things like the city and different administrative
areas (municipality, county, state, etc) would be very useful.
The method for doing this is basically identical to regular geocoding, with a
few minor adjustments, and can be found here:
https://developers.google.com/maps/documentation/geocoding/?hl=en#ReverseGeocoding
https://developers.google.com/maps/documentation/javascript/geocoding?hl=en#ReverseGeocoding
Example:
http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l