Re: [mkgmap-dev] [PATCH v1] Rework of inc/access

2014-04-18 Thread Gerd Petermann
Hi WanMil, okay, if you don't want to add two ways, please make sure that access=private also sets mkgmap:truck=no Gerd > Date: Fri, 18 Apr 2014 11:20:02 +0200 > From: wmgc...@web.de > To: mkgmap-dev@lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] [PATCH v1] Rework of inc/ac

Re: [mkgmap-dev] [PATCH v1] Rework of inc/access

2014-04-18 Thread Gerd Petermann
Hi WanMil, did not try it, but my understanding is that it should select the detour because the target is not on the road 1 - 2. Gerd > Date: Fri, 18 Apr 2014 11:20:02 +0200 > From: wmgc...@web.de > To: mkgmap-dev@lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] [PATCH v1] Rework o

Re: [mkgmap-dev] [PATCH v1] Rework of inc/access

2014-04-18 Thread WanMil
Hi Gerd, Hi WanMil, besides the error reported by Stéphane here are my 50 cents after a first compare with the unpatched default style: I am not sure, but I think tags like vehicle=private, motor_vehicle=private etc. should not set mkgmap:emergency=no My interpretation regarding routing is th

Re: [mkgmap-dev] [PATCH v1] Rework of inc/access

2014-04-17 Thread GerdP
Hi WanMil, besides the error reported by Stéphane here are my 50 cents after a first compare with the unpatched default style: I am not sure, but I think tags like vehicle=private, motor_vehicle=private etc. should not set mkgmap:emergency=no My interpretation regarding routing is that it is e

Re: [mkgmap-dev] [PATCH v1] Rework of inc/access

2014-04-17 Thread Stéphane MARTIN
Hi, Error in style: Error: (inc/access:31): Unrecognised command 'bus' Found one style in ../styles/default/ line 31: psv=*{ add taxi='${psv}'; bus='${psv}'; } I replaced with : psv=*{ add taxi='${psv}'; add bus='${psv}'; } and I obtained a lot of lines to the st

[mkgmap-dev] [PATCH v1] Rework of inc/access

2014-04-17 Thread WanMil
Hi, attached is a reworked inc/access file. It now uses a 1:1 assignment between OSM tag and mkgmap access tag: foot=* { set mkgmap:foot='${foot}' } bicycle=*{ set mkgmap:bicycle='${bicycle}' } motorcar=* { set mkgmap:car='${motorcar}' } goods=* { set mkgmap:delivery='${goods}'