filter by placetype:
- 2 counties
-
Carmarthenshire County
Carmarthenshire County, Wales, United Kingdom (County)
-
Neath and Port Talbot County Borough
Neath and Port Talbot County Borough, Wales, United Kingdom (County)
Search again including deprecated places, unknown places, places that visit Null Island or everything?
first
1 of 1
last
(pages)
This query took 0.059 seconds ⌛; show me the details?
0.059 seconds ⌛{ "query": { "bool": { "must": [ { "geo_shape": { "geometry": { "shape": { "type": "circle", "radius": "1km", "coordinates": [ -3.81764, 51.635368 ] } } } }, { "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" } } ] }