Reverse Geocoding

Hi, scuse for my english , i am a 16 italina boy. I have some troubles to solve my problems:
i get the gps data as latitude and longitude and i would like convert these to street , cap , ecc ecc or reverse geocoding.
I thought two ways to do this:

  1. Connect my Arduino to internet on a web reverse geocoding
  2. Use the maps of tom tom, stored on a sd card, or similar maps to read the relative data matching the street,number,to gps data.

these could be a good idea but i do not know how to do.

Could help me with advices , references and code

Thank yuo very much to all.

Donato

There are different geocoder on the internet. To reverse decode you can use Google maps.

Example:
http://maps.google.com/maps/geo?q=40.714224,-73.961452&output=xml

The returned data is in XML format.
Because there is a lot of data I would suggest that you create a function on a webserver that reads the data from the webservice and returns only the data you need, i.e. the address and city.
You can place this script function on a webserver on the internet or in your intranet.
Now you can write an arduino sketch that calls your returned data from the php script.

See this thread regarding reading xml data with arduino:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1231812230