Mo Majad


Just written up a mini project of mine, it has been the case for individuals that cannot afford MapPoint costs in implementing reverse geocoding on their map websites. Although I would strongly advise companies/developers that can afford it to use MapPoint as there is so much more to this product then just reverse-geocoding.

VoyageMap.com is a travellers website that allows users to post reviews about locations [see Angola, Africa]. By right-clicking on map they can post review about the nearest city with > 1000 residents. [all locations can also be used if you have the database space]

This is done by utilising the easily available GeoNames database of locations [great thanks to these guys]. This is downloaded/imported into the local database and when user right clicks on map the LatLon values are sent to server to bring back nearest 3 cities to write review about.

I will be writing up a viavirtualearth article [courtesy of SoulSolutions] to explain this process in more detail.

regards

Mo




Re: Reverse geocoding without MapPoint

SoulSolutions


I look forward to the article Mo. I think many people will find it very useful.

John.







Re: Reverse geocoding without MapPoint

Mo Majad

Hi John, can you email me the article template you mentioned in a previous post please

footprint at VoyageMap.com

regards

Mo






Re: Reverse geocoding without MapPoint

SoulSolutions

On its way Mo.

For anyone else that wants to get envolved we are rebuilding the site starting this week (today actually) to make it more easy to do this, rather then a html template to follow and having to wait for me to upload it and tweak it, I will be able to give you a page online and permissions to upload images and content without a middle man. Stay tuned for first look at the new site in a few weeks. I'm keen for as many people to contribute as possible and features to make this possible.

John.






Re: Reverse geocoding without MapPoint

Derek Chan

In addition, someone had conveniently posted the link to a free reverse geocoding service at:

http://www.freereversegeo.com

It only works for US locations but you basically pass in a querystring to the service and it returns you an XML feed with lat/longs and address information.

eg: Pass: http://freereversegeo.com/api.php lat_1=33.448263&lng_1=-112.074090&lat_2=33.444263&lng_2=-112.070090

returns:

Code Snippet

< xml version="1.0" encoding="ISO-8859-1" >

- <points>
- <point_1>
<lat>33.448263</lat>
<lng>-112.074090</lng>
<address>32</address>
<address_range>000-100</address_range>
<street>W Washington St</street>
<city>Phoenix</city>
<zipcode>85003</zipcode>
<state>AZ</state>
<lng_intercept>-112.074086</lng_intercept>
<lat_intercept>33.448529</lat_intercept>
<error_distance>0.000266</error_distance>
<error_percent>1.953190</error_percent>
</point_1>
- <point_2>
<lat>33.444263</lat>
<lng>-112.070090</lng>
<address>474</address>
<address_range>400-500</address_range>
<street>S 3rd St</street>
<city>Phoenix</city>
<zipcode>85004</zipcode>
<state>AZ</state>
<lng_intercept>-112.069901</lng_intercept>
<lat_intercept>33.444443</lat_intercept>
<error_distance>0.000261</error_distance>
<error_percent>1.919118</error_percent>
</point_2>
</points>

Would anybody find this service useful and would like an article on how to consume this free service






Re: Reverse geocoding without MapPoint

Mo Majad

Hi Derek, Geonames do a worldwide location webservice as well for those that need a outside US lookup.

Find nearby place name / reverse geocoding

Webservice Type : REST
Url : ws.geonames.org/findNearbyPlaceName
Parameters : lat,lng, radius: radius in km (optional), maxRows : max number of rows (default 10)
style : SHORT,MEDIUM,LONG,FULL (default = MEDIUM), verbosity of returned xml document
Result : returns the closest populated place for the lat/lng query as xml document
Example:
http://ws.geonames.org/findNearbyPlaceName lat=47.3&lng=9

This service is also available in JSON format :
http://ws.geonames.org/findNearbyPlaceNameJSON lat=47.3&lng=9

regards

Mo





Re: Reverse geocoding without MapPoint

Let's Go Outside

I used GeoNames for a bit before we switched to MapPoint. It gets the job done if you're doing lower volume and just need basic info. Its "FindNearby" ability is really handy if you do any zip-based lookups. MapPoint's speed, quality of returned data, and seemingly infinite options make it way to go, though, if you're building something more complex or higher volume.