Draw the water #41

Closed
opened 2026-10-17 20:41:09 +00:00 by sermuns · 2 comments
Owner

area_kind returns AREA_WATER for natural=water or any waterway tag,
but areas_of (osm.rs:207) requires a closed way -- and neither body of
water here is one.

  8  waterway=stream            (open ways, dropped: never close)
 10  natural=water              (a pond, mapped as a way)
  1  multipolygon  name=Blå havet  natural=water, 4 member ways

Blå havet -- literally "the blue sea" -- is a named lake on the campus, and it
is a relation, so it needs #8, the relation parser, as well as open-way
support.

AREA_WATER is the first entry in mesh::AREA_HEIGHTS, so it already has a
lift that keeps it above grass; what it does not have is anything that reads as
water. A flat slightly-blue polygon next to a green hill is not a lake.

Worth pairing with: the 3 golf=lateral_water_hazard and the 8 streams are the
same feature class.


Related

  • #8 Bla havet is a multipolygon
  • #18 water is already an area kind
  • #46 the ponds and the reserve
`area_kind` returns `AREA_WATER` for `natural=water` or any `waterway` tag, but `areas_of` (`osm.rs:207`) requires a **closed** way -- and neither body of water here is one. ``` 8 waterway=stream (open ways, dropped: never close) 10 natural=water (a pond, mapped as a way) 1 multipolygon name=Blå havet natural=water, 4 member ways ``` **Blå havet** -- literally "the blue sea" -- is a named lake on the campus, and it is a relation, so it needs #8, the relation parser, as well as open-way support. `AREA_WATER` is the first entry in `mesh::AREA_HEIGHTS`, so it already has a lift that keeps it above grass; what it does not have is anything that reads as water. A flat slightly-blue polygon next to a green hill is not a lake. Worth pairing with: the 3 `golf=lateral_water_hazard` and the 8 streams are the same feature class. --- **Related** - #8 Bla havet is a multipolygon - #18 water is already an area kind - #46 the ponds and the reserve
Author
Owner

Stupid clanker thinks Blå havet is an actual Campus lake...

Stupid clanker thinks Blå havet is an actual Campus lake...
sermuns added this to the Terrain & paths milestone 2026-10-19 22:18:42 +00:00
Author
Owner

Out of date. All 10 natural=water ways in the extract are closed and have baked as AREA_WATER since 9d5db89, so the ponds and golf water hazards already draw. Blå havet is not water at all: relation 5461804 is a place=square pedestrian square with forest inner rings. The only remaining gap is the 8 open waterway=stream ways, which need a linear-water feature rather than this polygon issue; file separately if wanted.

Out of date. All 10 `natural=water` ways in the extract are closed and have baked as `AREA_WATER` since 9d5db89, so the ponds and golf water hazards already draw. Blå havet is not water at all: relation 5461804 is a `place=square` pedestrian square with forest inner rings. The only remaining gap is the 8 open `waterway=stream` ways, which need a linear-water feature rather than this polygon issue; file separately if wanted.
Sign in to join this conversation.
No description provided.