[Talk-GB] More NaPTAN Counties Uploaded - Bristol and Cheshire East

Thomas Wood grand.edgemaster at gmail.com
Tue Sep 15 08:36:50 BST 2009

Sorry for the delay in getting back, the end of last week was marred
by not being able to get online.

Anyway, I have now imported West Yorkshire (more on this in a bit),
Torbay and Thurrock.

W.Yorks caused me a lot of problems:
1) naptan:Notes was populated, often with strings greater than 255
characters long. I hadn't counted on such verbose descriptions, so had
to include a check for it.
2) They seem to use * as a null field representation, rather than the
single space or -, which I was already filtering out. I didn't notice
this until the data was imported.
3) The code I had to parse out the local_ref from the Indicator field
was broken, truncating the last two digits off all the W.Yrks
local_refs (which are a subset of the AtcoCode, incidentally)

To solve issues 2 and 3, I had to fix the script and then do a messy
'patch import', this is why all the W.Yrks data is showing as version
2, rather than the standard version 1 for objects.
*** Those who are doing analysis of edits to the data should take note
of this. ***

2009/9/11 Mark Williams <mark.666 at blueyonder.co.uk>:
> Peter Miller wrote:
>> On 10 Sep 2009, at 21:00, Mark Williams wrote:
> []
>>> When I voted for Essex I had hoped that all of Essex might turn up,
>>> but as far as I can see it's excluded Thurrock, a little unitary
>>> authority in the S.W. corner - which is, naturally, the bit I wanted...
>> To be clear, the import request log is by administrative county.
>> Thurrock unfortunately for you is only in the ceremonial county of
>> Essex, for administrative purposes it is a separately place. If you add
>> your signature to Thurrock in the list then I am sure it will be imported!
> Hmm. Done.. I wish I'd known earlier that it wasn't included though,
> because I'm going to have moved before it gets much attention. Oh well.
> I was a bit confused by relations poking into Thurrock which made it
> look part-done, so there has been some misplaced patience happening!
> Thanks.
> Mark
> _______________________________________________
> Talk-GB mailing list
> Talk-GB at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-gb

Thomas Wood

More information about the Talk-GB mailing list