Struct convert_osm::Options [−][src]
pub struct Options { pub osm_input: String, pub name: MapName, pub clip: Option<String>, pub map_config: MapConfig, pub onstreet_parking: OnstreetParking, pub public_offstreet_parking: PublicOffstreetParking, pub private_offstreet_parking: PrivateOffstreetParking, pub include_railroads: bool, pub extra_buildings: Option<String>, pub skip_local_roads: bool, }
Fields
osm_input: String
name: MapName
clip: Option<String>
The path to an osmosis boundary polygon. Highly recommended.
map_config: MapConfig
onstreet_parking: OnstreetParking
public_offstreet_parking: PublicOffstreetParking
private_offstreet_parking: PrivateOffstreetParking
include_railroads: bool
OSM railway=rail will be included as light rail if so. Cosmetic only.
extra_buildings: Option<String>
If provided, read polygons from this GeoJSON file and add them to the RawMap as buildings.
skip_local_roads: bool
Only include highways and arterials. This may make sense for some region-wide maps for particular use cases.