iduedu.routes_in_area¶
- iduedu.routes_in_area(graph, area)[source]¶
Routes of the graph with a travel edge or a stop in an area.
- Parameters:
graph – Graph with a
routestable.area (
BaseGeometry|GeoSeries|GeoDataFrame) – A shapely geometry in EPSG:4326 (longitude, latitude), or a GeoSeries or GeoDataFrame with its own CRS, as forclip_urban_graph(); several geometries are united.
- Return type:
- Returns:
The rows of
graph.routesthat have an edge or a stop node intersecting the area.- Raises:
ValueError – If the graph has no routes table.