Convert route-planning types to GeoJSON. More...
Functions | |
| dict[str, Any] | route_to_geojson (RouteResult route) |
| Convert a calculated route to a GeoJSON feature. | |
Convert route-planning types to GeoJSON.
| dict[str, Any] route_planning.route_geojson_mapper.route_to_geojson | ( | RouteResult | route | ) |
Convert a calculated route to a GeoJSON feature.
| route | Route whose decoded shape should become a LineString. |