Skip to main content

Module roads

Module roads 

Source
Expand description

Roads layer — highways, streets, paths, rail, ferries.

Processes features from multiple data sources:

  • OSM: 15+ highway classes with bridge/tunnel/oneway/ref attributes
  • Overture: transportation/segment features, classified by subtype (road, rail, water) and split where bridge/tunnel/link flags cover only part of a segment. Mirrors protomaps Roads.processOverture.

Functions§

process
Process a feature into a roads layer feature.
process_all
Process a feature and return every roads-layer feature it produces.