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

2014-04-18 Thread WanMil
Hi Colin, I understand your argument that handling all other access tags (like mofa and moped) makes it easier for special purpose maps. But that means a drawback for performance: 1. mkgmap loads only those tags from the input files that are referenced from the style files 2. Additional rules

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

2014-04-18 Thread Colin Smale
It would make it easier for someone (a moped rider?) who wanted to make a special-purpose map for routing on his moped. The point I would like to make, is that once you have a central place for "country specific rules" (some may say "country defaults" but that may be a dangerous term to use in t

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

2014-04-18 Thread WanMil
Hi Colin, Another couple of examples of country defaults for NLD: cycleway: add mofa=yes; add moped=no mofa and moped are not supported with the default style so it makes no sense to add those rules. motorway/link: add bicycle=no; add mofa=no; add moped=no; add foot=no; add agricultural

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

2014-04-18 Thread Colin Smale
Another couple of examples of country defaults for NLD: cycleway: add mofa=yes; add moped=no motorway/link: add bicycle=no; add mofa=no; add moped=no; add foot=no; add agricultural=no; add maxspeed=130; Would it be more manageable to have a directory structure containing a small file per c

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

2014-04-18 Thread Minko
Wanmil, here are two examples of country specific rules. Maybe put them in one inc/access_country file so anyone can add their speific country rules to this file? # The Netherlands highway=trunk & mkgmap:country=NLD { add bicycle=no; add foot=no } highway=cycleway & mkgmap:country=NLD {

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

2014-04-18 Thread Minko
uot;Development list for mkgmap" > Verzonden: Vrijdag 18 april 2014 12:20:42 > Onderwerp: Re: [mkgmap-dev] [PATCH v3] Rework of inc/access > Hi Minko, > > we can create a second include file access_country with country > specific > rules. This file could be included from

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

2014-04-18 Thread WanMil
Hi Minko, we can create a second include file access_country with country specific rules. This file could be included from the access file. Once it is possible to use conditional includes it might be useful to easily enable/disable country specific rules. Do you want to post a first version o

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

2014-04-18 Thread Minko
Wanmil, how about country specific access rules? For instance only in the NLD's (and a lot more countries) add foot=yes on cycleways? http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access-Restrictions#The_Netherlands Of course I understand that this only works if the complete boundary

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

2014-04-18 Thread WanMil
Hi Gerd, yep thanks! There was a c&p error for hgv. Attached is the fixed patch v3. WanMil 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-d