logo separator

[mkgmap-dev] routing / address search: What makes a road (, house number, etc.) belong to a city (, country, etc.)

From Lambertus osm at na1400.info on Tue Apr 21 08:46:31 BST 2009

Gernot Hillier wrote:
> Hi there!
> 
> Lambertus wrote:
>> Mark Burton wrote:
>>> I haven't thought about general address info but relations sound useful
>>> because you could use a relation to associate a bunch of houses with a
>>> street, or a bunch of streets with a place.
>> Linking every street within a place together into a place relation, idem
>> for places within municipality's, idem for municipality's within
>> provinces, idem for provinces within countries, idem for ...
>>
>> What I'm illustrating is that using relations for this type of
>> information is far from optimal imho. We already have coordinates for
>> each object so determining if an object is within a
>> place/municipally/province/country seems a much better approach to me.
> 
> Sorry, but I'm not sure I really got your point. You suggest to use
> place polygons, right? If yes: +1! :-)
> 
I see I wasn't clear enough. Yes, using polygons is what I meant.

> However, this won't work for house numbers as polygons for streets
> definitely make no sense - especially taking into account how weird the
> houses of a street are spread in many places...
> 
Well, I'm not familiar with the Karlsruhe schema and other house 
numbering scheme's but I reckon the house numbers will eventually be 
linked to a way? Using the polygons you can lookup in which place the 
way is, and voila!



More information about the mkgmap-dev mailing list