Mapit

Average: 2.3 (11 votes)

Developed by: 
mySociety

MaPit is mySociety's database and web service that maps postcodes and points to current or past administrative area information and polygons for all the United Kingdom. It has been rewritten from the ground up in GeoDjango and PostGIS, providing us with a large array of improvements including speed, a lovely admin interface, and much easier updating. The source code is available on GitHub.

Apps submitted to data.gov.uk are currently approved for publication on the general level of their context and appropriateness. Whilst we review these on a periodical basis, we do not own responsibility for the regular update and maintenance of these apps. Any queries about individual apps or tools published need to be directed to the originator.

Comments

Great stuff, but ...

... how about making your aggregated postcode dataset available in a form that would be usable by other developers?

I would like to implement a postcode to Westminster constituency lookup in a web app. Of course I could use the MaPit or They Work For You API web services that you generously make available, but then I'm using your bandwidth / CPU time and also introducing latency and an additional potential point of failure by making my app dependent HTTP requests made to your server(s).

I realise that I could build the required data set myself from the sources on your data mirror and your source code, but I'm not familiar with either Python or GIS stuff. Like many bog-standard web developers I am, however, comfortable with SQL RDBMS (specifically MySQL) and am principally interested in postcode to admin area lookups. So, what would be perfect for me would be data files that I could import into a series of related tables; a postcode table related to a series of tables holding admin area names. 

Might you consider doing this (presuming the source data licences allow for it)?

 Flag as offensive 

To the previous commenter

All the source code and datasets for MaPit are available, it's an Open Source app using open data.

Links to the source code and the underlying datasets are mentioned in the preamble at http://mapit.mysociety.org/

 Flag as offensive