[Talk-us] TIGER corrections

Dave Hansen dave at sr71.net
Thu Jul 9 20:31:57 BST 2009


On Wed, 2009-07-08 at 17:55 -0700, Dave Hansen wrote:
> On Wed, 2009-07-08 at 17:08 -0700, Alan Mintz wrote:
> > 1. Short road "N Laurel Ave" (way 7497408) ending at a T-intersection into 
> > "W 18th St" (way 7516644). TLID is 144674357. The node at the "T" has TLIDs 
> > 144674357:144674376:144986081, which is fine - the two segments of "W 18th 
> > St" that join the T are 376 and 081. However, the node at the south (dead) 
> > end of the road has the same TLIDs (144674357:144674376:144986081) instead 
> > of just 357.
> 
> It looks like you found a genuine bug in the way I stored the tlids.
> Lemme see if I can track it down and figure out how to work around it.

Man, this was a crappy bug.  Basically I used a reference when I should
have used a copy of each node's tags.

This causes all nodes that are created as part of a feature to share a
copy of tags.  Any nodes that were created as part of older features
will have the new tags merged into them.  But *all* of the nodes that
were part of the older feature are inadvertently modified.  Urg.

It *is* fixable to some degree.  I can re-run the generation scripts and
remove the superfluous TLIDs from the nodes.  But, that's going to be
quite a bit of work.  I probably need to think about better solutions
than that.

-- Dave





More information about the Talk-us mailing list