[Talk-GB] Land Registry postcode tool now running

OpenStreetmap HADW osmhadw at gmail.com
Sat Sep 28 09:52:25 UTC 2013


I've just noticed (changeset 18037116) someone using this Land
Registry data search tool to actually populate, rather than simply
flag for re-survey postcode data.  Given that the Land Registry
require a copyright notice, and, unlike OS Open Data, there is no such
copyright notice on OSM, is this usage actually legal?

I also note that the source is only given as a changeset comment, not
a source tag.

-- Reply Message --
Nick Allen nick.allen.54 at gmail.com
Thu Sep 13 10:29:23 BST 2012

Matt,

Thanks for your work on this.

I've had a little play & it looks ideal for my purpose & you should
see an improvement in the BR8 area as a direct result.

If your not doing it already, could you put somewhere on the front
page when the data was updated. My initial plan is to have one session
a month correcting & adding postcodes, but you may get other views.

Regards

Nick (Tallguy)
Sent from my HTC

----- Reply message -----
From: "Matt Williams" <lists at milliams.com>
To: "Talk-GB at openstreetmap.org" <talk-gb at openstreetmap.org>
Subject: [Talk-GB] Land Registry postcode tool now running
Date: Thu, Sep 13, 2012 01:00


Hi all,

During the discussion about the Land Registry 'Price Paid' database
discussions I promised that I'm put together a tool to make it more
useful. As such I've now got working (to a state I'm happy with) a
sub-website on my Postcode Finder to provide an interface to that
data.

Currently running at
http://milliams.dev.openstreetmap.org/postcodefinder/landregistry/
(there's no public link to it yet so you'll have to bookmark it) it
does the following:

Given a postcode (or postcode fragment) it finds all the houses in the
Land Registry database and tries to match each of them up to an
address in my Postcode Finder database.
If it finds a match it classifies it into one of three classes:
 - The postcode matches between OSM and the Land Registry
 - The postcode doesn't match
 - There's no postcode

If you perform a search (like
http://milliams.dev.openstreetmap.org/postcodefinder/landregistry/search/?postcode=CV4+8)
you see that I've sorted the classes by 'importance' order so wrong
postcodes are first, followed by missing postcodes. Then the ones that
couldn't be matched to any address and finally the perfect matches.

Give it a try yourself. It should be able to handle anything from
"CV4" level (will take around 10 seconds to load (probably more for
big cities like Birmingham and London) down to "CV4 8DU". It will
almost certainly struggle if you try to put in "B" or something big
like that. If you want to search for all the "B1" postcodes but
exclude "B10", "B11" etc (since that would be a very slow query) then
just put a space after it in the search box ("B1 ") or a plus in the
URL ("?postcode=B1+"). It's probably best to only give it as specific
a postcode as is possible ("XXN N" is quite quick) to keep the load
low on the dev server.

There's still some things I want to do with it but it's now in a
workable state. The data from the OSM database is a few days old now.
I'll wait for Geofabrik's ODbL extracts to be released before I update
again.

It should also be possible for me to extend the service to include and
data source which contains "house number; street name; postcode" so
I'll look into that in the future.



More information about the Talk-GB mailing list