Expand description
Bounded OSM vector geometry to local render meshes.
This is a per-render-tile compiler, not a national GIS store. It projects source WGS84 coordinates into a local ENU frame, preserves source identity beside the resulting mesh, and lets callers drape geometry against a separately sourced elevation field. A larger Australian place is compiled as many independently streamed tiles.
Structs§
- OsmRendered
Feature - A per-feature render mesh with its OSM source facts retained alongside it.
- Vector
Scene Frame - Local WGS84 tangent frame and cold-build limits for one render tile.
Enums§
- OsmVector
Style - Game-authored presentation intent for one OSM geometry.
Functions§
- compile_
osm_ feature_ mesh - Compile one validated feature in a local ENU frame, using its WGS84 elevations as the fallback surface. Geometry with parser diagnostics is refused so incomplete ways or relations cannot silently become art.
- compile_
osm_ feature_ mesh_ draped - Compile one feature and sample a caller-owned local terrain surface at
every emitted vertex. The sampler returns metres above
frame.origin_alt_m; returningNonerejects the feature instead of leaving an undraped gap.