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

598 B
Raw Permalink Blame History

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.