logo separator

[mkgmap-dev] bug report - mkgmap processing of addr: tags

From Charlie Ferrero charlie at cferrero.net on Sun May 1 09:30:56 BST 2011

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



More information about the mkgmap-dev mailing list