logo separator

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

From Felix Hartmann extremecarver at googlemail.com on Tue Sep 1 22:07:54 BST 2009


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 at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090901/7ad6d5da/attachment.html 


More information about the mkgmap-dev mailing list