Hello,
There is a bug in the way mkgmap uses addr: tags to generate address
info for POIs. Specifically, if addr:street is not set, then mkgmap
will ignore addr:housename, even if it is set. However, if addr:street
is not set but addr:housenumber is set, mkgmap will process
addr:housenumber.
1) Example of bug
name:Frankie's
addr:housename=Cherry Cottage
addr:city=London
mkgmap processes this to
Frankie's
London
2) Example where things work as expected
name:Frankie's
addr:housenumber=Cherry Cottage
addr:city=London
mkgmap processes this to
Frankie's
Cherry Cottage
London
A workaround to this bug is to use the following additional style rule
in the points file:
addr:housename=* & addr:housenumber!=* & addr:street!=* {set
addr:housenumber= '${addr:housename}'}
But obviously fixing the bug would be nicer.
--
Charlie
PS I'm using mkgmap r1907
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev