logo separator

[mkgmap-dev] Problem with names of relations

From Roger Calvert roger at rogercalvert.me.uk on Wed Sep 26 12:04:59 BST 2012

I have identified what I think may be a minor bug in mkgmap:

If a relation has the same name as one of its components (or perhaps any 
name), the name of the component is lost.

I identified this on way 4798060, a small lake called 'High Dam'. 
Because there are islands in the lake, it is the outer component of 
relation 1369084, which also had the name 'High Dam'. Following mkgmap 
processing, the lake came out with its default name 'Reservoir'. 
However, when I removed the name from the relation, it came out with its 
correct name. (It appears correctly on OSM renderings such as mapnik).

I am afraid I have already edited the relation name out on the OSM 
source, so others cannot test this directly. But I have verified the 
behaviour by manually editing a small local extract of the area.

Another (minor) fault which would probably be easy to rectify: if the 
destination file is open in MapSource when mkgmap runs, it crashes 
(understandably), but leaves a number of temporary files around. Could 
these be deleted when the exception is processed?

Roger
-- 
------------------------------------------------------------------------

Roger Calvert
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120926/08a31fb7/attachment.html 


More information about the mkgmap-dev mailing list