3 places near Santa Margarida Airport, Constância, Santarém, Portugal
filter by placetype:
  1. Leiria
    Leiria, Leiria, Portugal (State)
  2. Portalegre
    Portalegre, Portalegre, Portugal (State)
  3. Santarém
    Santarém, Santarém, Portugal (State)

Search again including deprecated places, unknown places, places that visit Null Island or everything?

This query took 0.039 seconds ⌛; show me the details?

        
0.039 seconds ⌛
{ "query": { "bool": { "must": [ { "geo_shape": { "geometry": { "shape": { "type": "circle", "radius": "1km", "coordinates": [ -8.2889, 39.406898 ] } } } }, { "term": { "woe:placetype": 8 } } ], "must_not": [ { "terms": { "woe:placetype": [ 0, 11, 25 ] } }, { "term": { "geom:latitude": { "value": 0.0 } } }, { "term": { "geom:longitude": { "value": 0.0 } } }, { "exists": { "field": "woe:superseded_by" } } ] } }, "aggs": { "placetypes": { "terms": { "field": "woe:placetype_name", "size": 10000 } } }, "sort": [ { "woe:scale": { "order": "desc", "mode": "max" } }, { "woe:id": { "order": "asc", "mode": "max" } } ] }