logo separator

[mkgmap-dev] Commit: r1189: Remove the priority setting from the GType.

From Torsten Leistikow de_muur at gmx.de on Mon Sep 14 15:37:02 BST 2009

Moin,

svn commit schrieb:
> Version 1189 was commited by steve on 2009-09-13 17:12:34 +0100 (Sun, 13 Sep 2009) 
> BRANCH: style
> 
> Remove the priority setting from the GType.
> 
> It should be associated with the rule, so that we can order
> the rules before running them.

Will your change also allow the generation of multiple garmin elements
from a single OSM element? I would guess so, since if we want to run
multiple actions than there shouldn't be anything against multiple
conversions.

One minor point I noticed in the old style code: Right now a rule with
an "or" as the main operator in the tag list is split into two seperate
rules. This works ok, if only the first rule with matching tags is
applied. If we apply multiple rules, this seperation can result in
actions performed twice or the double creation of map elements. Not
really a big issue, but when you are in this area anyway, you might want
to fix this too.

Gruss
Torsten



More information about the mkgmap-dev mailing list