Why not ask your question on the new OpenStreetMap Community Forum?


I'm running the query:


(way["natural"~"water"] (around:5100.0, 51.508341, -0.125499); ); out meta;
>; out skel qt;

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?



asked 26 Feb '20, 17:02

jusdespommes's gravatar image

accept rate: 0%

edited 26 Feb '20, 17:02


You just have to look also for relations.

Like this for example :

nwr["natural"~"water"] (around:5100.0, 51.508341, -0.125499); 
out meta;
>; out skel qt;

It much slower, but should be complete.


permanent link

answered 26 Feb '20, 20:31

H_mlet's gravatar image

accept rate: 13%

Ahh, this is so good.

What's the 'nwr' doing in contrast to my original query?

Thank you so much!

(29 Feb '20, 19:33) jusdespommes

nwr combines the node way and rel keywords. So it also fetch the relations matching the keyword.

(29 Feb '20, 19:37) H_mlet

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.

(01 Mar '20, 10:31) Kovoschiz
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Feb '20, 17:02

question was seen: 1,203 times

last updated: 02 Mar '20, 19:16

powered by OSQA