Loomio

Next Quarterly Project Apr May Jun 2018

Brian Prangle PublicSeen by 38

I think this should be Post Offices

Rationale:
Robert Whitaker has an up to date data reference and also has a fabulous set of tools to update the data in OSM and for measuring progress.

The Post Office estate has been subject to a lot of churn with closures and moves so it's a good time to get out and about verifying our data which probably doesn't reflect today's estate

Post Offices are seen by communities as vital resources so we might get a response similar to the schools project.

We don't have much to do to get a complete dataset represented in OSM (about 4,000 Post Offices in the PO dataset aren't matched to an OSM object)
The dataset icludes addresses with postcodes so we'd be improving our address dataset at the same tme

Dennis Bauszus

The Post Office is actually our client and we have a list of all current post offices. This is open data. The issue is as so often that OSM doesn't allow batch edits / uploads.

Dennis Bauszus

We are doing the consultancy work in regard to the recent and proposed closures. So we have the most up to date list of all locations.

Robert Whittaker

It would be great if there's support for improving the Post Office coverage. Given the trouble I had to go to to get the Branch list under the OGL, I'd be surprised if Dennis is able to release what he has as Open Data -- but then stranger things have happened! Assuming it's from the same underlying systems as the list I have, I'm not convinced the location and address data is good enough for a direct import. (~10% of locations are out by >100m -- see http://robert.mathmos.net/osm/postoffice/distant-matches.html , and the addresses are hard to parse and usually don't contain the business name for branches inside shops.) I also think that somewhere around 5% of the claimed matches in my tool are actually incorrect because of branches moving a short distance down a road. However, the data does have a primary key, so if we can verify matches and add the ID numbers to OSM, it will help with any future automated updates / checking.

Dennis Bauszus

tl;dr: https://geolytix.xyz/open/?country=UK&layers=base,label,post_office&lat=53.46843072001161&lng=-3.2464599609375004&z=7&select=A!post_office!post_office!5266!-0.067753259329427;51.5845704632359
Disclosure. We don't work with rooftop matches but match the postcodes of a branch to the nearest code point. You get a list of all the current branches here http://www.corporate.postoffice.co.uk/modernising-post-office. I just downloaded this morning the current code point dataset from the Ordnance Survey. You get this here: https://www.ordnancesurvey.co.uk/business-and-government/products/code-point.html. I matched the the postcode of a post office to the code point postcode. I don't have the codepoints for the Northern Ireland branches. Anyhow, I just loaded the data as a cluster layer into my open source framework which I am developing. I was actually about to write about clustering this weekend and the dataset is perfect for a demo. The link is above, my local post office selected and the location is spot on. Clustering isn't perfect yet as I am currently working on this. Different layers will be highlighted if you don't copy the complete link which has some hooks for layers and selection.

RobJN

Post Offices sound ideal 👍

The issue is as so often that OSM doesn't allow batch edits / uploads.

Hi @dennisbauszus.

A clarification: It's not a case of "doesn't allow" but rather is suspicious of batch edits / uploads. With a bit of work then there is no reason why a batch edit / upload cannot go ahead. Much of this upfront work relates to understanding the data. I hadn't realised that you work for Geolytix and therefore have all of this knowledge about the data. Have you considered using the OSM Conflate tool to see if it is possible to add this data in to OSM?

Dennis Bauszus

I am not aware of the conflate tool as I am not really working on the data side but more on the web development interface. A colleague has recently setup a OSM Overpass server in our cloud which I hope to make public soon. I will forward the information in regard to the conflate tool to him.

Robert Whittaker

The branch list that Post Office Ltd post at http://www.corporate.postoffice.co.uk/modernising-post-office is always between 6 and 18 months out of date, and post-code centroids won't be accurate enough for automatically locating new points in OSM. The data I got at http://robert.mathmos.net/osm/postoffice/data/ is more recent and has individual locations. (But around 10% may be off by more than 100m, so still not that good.)

I think it would be great to make use of the Retail Points data from Geolytix. The last time I looked at this though, the licence was based on the (now defunct) Ordnance Survey OpenData Licence / OGL v1.0, which is incompatible with OSM because of the sub-licence attribution clause, and IIRC some other technical restrictions on re-use. Has/can the licence be updated to the OGL v3?

Dennis Bauszus

I will ask the account manager for the post office project whether they are willing to release more accurate locations for use in OSM. I don't think this will be a problem. The problem is often lack of awareness rather than trying to block the inclusion of data.

Robert Whittaker

I'm seeing a PDF file with "This​ ​license​ ​governs​ ​your​ ​access​ ​to​ ​and​ ​use​ ​of​ ​Geolytix​ ​Retail​ ​Points​ ​made​ ​available​ ​at www.geolytix.co.uk​​ ​by​ ​Geolytix​ ​Ltd. It​ ​incorporates​ ​the​ ​Open​ ​Government​ ​License​ ​for​ ​public​ ​sector​ ​information,​ ​see​ ​below​ ​and http://www.nationalarchives.gov.uk/doc/open-government-license/​​ ​which​ ​is​ ​varied​ ​by​ ​the​ ​following terms:" The OGL v3 licence itself is fine, but it's those extra terms that are problematic for OSM. I believe they're probably there be there as a result of the previous OS OpenData Licence (which included similar variations). OS decided to switch to the plain OGL v3 for their OpenData a couple of years ago, and I believe that users of previously obtained OS OpenData can also re-licence anything based on that under the (unvaried) OGL v3 if they so wish. If you can switch to using the plain OGL v3 without any modifications, then everything should be fine. (You can still include whatever attribution statements you need, without actually modifying the licence itself.)

Robert Whittaker

Re Post Office data, I believe that the location coordinates I've got in http://robert.mathmos.net/osm/postoffice/data/ are the best that Post Office Ltd have in their systems. The only issue with that dataset is that POL only want to provide updates once a year. (My understanding is that this is an admin/process thing, rather than because of any desire to ensure the data isn't up to date. So if someone else can do the providing for them, I don't think they'd object.)

RobJN

On (Robert's) post office data: do you have any view on the accuracy of the remaining data? The OSM conflate tool can be run based on a distance threshold so we could use that as a first pass to pick up the easy matches. Either that or your tool's matching results if possible to convert to an OSM file (just high quality matches).

This would allow us to focus on mapping missing features (fun) rather than tag updates to existing features (less fun).

Cheers,
Rob

Robert Whittaker

There seems to be three groups as far as locations are concerned. Most are pretty much spot on (e.g. within a few metres), some are slightly further away (up to 100m) but still roughly correct, and a few are much further out. At least some of the latter are due to a branch moving and POL not updating the location. My worry about using automated matching is that it would incorrectly match old locations in the last case. It also might incorrectly match an old OSM location to a correct new location, where the banch has only moved a couple of doors down the street (which isn't that uncommon).

Gregory Marler (former Director)

For quarterly projects, I like ones that have a vague element/extension. So it's still a project if the local PO is already mapped.

If post offices(and shops with post offices) are the project...

When you visit your post office, check what's also near it. Is there a phone box, or some shops that need adding too?

Is there a suitable armchair extension too?

Robert Whittaker

Are we going with post offices then? If you want an arm-chair extension, maybe adding building outlines from aerial imagery in the vicinity of each PO would do.

RobJN

Yes we shall go with post offices. Thanks.

RobJN

Have posted this to talk-gb and will put in in the next OSM UK newsletter when we send that :-) Happy mapping.