[OSM-talk] address interpolation

Tobias Knerr osm at tobias-knerr.de
Fri Oct 2 10:19:55 BST 2009

Peter Körner wrote:
>> But, when you see an interpolation "25 to 25c". How do you know that this
>> means "25, 25a, 25b, 25c"? You again remove the number. That gives you the
>> first entry. But what happens then? 
> You count to the end of this interpolation-way (there are 4 nodes in, 1 
> is the start and 1 is the end, so 2 in between) and substract this 
> number (2) from the last char (c).

What you have is a way with _two_ nodes: start and end node. The first
node has an addr:housenumber=25 tag, the last node =25c. The last node
could also be addr:housenumber=25f. The number of houses represented by
an interpolation way doesn't have anything to do with the number of
nodes in the way.

Tobias Knerr

More information about the talk mailing list