Module model

Source

Structsยง

Model

Enumsยง

ID

Constantsยง

BUILDING_LENGTH ๐Ÿ”’
INTERSECTION_RADIUS ๐Ÿ”’

Functionsยง

dump_to_osm ๐Ÿ”’
Express a RawMap as a .osm file. Why not just save the RawMap? The format may change over time, and even if a RawMap is saved as JSON, manually updating it is annoying. This is used to create synthetic maps that will never go bad โ€“ there will always be a pipeline to import a .osm file, so actually, .osm is a stable-over-time format.