Files
tile-server/context/2026-09-21_14-00-00_graph-polylines-streets.md

14 lines
598 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Graph polylines + all streets from z12
Date: 2026-09-21
## Why the overlay looked wrong
Crooked chords: edges were vertex-to-vertex (intersections only), no OSM shape nodes.
Only highways at z12–13: zoom filter kept residential out until z13, and `ORDER BY length_m DESC LIMIT 8000` dropped short streets even then.
## Change
- Builder stores `edges.geom` (lon/lat polyline). Encoder clips that LineString. Old sqlite without `geom` still draws chords — resync required for curves.
- All highway classes from z12 (residential/service included). Cap 40k features, order by id not length.