pub struct Options {
pub map_config: MapConfig,
pub onstreet_parking: OnstreetParking,
pub public_offstreet_parking: PublicOffstreetParking,
pub private_offstreet_parking: PrivateOffstreetParking,
pub extra_buildings: Option<String>,
pub gtfs_url: Option<String>,
pub elevation_geotiff: Option<String>,
pub filter_crosswalks: bool,
}
Expand description
Configures the creation of a RawMap
from OSM and other input data.
Fields§
§map_config: MapConfig
§onstreet_parking: OnstreetParking
§public_offstreet_parking: PublicOffstreetParking
§private_offstreet_parking: PrivateOffstreetParking
§extra_buildings: Option<String>
If provided, read polygons from this GeoJSON file and add them to the RawMap as buildings.
gtfs_url: Option<String>
Configure public transit using this URL to a static GTFS feed in .zip format.
elevation_geotiff: Option<String>
Path to a GeoTIFF file in EPSG:4326 to use for elevation data
filter_crosswalks: bool
Only include crosswalks that match a highway=crossing
OSM node.
Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more