Struct convert_osm::Options
source · [−]pub struct Options {
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,
pub filter_crosswalks: bool,
pub gtfs_url: Option<String>,
pub elevation: 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
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.
filter_crosswalks: bool
Only include crosswalks that match a highway=crossing
OSM node.
gtfs_url: Option<String>
Configure public transit using this URL to a static GTFS feed in .zip format.
elevation: bool
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self