UK Geocoding for Drupal

Interactive maps can be really effective ways of visualising information with a geographic compotent. For example, if you want to find participation workers near you making use of Hear by Right, the Local Network Map lets you see who is around far easier than any listing would.

Up until now, finding out the co-ordinates of a UK address to be able to plot address-linked information onto a map either meant paying a lot to commercial providers for access to a postcode or address database that could tell you – or putting (as the HbR Local Network Map does) with being accurate to within one or two miles by using free postcode databases and geocoders.

No more.

The lovely people at Google have somehow managed to get around the prohibitive costs to provide free UK geocoding giving street-level accuracy.

This makes a big difference to the sort of non-commercial geo-information services it could now be possible to provide for the UK. I'll certainly be looking again at whether we can finally exlore getting a good UK Fairtrade Map system working for local Fairtrade Town Campaigns.

Geolocating the UK in Drupal

Given my firm belief that the best possible Content Management System for almost all forms of web-application has to be Drupal, I've created an update for the Drupal Location Modules UK include files here which makes use of the new UK google geocoding.

Combined with my generic fallback patch which uses the fantastic geonames service to make sure Drupal returns a location wherever possible, this means worldwide geolocation coverage can be very workable indeed.

Still a way to go

Even though Google have made UK geocoding available to the masses, there is still a long way to go before we can really get the full benefit of UK geodata without being saddled with prohibitive costs. Even with the fantastic efforts of Open Street Map we still have no country-wide mapping data that anyone can freely print off to create a local community map, or to use for creative applications. Citizens continue to be charged stiffling fees for accessing public data. For more on the need to bring in big changes to the way public geodata and other data is managed – keep an eye on the Free Our Data blog here.

3 thoughts on “UK Geocoding for Drupal”

  1. You care about social justice and you’ve done a great deal of thinking and work on location and mapping… any advice for the World Social Forum 2008 call for action site being able to let people put in exact locations a) easily and b) everywhere? In Drupal of course.

    Maybe even in a way to lay a bit of groundwork for open geodata…

    Thanks! Agaric Design Collective contact form

  2. Hi Tim, Great work on that integration. Does your patch for the Drupal Location Modules UK include files still work though?

    I had it working for a while on my site, then it died, its possible the latest update to the gmaps module has stopped things working.
    Can you confirm.

    Thanks

    Nigel

  3. Hey Nigel

    Thanks for the feedback. I’ve not tested it recently, so I’m not sure. It should only really be affected by changes to location module iirc, as it bypassed the gmaps module.

    I won’t have chance to look for a couple of weeks, but if I find anything I’ll drop it into the issues section for the location project at http://drupal.org.uk/project/location

    All the best

    Tim

Comments are closed.