Steve Ratcliffe wrote:
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.
Yeah that would sound better.

I have not looked yet at the new patch, the thing needed desperately is to run the rules in several runs so that one can build up on previous rules, i.e have several rules that affect the name setting of the same street run one after another)

However we should be able to use different names for the global index once it's implemented. So if searching for an address the streetname ist just the streetname and not attributes added to it. However I know of course that the address index is still a long way to go...

Felix
..Steve
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to