[Imports] Fwd: [Talk-us] [Talk-ca] TIGER considered harmful

Anthony osm at inbox.org
Tue Nov 17 03:17:11 GMT 2009


On Mon, Nov 16, 2009 at 9:57 PM, Anthony <osm at inbox.org> wrote:
> On Mon, Nov 16, 2009 at 9:45 PM, Richard Weait <richard at weait.com> wrote:
>> What if the numbers are not sequential along the length of the way?
>
> So a road goes 1-99, then 199 to 101?  I guess the best solution would
> be to split the way.

Actually, running a few examples, I just don't see the problem.  1
(right), 2 (left), 99 (right), 100 (left), 200 (right) 199 (left), 101
(left), 100 (right), 201 (right), 202 (left), 299 (right), 300
(right)...  It's unambiguous.  If your number isn't directly on a
node, you find the two closest numbers that the answer is between.
Then you interpolate from the smaller to the larger of those two
numbers, and forward is the direction in which the numbers go up.

Anthony




More information about the Imports mailing list