
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=no; add maxspeed=130;
agricultural is also not supported int the default style. Adding maxspeed in the access rules is not appropriate. It should be done in the roadspeed include.
Would it be more manageable to have a directory structure containing a small file per country, which is loaded (cached) on first use? Then we won't have to merge so many changes into the one big file as the usage of this facility spreads across the globe.
It's the same thing with the address include which exists since a long time. Anyhow the country specifc rule are not so numerous so that I think it's not worthy to create country specific include files. WanMil
Colin
On 2014-04-18 12:37, Minko wrote:
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 { add foot=yes } highway=bridleway & mkgmap:country=NLD { add foot=yes }
# Belgium
highway=trunk & mkgmap:country=BEL { add bicycle=no; add foot=no } highway=cycleway & mkgmap:country=BEL { add foot=yes } highway=bridleway & mkgmap:country=BEL { add foot=yes }
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev