Struct convert_osm::extract::OsmExtract [−][src]
pub struct OsmExtract {
pub roads: Vec<(WayID, RawRoad)>,
pub traffic_signals: HashMap<HashablePt2D, Direction>,
pub osm_node_ids: HashMap<HashablePt2D, NodeID>,
pub simple_turn_restrictions: Vec<(RestrictionType, WayID, NodeID, WayID)>,
pub complicated_turn_restrictions: Vec<(RelationID, WayID, WayID, WayID)>,
pub amenities: Vec<(Pt2D, Amenity)>,
}
Fields
roads: Vec<(WayID, RawRoad)>
Unsplit roads
traffic_signals: HashMap<HashablePt2D, Direction>
Traffic signals to the direction they apply
osm_node_ids: HashMap<HashablePt2D, NodeID>
simple_turn_restrictions: Vec<(RestrictionType, WayID, NodeID, WayID)>
(ID, restriction type, from way ID, via node ID, to way ID)
complicated_turn_restrictions: Vec<(RelationID, WayID, WayID, WayID)>
(relation ID, from way ID, via way ID, to way ID)
amenities: Vec<(Pt2D, Amenity)>
(location, amenity)