views:

27

answers:

1

On http://careers.stackoverflow.com, the edit page under

– section Where do you want to work? – has the neat property, that it validates geographic locations and gives them some canonical name. E.g. I enter

Subotica

and it will complete to

Zubotica, Severna Bachka, Serbia

Does it use any public API? Are there any open source implementations of such a geocompleter available for further studies? Are the sanitizations provided by http://www.geonames.org/?

A: 

http://webarto.com/googlemaps

http://webarto.com/34/php-geo-ip-locator

Something like this?

Webarto
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_20100401.zipYou can extract cities and country names from this DB using group statement and make your own table, then when user types eg Subotica, search for city Subotica and if matched extract data, such as city,state,zipcode,country prefix,lat,lon...
Webarto
Thanks for your links. I'm more interested in the *fuzzy* matching part, not so much in *IP => Location* (I've done that already via the free maxmind DB, e.g. on http://ipaddressinfo.net).
The MYYN
I understand, check this link also... http://www.geoplugin.com/webservices/extras#nearby_placesIf user types Belgrade... you can show it like this using maxmind database and ajax... Belgrade, Serbia (flag)
Webarto