Reverse Geocoding

development, geo Add comments

Reverse Geocoding is process opposite to Geocoding (when you get map coordinates by city/country given). So the idea is to get city name by coordinates on the map.

Why you may need it? For example, user is supposed to add a marker on the map, and you want to check that the marker is within a particular country or region.

Solutions:

  1. Google GeoCoder (JavaScript) can work with coordinates to retrieve location name. Advantage is that return information is translated to the preferred language of your browser. Here is an example you can play with.
  2. GeoNames.org offers several services, among which you can find Reverse Geocoding web service (REST or JSON) which can work with coordinates and postal codes. Advantage — you can download city/region/country names and POI with coordinates.

GeoNamesBy the way, here are results of benchmarking Google vs. GeoNames.

2 Responses to “Reverse Geocoding”

  1. sash_ko Says:

    One more solution – Cloudmade Geocoding. Advantages – based on open-source maps (OpenStreetMap), you can indicate object type in detail (not only city, road, poi by pub, hotel, etc).

  2. InnocentBystander Says:

    Here’s another Reverse Geocoding service example (not mine)

    http://reversegeocoder.net46.net/

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in