I'm looking for an overpass turbo query that gives me all (salt) water entities.
Currently, this is my query (using the overpass web interface):
[out:json][timeout:25];
(
node["place"="sea"]({{bbox}});
way["place"="sea"]({{bbox}});
relation["place"="sea"]({{bbox}});
node["natural"="bay"]({{bbox}});
way["natural"="bay"]({{bbox}});
relation["natural"="bay"]({{bbox}});
node["water"]({{bbox}});
way["water"]({{bbox}});
relation["water"]({{bbox}});
node["natural"="ocean"]({{bbox}});
way["natural"="ocean"]({{bbox}});
relation["natural"="ocean"]({{bbox}});
);
out body;
>;
out skel qt;
Basically, this works fine. But for certain sea elements, I do not get any results.
Is this because some are just not mapped and sea is considered as a base layer?
Take this point for example: https://www.openstreetmap.org/#map=19/36.00849/-5.44347
natural=coastline
rings (clockwise and without any gaps). By the way, you can query nodes, ways and relations together using e.g.nwr[natural=bay]({{bbox}});
.nwr[natural=bay]({{bbox}});
But it is like I already assumed: "larger seas do not exist as relations". So have to find a way using the coastlines. I guess my question is answered, at least for me.