<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    If an enclave then it will share borders so would have to be in a
    relation. <br>
    If an island it's highly likely to have other admin_levels or even
    be an exclave.<br>
    -------------<br>
    <br>
    I'd recommend<br>
    <ul>
      <li>adding maritime=yes to all required ways that don't have them.</li>
      <li>adding boundary=administrative relations to ways the require
        them</li>
      <li>removing admin_level & boundary=administrative from ways
        which have them in relations</li>
    </ul>
    <br>
    This should be adequate for OSM-Carto to render boundaries as
    desired. however on GitHub, Matthijs claims "there is no way to
    express that in CartoCSS".<br>
    This is not a good enough reason to add & use duplicated tags on
    ways. It's been agreed they are redundant.<br>
    <br>
    If Overpass can perform the required API call, why can't CartoCSS be
    coded to do it?:  <br>
    <br>
    <a href="http://overpass-turbo.eu/s/wWg" rel="nofollow">http://overpass-turbo.eu/s/x7H</a>
    <p>rel<a
href="https://github.com/gravitystorm/openstreetmap-carto/pull/%7B%7Bbbox%7D%7D">"admin_level"="2"</a>;<br>
      way(r)["maritime"="yes"];<br>
      out geom;</p>
    <p>DaveF<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 18/03/2018 22:23, Kevin Kenny wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALREZe8RnDH0qomQHA9XbQOesLtbTK6QZ8tyNUHv9x6q5w+Kjg@mail.gmail.com">
      <pre wrap="">On Sun, Mar 18, 2018 at 12:11 PM, Andrew Hain
<a class="moz-txt-link-rfc2396E" href="mailto:andrewhainosm@hotmail.co.uk"><andrewhainosm@hotmail.co.uk></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I agree entirely with Dave on this. Consider this a request to consider systematically removing the admin_level tag from ways or making it a discardable tag only for ways.
</pre>
      </blockquote>
      <pre wrap="">
I hope that you mean 'ways that are also part of a
boundary=administrative relation.' It's easy to imagine an
administrative region whose border is a single way (it's an island, or
it's an enclave entirely surrounded by another administrative region.
If you mean by this statement that 'an administrative region must
always be a relation,' please make that explicit.

_______________________________________________
Tagging mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tagging@openstreetmap.org">Tagging@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/tagging">https://lists.openstreetmap.org/listinfo/tagging</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>