Overview
Client-mode REST API connectors for OpenStreetMap with no API key: Nominatim geocoding, reverse geocoding and OSM lookup, and OSRM routing, nearest road, duration matrix, GPS map matching and trip ordering, on the public servers or self-hosted. This is one of the templates in the OpenStreetMap: Nominatim and OSRM (self-hostable) REST API app (openstreetmap-nominatim-and-osrm). Deploy it alongside the other connectors of that app when they depend on each other (for example a token connector plus an API connector).
Auth
- schemes: [“none”]
- secrets: []
- note: Nominatim usage policy: max 1 req/s, identifying User-Agent, no bulk geocoding, ODbL attribution
Template parameters
BASE_ADDRESS default: https://router.project-osrm.org.
Events
Deploy
Get the template card (JSON withtemplate and metadata) from the broker, then deploy the connector:
BASE_ADDRESS already filled in:
-addRoute (do not include ADD METADATA).
Usage example
CallOsrmRoute by publishing a JSON payload to its request topic, and read the reply on the response topic:

