feat: add native road compiler provider

This commit is contained in:
que01 committed 2026-08-14 15:19:57 +08:00
1 parent e1f3fc10ca
commit 65cf8b96d9
14 files changed
+385 -83

No files matched your search

+8
View File
@@ -48,6 +48,14 @@ ROAD_LAYERS = [
SCENE_STYLE_FILE = "osm2streets_scene_style.json"
# Native-road output intentionally maps into existing scene material layers.
# It is a provider adapter, not a second scene-layer registry.
NATIVE_ROAD_LAYERS = (
{"source": "road_surface", "material_layer": "road_surface"},
{"source": "intersection_surface", "material_layer": "intersection_surface"},
{"source": "sidewalk_surface", "material_layer": "sidewalks"},
)
# Material specs. `kind` selects the builder:
# solid — flat base colour