logo separator

[mkgmap-dev] [patch v1] don't route the highway=construction ways

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Oct 21 08:44:27 BST 2015

Hi Ben,


I've already mentioned that setaccess no will not work when the way has explicit tags

like bicycle=yes as it only sets the values prefixed with mkgmap:

The rules in inc/access will ignore this bec ause of this block which is evaluated later:

foot=*       { set mkgmap:foot='${foot}' }
bicycle=*    { set mkgmap:bicycle='${bicycle}' }
motorcar=*   { set mkgmap:car='${motorcar}' }
goods=*      { set mkgmap:delivery='${goods}' }
hgv=*        { set mkgmap:truck='${hgv}' }
bus=*        { set mkgmap:bus='${bus}' }
taxi=*       { set mkgmap:taxi='${taxi}' }
emergency=*  { set mkgmap:emergency='${emergency}' }


I think the docu for the "setaccess no" action is very clear, but its name is very misleading :-(

I think the only intended usage was in the rules which helped to use an old style (inc/compat_lines)


Gerd



________________________________
Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ben Konrath <ben at bagu.org>
Gesendet: Mittwoch, 21. Oktober 2015 09:28
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] [patch v1] don't route the highway=construction ways

For people who have issues with Gerd's implement (line is in NET but not in NOD): What do you think about my original suggestion of adding "setaccess 'no';" to highway=construction?

Thanks, Ben

On Tue, Oct 20, 2015 at 11:38 AM, Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>> wrote:
Hi Chris,
glad to see that you did not use the mkgmap: prefix ;-)

Gerd

________________________________________
Von: mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk> <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von chris66 <chris66nrw at gmx.de<mailto:chris66nrw at gmx.de>>
Gesendet: Dienstag, 20. Oktober 2015 10:52
An: mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] [patch v1] don't route the highway=construction       ways

Am 16.10.2015 um 20:46 schrieb Alexandre Loss:
> I agree also that "mkgmap:ignore-for-routing=yes" is more clear.

I used this tag already in OSM to mark isolated ways. :-)

https://www.openstreetmap.org/way/111674198#map=18/54.3354/8.5915

Chris



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto: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://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20151021/5caa3cf9/attachment.html>


More information about the mkgmap-dev mailing list