This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How many natural=water are in OSM?

1

Hi. Is there any way to count the number of water bodies in OSM?

asked 04 Feb '15, 15:31

Fishbrain's gravatar image

Fishbrain
36336
accept rate: 0%


2 Answers:

0

You have actually asked two unrelated questions. The second question about the total number of water bodies in OSM is still open. So, let me try. Assume, we understand the same thing under the notion "water body", namely - a simple area defined by one and only one outer/enclosing border polygon and a zero or an arbitrary number of inner/excluding/hole border polygons (so, the water area is between these two border classes). Then, the water bodies in the same water class (like rivers, channels, lakes and so on) are isolated/unrelated objects (even if one is in a hole of another one, no common border sections exist ...) and the numbers bodies per classes are: 1,509 in the sea class (based on coastline data as an inverse of the land bodies), 5,630,410 in the lake class (inclusive basin, reservoir and intermittent water classes as well), 307,659 in the river class and 4,265 in the channel class. In total, 5,943,843 water bodies.
Some related notes. 1.These numbers are constantly changing. 2.Some water bodies are huge and extremely complex. Example gratia, the Global Ocean contains over 488,080 holes, the Amazon, Mississippi ... river system is really complex. 3.If we merge the water classes, the number of water bodies will decrease but the objects will become even larger and more complex (many river systems with the Global Ocean will create a new huge/monster water body).

answered 05 Feb '15, 11:27

sanser's gravatar image

sanser
695383955
accept rate: 5%

9

Yes and no. http://taginfo.openstreetmap.org/tags/natural=water tells you that there are (at the time of writing) 5,871,787 OSM objects tagged natural=water, however these might not correspond to that many different water bodies, since large water bodies might be mapped using several OSM objects.

answered 04 Feb '15, 15:36

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 04 Feb '15, 15:36

1

There's another reason why not all natural=water areas represent water bodies: Depending on the water=* subtag, these areas might instead represent reflecting pools, moats and other things you might not consider a "water body". A minority of mappers even advocate mapping rivers as natural=water + water=river instead of waterway=riverbank.

(05 Feb '15, 13:29) Tordanik

Source code available on GitHub .