pratik sanyal schrieb am 18.03.2010 21:17:
I am trying to retrieve geo location information of search suggest results. Can you please suggest ?
I am using http://en.wikipedia.org/w/api.php?action=opensearch&search=London&fo...
You can search for the Geohack external links, like:
http://en.wikipedia.org/w/api.php?action=query&generator=search&gsrs...
So you'll get for instance:
http://toolserver.org/~geohack/geohack.php?pagename=City_of_London¶m...
Or: download the (not very up-to-date) database dump with an extract of all locations and do the geocoding by yourself.
http://toolserver.org/~kolossos/wp-world/utf8/geo_id_utf.txt.gz
Regards Alex