Staging copy. The live site is highearthorbit.com.

May 8, 2005 · Geolocation

Obtaining Lat/Lon of a City

Geocoder was developed by Mikel Maron at Worldkit. It's an interface to geocoder.us that provides th e latitude/longitude of any city via a REST interface.

What this means is, it's possible to send an HTTP query to the worldkit interface and receive the latitude and longitude via an RDF response. This is very slick for being able to get and plot lat/lon of a city given only it's name. I have already been doing this via large files from CAIDA on my own projects, but providing this REST interface may make it nicer to distribute on mobile platforms or quicker integrate into new projects/desktop apps.

The interface is:
http://brainoff.com/worldkit/geocoder/rest/?city=Northville,MI,US
followed by the response

   

-83.43243
42.41729


Geolocation