Hi all,

I have an idea how to support the evaluation of the addr:place tag.
I first thought this can all be done with a few rules in the style, but it 
seems that
 the boundaries don't contain the hamlet boundaries, so it is difficult to find 
the 
matching names for streets and nodes.

Idea:
Step 1:
- collect all nodes with addr:housenumber=* and addr:place=* and addr:street!=*
- collect all nodes with place=hamlet and name=*
- collect all unnamed roads 
Step 2:
For each hamlet, calculate the area (bbox or maybe a circle) containing the 
corresponding 
addr:place nodes (the place=hamlet nodes should help in case that there are two 
or more
hamlets with the same name in one tile)
Step 3: Find out the unnamed streets in these areas. Give them the name of the 
hamlet
and interpret the addr:place tag in the nodes like mkgmap:street (using the 
normal housenumber
routines)

Is anybody interested in that?

Gerd


                                          
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to