post https://api.searoutes.com/v3/routeGeometries
Generate the geometry of one or multiple routes, in GeoJSON format.
Unlike /v3/routes/{id}/geometry, this endpoint does not require a route snapshot id, but returns geometries based on the route parameters provided in the request body.
Notes and considerations
- Route types:
shortest→ shortest feasible path, considering traffic separation schemes and port entries.historical→ reconstructs past voyages around the givendepartureDateusing AIS data.proforma→ based on carrier service plans.schedule→ based on upcoming carrier vessel departures.
- The response follows the GeoJSON standard.
- Use this endpoint when you want the geometry directly from input parameters, without creating a snapshot
id.
Support endpoints and resources
- The
idreturned in the response of/v3/routeGeometriesis also a valid route snapshotidand can be reused with sub-resources such asfuel,emission, orgeometry.