[mkgmap-dev] Finding administrative areas
From WanMil wmgcnfg at web.de on Sun Jul 29 15:58:11 BST 2012
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 > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] Finding administrative areas
- Next message: [mkgmap-dev] Finding administrative areas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list