On 19 October 2016 at 10:22, Jez Nicholson <[email protected]> wrote:
> Robert...are you going to rerun it? or set it to automatically rerun?

The OSM data for
http://robert.mathmos.net/osm/postcodes/osm-errors.html comes from
http://taginfo.openstreetmap.org.uk/ and it's currently the latest
available. At the moment, the updates are scripted but I have to
launch them manually. I haven't quite figured out what to do with
automating at the moment, but since it's quick and resource-light to
refresh the taginfo data, frequent updates are certainly possible.

To do some more interesting comparisons, one would need to get the
actual OSM data, so you could look at the locations of each
addr:postcode object, and compare this to the location in Code-Point
Open. Updates here would be more costly -- but that's something for a
later date.

By the way, running bots is not something I've ever tried and setting
something up to fix some of the obviously mal-formatted postcodes
probably isn't something I'll have time to look at any time soon. So
if anyone else wants to do this, please don't feel you'd be stepping
on my toes at all. In terms of automated edits, I'd certainly support
anyone stripping whitespace from the end of addr:postcode tags, and
changing multiple whitespace characters in the middle to a single
space. I'd probably also support the addition of a space to anything
that is a correctly formatted postcode with the middle space missing.
e.g. /^[A-Z][A-Z]?[0-9][0-9A-Z]?[0-9][A-Z][A-Z]$/, and the uppercasing
of anything that is correctly formatted, apart from the case of the
letters. These changes should fix most of
http://robert.mathmos.net/osm/postcodes/osm-errors.html#spacing and
http://robert.mathmos.net/osm/postcodes/osm-errors.html#case .

Robert.

-- 
Robert Whittaker

_______________________________________________
Talk-GB mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to