
Hi, in StyledConverter we use a HashMap originalWay to store changed ways. I did not find a reason for that. The attached patch simplifies the source a little bit by replacing the search in the HashMap with a simple compare of the way id. simplifyStyledConverter.patch <http://gis.19327.n5.nabble.com/file/n5749299/simplifyStyledConverter.patch> Gerd -- View this message in context: http://gis.19327.n5.nabble.com/patch-code-simplification-tp5749299.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi, got no response on this one, but I still think the patched code is better, so I'll commit it tomorrow if I here no complains. Gerd GerdP wrote
Hi,
in StyledConverter we use a HashMap originalWay to store changed ways. I did not find a reason for that. The attached patch simplifies the source a little bit by replacing the search in the HashMap with a simple compare of the way id. simplifyStyledConverter.patch <http://gis.19327.n5.nabble.com/file/n5749299/simplifyStyledConverter.patch>
Gerd
-- View this message in context: http://gis.19327.n5.nabble.com/patch-code-simplification-tp5749299p5751053.h... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (1)
-
GerdP