Expand description

The convert_osm crate produces a RawMap from OSM and other data. Storing this intermediate structure is useful to iterate quickly on parts of the map importing pipeline without having to constantly read .osm files, and to visualize the intermediate state with map_editor.

Re-exports

pub use self::geometry::InputRoad;

Modules

export 🔒

OSM describes roads as center-lines that intersect. Turn these into road and intersection polygons roughly by

Naming is confusing, but RawMap -> InitialMap -> Map. InitialMap is separate pretty much just for the step of producing https://a-b-street.github.io/docs/tech/map/importing/geometry.html.

lane_specs 🔒

Useful utilities for working with OpenStreetMap.

transform 🔒
types 🔒

Structs

A business located inside a building.

None corresponds to the native name

A way to refer to roads across many maps and over time. Also trivial to relate with OSM to find upstream problems.

Enums

Constants

Functions