[mkgmap-dev] bug in SeaGenerator ?
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Apr 16 09:20:47 BST 2014
Hi WanMil, please check: SeaGenerator contains to places with this loop: for(String tag : w) if(tag.equals("name") || tag.endsWith(":name")) w1.addTag(tag, w.getTag(tag)); This will not work, because tag will contain the complete tag, something like "name=XYZ" or "name:de=Rügen" Attached patch changes the code so that it works, but maybe it is better to remove the lines? I found no change in the output when using the patch. Gerd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140416/25764228/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: SeaGenerator.java.patch Type: application/octet-stream Size: 1567 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140416/25764228/attachment.obj>
- Previous message: [mkgmap-dev] Commit: r3190: code spring clean: The static field DirectoryEntry.ENTRY_SIZE should
- Next message: [mkgmap-dev] bug in SeaGenerator ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list