title: get the polygon fence for an area from a single point with overpass API
body: <p>I am interested in retrieving polygonal boundaries for all admin levels given a lat/long point.</p>
  
  <p>I have a point - let's say (34.0500, -118.2500). </p>
  
  <p>I would like to retrieve the city(admin_level=8)/state(admin_level=4)/country(admin_level=2) information along with the polygonal boundaries for each of these levels. </p>
  
  <p>Currently, I am able to get the areas I am interested in using:</p>
  
  <pre><code>[out:json];
  is_in(34.0500, -118.2500);
  out;
  
  {
    "type": "area",
    "id": 3600148838,
    "tags": {   
             "admin_level": "2",
             "border_type": "national",
             "boundary": "administrative",
             "name": "United States of America",
             "type": "boundary",
             "wikidata": "Q30",
             "wikipedia": "en:United States"
            }
  },
  
  {
    "type": "area",
    "id": 3600165475,
    "tags": {
             "ISO3166-2": "US-CA",
             "admin_level": "4",
             "boundary": "administrative",
             "name": "California",
             "type": "boundary"
            }
  },
  {
   "type": "area",
   "id": 3600207359,
   "tags": {
            "admin_level": "8",
            "boundary": "administrative",
            "name": "Los Angeles",
            "place": "city",
            "short_name": "LA",
            "type": "boundary"
           }
  }
  </code></pre>
  
  <p>However, I am unsure about how to get the polygonal boundaries for each of these admin_levels. I would like to do it as a single query if possible.</p>
  
  <p>I tried:</p>
  
  <pre><code>area[name="Los Angeles"][admin_level=8][boundary=administrative]-&gt;.laarea;
  rel(pivot.laarea);
  out geom;
  </code></pre>
  
  <p>but this it seems to return data for every city in the world with the name "Los Angeles".</p>
  
  <p>Is there a way to perform the above query using area ids from the previous query?
  Is there a better way to do this?</p>
  
  <p>I've been using <a href="http://overpass-turbo.eu/" rel="nofollow">http://overpass-turbo.eu/</a> to test my queries.</p>