Thanks, Wanmil. I will try that approach. But I imagine I'll have to
update my mkgmap - I currently have r2187, and I see you have just
released r 2311!
Roger
On 29/07/2012 15:58, WanMil wrote:
Hi Roger,
you can do that by using the precompiled bounds. The style file already
contains rules to assign the country/region/city information. You can
use similar rules for your purpose, e.g.:
mkgmap:admin_level6=Cumbria && highway=primary { set highway=secondary }
This example works only if you use the precompiled bounds. Read step 4
of http://wiki.openstreetmap.org/wiki/Mkgmap/help/How_to_create_a_map
how to use them.
WanMil
A bit of advice, please, if anyone can help.
How can one obtain information on the administrative area (e.g. county)
an object is in in the style files? For example, I would like to find
out if an object is in Cumbria or Lancashire.
Some objects have "is_in" tags, but most do not. Such information should
be accessible from the surrounding boundaries. Can I access this
information in a style file?
Thanks,
Roger
--
------------------------------------------------------------------------
Roger Calvert
------------------------------------------------------------------------
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
--
------------------------------------------------------------------------
Roger Calvert
------------------------------------------------------------------------
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev