On Sat, Jan 14, 2012 at 06:20:35PM +0100, michael lohr wrote:
>not sure if this the answer you're looking for but:
>
>mkgmap:country=IND & mkgmap:region!=* & mkgmap:admin_level4=* { set
>mkgmap:region='${mkgmap:admin_level4}' }
>
>will give you the states as region (like rajasthan), whereas
>
>mkgmap:country=IND & mkgmap:region!=* & mkgmap:admin_level5=* { set
>mkgmap:region='${mkgmap:admin_level6}' }
>
>gives you districts (like udaipur) as region
That could be it, thanks!
I am not sure if the above only applies to boundary=administrative
relations. For location-autofill=nearest (using place=* nodes only), I
am guessing that region is hard-wired to the country. That is OK too,
since the place=* is sort-of obsoleted by the boundary relations.
Marko
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev