2 places near Pinhel, Guarda, Portugal
filter by placetype:
  1. Pinhel
    Pinhel, Guarda, Portugal (County)
  2. Figueira de Castelo Rodrigo
    Figueira de Castelo Rodrigo, Guarda, Portugal (County)

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

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

        
0.033 seconds ⌛
{ "query": { "bool": { "must": [ { "geo_shape": { "geometry": { "shape": { "type": "circle", "radius": "1km", "coordinates": [ -7.10771, 40.779541 ] } } } }, { "term": { "woe:placetype": 9 } } ], "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" } } ] }