Hi, I'm running the query:
To get all the water in Central London, or thereabouts; however, I'm not seeing any Serpentine Lake and I assume it's something to do with it being a multi-polygon. Can anyone please assist? TIA, Alex asked 26 Feb '20, 17:02 jusdespommes edited 26 Feb '20, 17:02 |
One Answer:
Hi. You just have to look also for relations. Like this for example :
It much slower, but should be complete. Regards. answered 26 Feb '20, 20:31 H_mlet |
Ahh, this is so good.
What's the 'nwr' doing in contrast to my original query?
Thank you so much!
nwr combines the node way and rel keywords. So it also fetch the relations matching the keyword.
You can use the clause
relation["type"="multipolygon"]["natural"="water"]*
to query multipolygons specifically. (I will let someone else supplement on its performance). Don't forget nodes, as some water features may only be mapped in that format.