Looking closer, I think it should be able to pick up the country from the is_in:country tag, which is often set on cities and states. <div><br></div><div>The address rules contain:</div><div><div># first set the country code</div><div>mkgmap:country!=* &amp; mkgmap:admin_level2=* { set mkgmap:country=&#39;${mkgmap:admin_level2}&#39; }</div><div>mkgmap:country!=* &amp; addr:country=* { set mkgmap:country=&#39;${addr:country}&#39; }</div><div>mkgmap:country!=* &amp; is_in:country=* { set mkgmap:country=&#39;${is_in:country}&#39; }</div></div><div><br></div><div>An example city is Danbury:</div><div><a href="http://www.openstreetmap.org/way/33271879">http://www.openstreetmap.org/way/33271879</a></div><div>which has the country set:</div><div><table class="browse-tag-list" style="border-spacing:0px;width:310px;margin-bottom:20px;border:1px solid rgb(221,221,221);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;font-size:12px;table-layout:fixed;color:rgb(34,34,34);font-family:&#39;Helvetica Neue&#39;,Arial,sans-serif;line-height:19.9992008209229px;background-color:rgb(246,246,246)"><tbody style><tr style><th class="browse-tag-k" style="padding:6px 10px;line-height:20px;font-weight:500;vertical-align:top;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);width:154px;word-wrap:break-word"><a href="http://wiki.openstreetmap.org/wiki/Key:is%20in:country?uselang=en-US" title="The wiki description page for the is_in:country tag" style="color:rgb(34,68,221);text-decoration:none;outline:0px">is_in:country</a></th><td class="browse-tag-v" style="padding:6px 10px;line-height:20px;vertical-align:middle;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);width:154px;word-wrap:break-word;border-left-width:1px;border-left-style:solid;border-left-color:rgb(221,221,221);background-color:rgb(255,255,255)">USA</td></tr><tr style><th class="browse-tag-k" style="padding:6px 10px;line-height:20px;font-weight:500;vertical-align:top;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);width:154px;word-wrap:break-word"><a href="http://wiki.openstreetmap.org/wiki/Key:is%20in:country%20code?uselang=en-US" title="The wiki description page for the is_in:country_code tag" style="color:rgb(34,68,221);text-decoration:none;outline:0px">is_in:country_code</a></th><td class="browse-tag-v" style="padding:6px 10px;line-height:20px;vertical-align:middle;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);width:154px;word-wrap:break-word;border-left-width:1px;border-left-style:solid;border-left-color:rgb(221,221,221);background-color:rgb(255,255,255)">US</td></tr></tbody></table><div>I think it should be picking up the country from these tags. I&#39;ll have to run some tests to see why this isn&#39;t happening.</div><div><br></div><div>Thanks.</div><div>Brian</div><div><br></div></div><br><div class="gmail_quote">On Thu Oct 30 2014 at 8:23:54 AM Brian Egge &lt;<a href="mailto:brianegge@gmail.com">brianegge@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote">On Thu Oct 30 2014 at 6:24:48 AM Andrzej Popowski &lt;<a href="mailto:popej@poczta.onet.pl" target="_blank">popej@poczta.onet.pl</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
 &gt; I fear the meanings of the --country-xxx options are not well<br>
 &gt; documented.<br>
<br>
I have once tried to find what are they for but failed. I would suggest<br>
to not use --country-xxx or --region-xxx in command line options. I<br>
think the real definitions are inside style, see include/address file:<br>
# United States<br>
mkgmap:country=USA &amp; mkgmap:region!=* &amp; mkgmap:admin_level4=* { set<br>
mkgmap:region=&#39;${mkgmap:admin_<u></u><u></u>level4}&#39; }<br>
<br>
I think that setting country or region in options can damage these<br>
rules. Or create some inconsistency in map.<br>
<br>
--<br>
Best regards,<br>
Andrzej<br>
______________________________<u></u><u></u>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/<u></u>mailm<u></u>an/listinfo/mkgmap-dev</a><br>
</blockquote></div></blockquote></div>