Route geometry
route_shapeRetrieve the geographic path of an OASA route, returning a compact summary by default or simplified coordinates/GeoJSON when needed.
Instructions
The geographic path of one OASA route. Defaults to a summary (length, bounding box, endpoints) because raw shapes run to hundreds of points; request "coords" or "geojson" only when the geometry itself is needed, and it will be simplified to the requested point budget with endpoints preserved. Covers Attica (greater Athens) only: OASA buses, trolleys, metro and tram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | summary = statistics only; coords = [lat, lon] pairs; geojson = LineString. | summary |
| max_points | No | Point budget when returning geometry. | |
| route_code | Yes | Route code from line_routes. |