Get OSM routes geometry considering gtfs:shape_id match
Source:R/query_osm_shapes_to_routes.R
osm_shapes_to_routes.RdGet OSM routes geometry considering gtfs:shape_id match
Value
A sf data.frame with the following columns:
shape_id, theshape_idattribute fromshapes.txtfile.osm_id, theosm_idattribute from OSM route relation.geometry, the geometrical data for the OSM route relation.
Shapes that do not have a match on OSM are ignored. If that occurs, a warning is displayed during the method execution, informing about the missing geometries.