Bake the natural areas the area filter misses #18

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

area_kind (osm.rs:224) covers natural=water, leisure=pitch,
amenity=parking, natural=wood/landuse=forest and grass. The extract has
more:

 28  natural=sand          (golf bunkers plus a real beach)
 28  natural=tree_row      (long lines of trees, currently not drawn at all)
 16  natural=scrub
  2  natural=stone          1  natural=rock          1  natural=hill
  2  natural=grassland

tree_row is the interesting one: 28 ways of planted rows along paths that
currently draw as bare ground. They want to be trees, not a decal -- instanced
like the PROP_TREE batch that already exists in SceneSpec::trees, at
prop_hash-jittered positions along the way.

Sand, scrub, rock and grassland are area kinds and join the existing ladder.

Golf bunkers are natural=sand too, so they will land here as well unless the
golf issue takes them first.


Related

  • #9 the bunkers land here if that issue does not take them
  • #10 fairways and grass
  • #33 playgrounds and scrub
  • #46 wood, orchard and grassland
  • #51 the tag census this came from
`area_kind` (`osm.rs:224`) covers `natural=water`, `leisure=pitch`, `amenity=parking`, `natural=wood`/`landuse=forest` and grass. The extract has more: ``` 28 natural=sand (golf bunkers plus a real beach) 28 natural=tree_row (long lines of trees, currently not drawn at all) 16 natural=scrub 2 natural=stone 1 natural=rock 1 natural=hill 2 natural=grassland ``` `tree_row` is the interesting one: 28 ways of planted rows along paths that currently draw as bare ground. They want to be trees, not a decal -- instanced like the `PROP_TREE` batch that already exists in `SceneSpec::trees`, at `prop_hash`-jittered positions along the way. Sand, scrub, rock and grassland are area kinds and join the existing ladder. Golf bunkers are `natural=sand` too, so they will land here as well unless the golf issue takes them first. --- **Related** - #9 the bunkers land here if that issue does not take them - #10 fairways and grass - #33 playgrounds and scrub - #46 wood, orchard and grassland - #51 the tag census this came from
sermuns added this to the Terrain & paths milestone 2026-10-19 22:18:40 +00:00
Author
Owner

Stone is a prop. The rows of trees are still bare ground.

natural=stone and natural=rock now bake as PROP_STONE (dafe0e3), as a point prop rather than an area kind.

natural=sand is read, but only as a sports surface: surface_kind maps sand to the gravel pitch kind, so a golf bunker lands only because it sits inside a sports area. The beach and the bunkers outside one are not areas.

The 28 natural=tree_row ways still draw as bare ground, and they are the interesting one: they want to be trees, instanced along the way with the same jitter the tree batch already uses, not a decal. natural=scrub (16) and natural=grassland (2) are still not area kinds.

Stone is a prop. The rows of trees are still bare ground. `natural=stone` and `natural=rock` now bake as `PROP_STONE` (`dafe0e3`), as a point prop rather than an area kind. `natural=sand` is read, but only as a sports surface: `surface_kind` maps sand to the gravel pitch kind, so a golf bunker lands only because it sits inside a sports area. The beach and the bunkers outside one are not areas. The 28 `natural=tree_row` ways still draw as bare ground, and they are the interesting one: they want to be trees, instanced along the way with the same jitter the tree batch already uses, not a decal. `natural=scrub` (16) and `natural=grassland` (2) are still not area kinds.
Author
Owner

Closed by the merged batch: #142 (tier1-features) landed this, rebased onto main at 609dcb8.

Closed by the merged batch: #142 (tier1-features) landed this, rebased onto main at 609dcb8.
Sign in to join this conversation.
No description provided.