Sorry this is not a very well defined question, I am thinking about an idea for a product, so need to know what is possible…
Say I am standing at the fount door of a house, given the GSP coordinates from a smart phone, how can I find the address I am standing at?
Is GPS good enough for this?
How much does the data/service I need to use cost?
What other questions should I be asking about this?
GPS is limited to returning the latitude and longitude coordinates of your position.
To resolve these coordinates to an address, you would need to use an external data source. The act of converting a geographical coordinate to an address is often referred to as reverse geocoding.
There are some free reverse geocoding services such as that offered within the Google Maps API. However make sure you read and understand the Terms of Use before using such a service.
As an example, you can do reverse geocoding with the Google Maps API using the following HTTP request:
Simple CSV:
Returns:
More Complex XML:
Returns:
Simply change the
qparameter with yourlatitude,longitude.Note that the free version of the Google Maps API has a limit of 15,000 request per IP address per day. (Google Maps API FAQ)
If you are planning to heavily use Google’s reverse geocoding services, you may want to consider using the Premier edition of the Google Maps API.
The Premier API automatically comes with “advanced geocoding capabilities with greater volume and speed“, so the limitations of the standard API should be superseded by new quotas.
As an additional side-note, according to one unofficial source (dated April 2008), the cost for the Premier API starts at USD 10,000 per year.