logo separator

[mkgmap-dev] Access Tags - is mkgmap also evaluating values other than no (e.g. delivery, destination, forestry, agricultural, permissive...)

From Felix Hartmann extremecarver at googlemail.com on Wed Oct 14 11:27:15 BST 2009


Chris-Hein Lunkhusen wrote:
> Felix Hartmann schrieb:
>
>   
>> Well, if you said not only =no has an effect, what happens to
>> access=destination or access=private - AFAIK Garmin only accepts yes or
>> no, so which of the values (permissive, private, delivery...) is taken
>> for "no". Or put differently, which value other than "no" will block the
>> road for a given mode of transport?
>>     
>
> Hi Felix,
>
> I think you have to do it in the style file.
>
> In my style there is one single line for this :
>
> # Access
>
> highway=* & (access=private | access=destination | motorcar=destination
> | motor_vehicle=destination | access=agricultural) {add motorcar = no}
>
> and this works well for me. As you see I block only cars, but
> that's what I want. ;-)
>
>   
Of course I know that I have to do the "quoted" in my style-file. But to 
do exactly this it would be good to have some tags deleted beforehand / 
ignore list where I can list all tags I want to be ignored (like 
motorcar=no; motorcycle=no; psv=no;...)
The problem as we know is that action rules are only matched on one way, 
so putting the "Access" rules as action rules might not work if there 
are other rules enacted on the same way!

My action rules are already 3000 lines long to catch as many 
possibilities as possible. Adding access into this means 3000³ lines 
only for action rules in the lines file and would crazily slowing down 
mkgmap.
> Chris
>
> _______________________________________________
> 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/20091014/d028fa7d/attachment.html 


More information about the mkgmap-dev mailing list