logo separator

[mkgmap-dev] [PATCH V2] stop/continue scheme extended to style-rules without conversion

From Steve Ratcliffe steve at parabola.me.uk on Tue Sep 1 22:02:04 BST 2009


On 01/09/09 17:36, Torsten Leistikow wrote:
> Moin,
>
> I have to admit, that I have didn't quite understand the processing of
> the action part of the style rules, when I made the first verwion of the
> patch. And I also have to admit, that I still do not really understand
> it. But nevertheless the new version of the patch seems to work for me
> under certain conditions.

They are run during matching which is why they are run in an arbitary
order.

This is a problem, but on the other hand if they are not run first,
then it is not possible to use an action to change what is matched
later on.  Everyone relies on this quite heavily it seems.

I think what we will have to do is create separate lists
of actions and rules. Create a list of all matched actions
and run them in the correct order first and then do the
type rules.

..Steve



More information about the mkgmap-dev mailing list