<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Here is a link : <a class="moz-txt-link-freetext" href="http://overpass-turbo.eu/s/cxc">http://overpass-turbo.eu/s/cxc</a> (click Run to run
    the query)<br>
    The query gets all admin_level=4 in Burkina Faso and their way
    members<br>
    <br>
    <div class="moz-cite-prefix">On 08/11/2015 12:35,
      <a class="moz-txt-link-abbreviated" href="mailto:augustindoury@gmail.com">augustindoury@gmail.com</a> wrote:<br>
    </div>
    <blockquote cite="mid:563F4199.4010509@gmail.com" type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      Hi Samuel,<br>
      <br>
      This expression in the Wizard : type:relation AND admin_level=4
      AND is_in='Burkina Faso' <br>
      gives you all the relation type=boundary with an admin_level=4.<br>
      <br>
      It gives you this query :<br>
      <blockquote>[out:json][timeout:25];<br>
        (<br>
          relation["admin_level"="4"]["is_in:country"="Burkina
        Faso"]({{bbox}});<br>
        );<br>
        out body;<br>
        >;<br>
        out skel qt;<br>
      </blockquote>
      <br>
      If you just want the polygons it's ok to extract this. But you
      won't extract the OSM objects members of relations, and their tags
      neither as Blake said.<br>
      <br>
      If you want the members to, and avoid JOSM, add :<br>
      >>; to get all members<br>
      node(r); to get the nodes<br>
      way(r); to get all the ways<br>
      relation(r); for relations<br>
      <br>
      Example for all members : <br>
      <blockquote>[out:json][timeout:25];<br>
        (<br>
          relation["admin_level"="4"]["is_in:country"="Burkina
        Faso"]({{bbox}});<br>
         >>;<br>
        );<br>
        out body;<br>
        >;<br>
        out skel qt;<br>
      </blockquote>
      Good luck<br>
      <br>
      Augustin<br>
      <br>
      Yo<br>
      <br>
      <div class="moz-cite-prefix">On 08/11/2015 12:04, Samuel Aiyeoribe
        wrote:<br>
      </div>
      <blockquote
        cite="mid:562226196.2297174.1446984254892.JavaMail.yahoo@mail.yahoo.com"
        type="cite">
        <div style="color:#000; background-color:#fff;
          font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
          Lucida Grande, Sans-Serif;font-size:24px">
          <div id="yui_3_16_0_1_1446980071630_20543"><span
              id="yui_3_16_0_1_1446980071630_20680">Thank you Blake,</span></div>
          <div id="yui_3_16_0_1_1446980071630_20543"><span><br>
            </span></div>
          <div id="yui_3_16_0_1_1446980071630_20543"><span
              id="yui_3_16_0_1_1446980071630_20718">This looks
              promising. Even though i use Overpass turbo several times,
              i haven't looked into the overpass api.</span></div>
          <div id="yui_3_16_0_1_1446980071630_20543"><span><br>
            </span></div>
          <div id="yui_3_16_0_1_1446980071630_20543"><span
              id="yui_3_16_0_1_1446980071630_20850">I will be happy to
              receive other suggestions and people's experiences.</span></div>
          <div id="yui_3_16_0_1_1446980071630_20543"><span><br>
            </span></div>
          <div id="yui_3_16_0_1_1446980071630_20543"><span>Cheers</span></div>
          <div id="yui_3_16_0_1_1446980071630_20555"> </div>
          <div class="signature" id="yui_3_16_0_1_1446980071630_20557">Samuel

            Aiyeoribe</div>
          <br>
          <div class="qtdSeparateBR"><br>
            <br>
          </div>
          <div class="yahoo_quoted" style="display: block;">
            <div style="font-family: HelveticaNeue, Helvetica Neue,
              Helvetica, Arial, Lucida Grande, Sans-Serif; font-size:
              24px;">
              <div style="font-family: HelveticaNeue, Helvetica Neue,
                Helvetica, Arial, Lucida Grande, Sans-Serif; font-size:
                16px;">
                <div dir="ltr"> <font size="2" face="Arial"> On Sunday,
                    8 November 2015, 12:53, Blake Girardot <a
                      moz-do-not-send="true"
                      class="moz-txt-link-rfc2396E"
                      href="mailto:blake.girardot@hotosm.org"><blake.girardot@hotosm.org></a>
                    wrote:<br>
                  </font> </div>
                <br>
                <br>
                <div class="y_msg_container">Hi Samuel,<br clear="none">
                  <br clear="none">
                  I have used overpass-turbo.eu to extract just admin
                  boundaries before<br clear="none">
                  and it seems to work well.<br clear="none">
                  <br clear="none">
                  I then have to pass the results over to JOSM and
                  download the missing<br clear="none">
                  members to get all the points and ways that make up
                  the boundaries,<br clear="none">
                  but that is probably because I do not know
                  overpass-turbo well enough<br clear="none">
                  to have it grab all the elements automatically.<br
                    clear="none">
                  <br clear="none">
                  overpass-turbo consists of 2 major parts, the web
                  front (Overpass<br clear="none">
                  Turbo) and the Overpass-API which handles searching
                  OSM data, both are<br clear="none">
                  available from GitHub. Overpass-API works with local
                  .osm.gz files so<br clear="none">
                  it can take a full OSM Planet file and minutely
                  updates and run<br clear="none">
                  totally locally.<br clear="none">
                  <br clear="none">
                  <a moz-do-not-send="true" shape="rect"
                    href="http://overpass-api.de/" target="_blank">http://overpass-api.de/</a><br
                    clear="none">
                  <a moz-do-not-send="true" shape="rect"
                    href="https://github.com/tyrasd/overpass-turbo"
                    target="_blank">https://github.com/tyrasd/overpass-turbo</a><br
                    clear="none">
                  <br clear="none">
                  Probably not the easiest solution to your question,
                  but at least you<br clear="none">
                  can try out Overpass-Turbo and make sure it does what
                  you want before<br clear="none">
                  you try and run it locally.<br clear="none">
                  <br clear="none">
                  Here is one I used last week for one of our contacts
                  who needed admin<br clear="none">
                  boundaries for Serbia: <a moz-do-not-send="true"
                    shape="rect" href="http://overpass-turbo.eu/s/cx8"
                    target="_blank">http://overpass-turbo.eu/s/cx8</a><br
                    clear="none">
                  <br clear="none">
                  Like, I said, there might be simpler (I hope) answers
                  to your<br clear="none">
                  question, but Overpass is one I think.<br clear="none">
                  <br clear="none">
                  Cheers,<br clear="none">
                  blake<br clear="none">
                  <div class="yqt9972045006" id="yqtfd47600"><br
                      clear="none">
                    On Sun, Nov 8, 2015 at 6:00 AM, Samuel Aiyeoribe<br
                      clear="none">
                    <<a moz-do-not-send="true" shape="rect"
                      ymailto="mailto:olubunmi4ever@yahoo.co.uk"
                      href="mailto:olubunmi4ever@yahoo.co.uk">olubunmi4ever@yahoo.co.uk</a>>

                    wrote:<br clear="none">
                    > Hello HOTties,<br clear="none">
                    ><br clear="none">
                    > Please does anyone know of a service for
                    extracting/downloading OSM Admin<br clear="none">
                    > Boundary that one can fork and host myself and
                    also available on github.<br clear="none">
                    ><br clear="none">
                    > Looking forward to your reply.<br clear="none">
                    ><br clear="none">
                    > Cheers<br clear="none">
                    ><br clear="none">
                    > Samuel<br clear="none">
                    ><br clear="none">
                    > _______________________________________________<br
                      clear="none">
                    > HOT mailing list<br clear="none">
                    > <a moz-do-not-send="true" shape="rect"
                      ymailto="mailto:HOT@openstreetmap.org"
                      href="mailto:HOT@openstreetmap.org">HOT@openstreetmap.org</a><br
                      clear="none">
                    > <a moz-do-not-send="true" shape="rect"
                      href="https://lists.openstreetmap.org/listinfo/hot"
                      target="_blank">https://lists.openstreetmap.org/listinfo/hot</a></div>
                  <br clear="none">
                  ><br clear="none">
                  <br clear="none">
                  <br clear="none">
                  <br clear="none">
                  -- <br clear="none">
                  ----------------------------------------------------<br
                    clear="none">
                  Blake Girardot<br clear="none">
                  Humanitarian OpenStreetMap Team<br clear="none">
                  Vice President, HOT Board of Directors<br clear="none">
                  skype: jblakegirardot<br clear="none">
                  HOT Core Team Contact: <a moz-do-not-send="true"
                    shape="rect" ymailto="mailto:info@hotosm.org"
                    href="mailto:info@hotosm.org">info@hotosm.org</a>
                  <div class="yqt9972045006" id="yqtfd09996"><br
                      clear="none">
                  </div>
                  <br>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
HOT mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:HOT@openstreetmap.org">HOT@openstreetmap.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/hot">https://lists.openstreetmap.org/listinfo/hot</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>