logo separator

[mkgmap-dev] Commit: r1235: Fix hang on continue action.

From Torsten Leistikow de_muur at gmx.de on Wed Sep 30 20:46:07 BST 2009

Moin,

I tried out the latest version of the style-branch with the attached
style on a small example map, and the result looked quite good.

I just noted one problem: If  you have a combined action and conversion
rule with a continue statement, then the action part is not performed
for the following conversion rules. Example:

An element has the following tags:

highway=crossing and crossing=zebra_crossing

Now with the following two rules

highway=crossing & crossing=zebra_crossing {set
highway=deleted_crossing} [0x4004 resolution 24 continue]

and

highway=crossing [0x610f resolution 24 continue]

two elements are created on the map (0x610f and 0x4004).

My idea of the continue-statement would mean, that only the first
element should be created, because afterwards the second rule isn't
matching anymore.

Gruss
Torsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topo_v004.zip
Type: application/x-zip-compressed
Size: 7179 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090930/2708248d/attachment.bin 


More information about the mkgmap-dev mailing list