->

18 December 2006

Free Simple UK Geocoding Searches - via Google

Mapperz is asked a lot about UK Geocoding and Address Geocoding.

The Google Maps API will Geocode Addresses but due to "Contractual Reasons" they are not allowed to provide it for the United Kingdom. But Google does have this information available to you and yes you can retrieve it with simple google searches via Google Maps.

Here is a very basic request
using Google Maps (UK Version)

An address Search term

"10 Downing Street, London"

Gives you this result

UK Geocoding via Google Maps
Click "Link to this Page" will give you a long url


http://maps.google.co.uk/maps?f=q&hl=en&q=10+Downing+Street,+London
&sll=53.098145,-2.443696&sspn=6.97008,17.512207&ie=UTF8&;z=16
&ll=51.503253,-0.127544&spn=0.007052,0.02414&om=1&iwloc=addr


ignore the first Latitude and Longitude and take the second pair.

you can also add zoom levels

http://maps.google.co.uk/maps?&z=17&ll=51.503253,-0.127544
will zoom in to street level.

This can be also exported to a kml and be viewed in Google Earth.
http://maps.google.co.uk/maps?&z=17&ll=51.503253,-0.127544&output=kml

This will create a .kml and ask you to open it or save it.
If you save it - this can be renamed .xml for use in other applications etc.


If your a programmer you can batch this up to make an address database free of charge.


For Real Programmers this looks to be an excellent source for on the fly geocoding

geopy includes geocoder classes for MediaWiki (with the GIS extension), Semantic MediaWiki, the Google geocoder, the Yahoo! geocoder, geocoder.us, Virtual Earth, and GeoNames.

Labels: , , , , ,

2 Comments:

At Tuesday, May 29, 2007 3:59:00 am, Blogger Chas said...

I tried this at maps.google.com, but it did not work. The second set of Lat/Long in the URL was hundreds of miles away from the address.

 
At Tuesday, February 05, 2008 3:03:00 pm, Blogger Unknown said...

What is the legality of this method?

 

Post a Comment

<< Home