Introduction
DCS (Distance Calculation Service) is an app which exposes REST APIs endpoints to calculate distances and traces.
It does a job similar to Google Maps. The DCS is meant to be called by other apps in AMCS.
DCS is deployed and maintained by AMCS for AMCS (no license fee). it can take detailed circumstances such as Velocity Profile and Link to Link Costs. These circumstances can be tweaked to reflect a bike, a car or a truck driving on the roads.
When calling DCS endpoints, you need to specify which roadNetId
you want to
use. For example "dk" for "Denmark" or "ie" for "Ireland". DCS exposes an
endpoint giving all the available roadNetId
's.
Currently, DCS is deployed in different stages
- DEV (development, for the DCS developers. This may break.)
- Europe only: Documentation - Swagger
- STG (staging, for testing purpose, of other AMCS teams)
- Europe: Documentation - Swagger
- Australia: Documentation - Swagger
- North America: Documentation - Swagger
- PRD (production, always available)
- Europe: Documentation - Swagger
- Australia: Documentation - Swagger
- North America: Documentation - Swagger