I am trying to get the shape of country in Overpass API without the maritime limit in http://overpass-turbo.eu
And I have this query but it shows the maritime:
relation
["boundary"="administrative"]
["admin_level"="2"]
["name:en"="Spain"];
(._;>;);
out body;
I found it, thanks to OpenStreetmap spanish mailing list and the doc (it is in spanish) https://iceosm2016.readthedocs.io/en/latest/ .
area["name"="España"]->.country;
rel["name"="España"]["type"="boundary"]["admin_level"="2"];
(
way(r)["maritime" != "yes"]({{bbox}});
way(area.country)["natural"="coastline"]({{bbox}});
);
out geom;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With