<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Hi
@all,</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">I try
to render for some larger countries like China also province
boundaries as well. (admin_level=4 additional to level 2). But
don't want to show those in Mongolia for example.</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Therefore
I write some intermediate tag to all level4-ways and then use
the mkgmap:country tag in lines file to only show them in
China. Unfortunately it's not very precise (ok it's logical).
See attached screen shot. Red marked boundary line is missing,
blue ones are shown, but shouldn't.</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Anyone
has an idea how to solve this issue? I thought maybe use
subarea of admin relations, but first they are not very common
in OSM and 2nd, not sure how to code it in relations file.<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Henning<br>
</font></font></p>
<p><b><font size="-1"><font face="Helvetica, Arial, sans-serif">relations:</font></font></b></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">(
type=boundary | type=multipolygon ) &
boundary=administrative & admin_level=4 {<br>
apply {<br>
set rrk:boundary:province=yes<br>
}<br>
}<br>
<br>
( type=boundary | type=multipolygon ) &
boundary=administrative & admin_level=2 {<br>
apply {<br>
set rrk:boundary:country=yes<br>
}<br>
}<br>
</font></font></p>
<p><b><font size="-1"><font face="Helvetica, Arial, sans-serif">lines:</font></font></b></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">rrk:boundary:country=yes
[0x10017 level 8 continue]<br>
rrk:boundary:province=yes & ( mkgmap:country=CHN |
mkgmap:country=AUS) & rrk:boundary:country!=yes [0x1010f
level 7 continue]<br>
</font></font></p>
</body>
</html>