Geolocation by area/city name

Hi its again about the Geo-location , but its inverse Geo-location 
actually I was googling for a question:
how to get lat long by city name ? 
OR 
how to get lat long by address ?

and got this one working and simply awesome : http://ws.geonames.org/search?name=ujjain&country=in&type=xml

XML Response
Add caption

This will return you XML  that will contain lat- long for that are with some other city related information.
you just have to extract the lat- long from this xml.
be lazy… be awesome 🙂

Advertisements

Say something : I accept all the "Humer&Critic"

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s