Crate raw_map[−][src]
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.
Modules
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.
Useful utilities for working with OpenStreetMap.
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
Businesses are categorized into one of these types.
Constants
Functions
Also returns a list of labeled polygons for debugging.