Concepts
Regions & coverage
How Wayline selects a routing region from your coordinates, what OUT_OF_COVERAGE and CROSS_REGION_REQUEST mean, and how to check coverage in code.
Wayline is organized into regions. A region is one OpenStreetMap extract, one routing dataset and one boundary polygon. The current list is on the Coverage page and available from GET /v1/coverage.
Enabled regions today:
- Bangladesh — region code
bd
How a region is chosen
For every request the gateway checks which enabled region's boundary contains all of the request's points:
- All points in one region → routed on that region's dataset. The region code is returned in the
regionfield and theX-Regionheader. - A point outside every region →
400 OUT_OF_COVERAGE. - Points in different regions →
400 CROSS_REGION_REQUEST.
Neither error is billed.
Checking coverage in code
curl "https://api.wayline.cloud/v1/coverage"The response lists each region's code, name, bounding box and map version. Bounding boxes are a quick pre-filter; the boundary polygon is authoritative.
Map versions
Each region has a map_version like 20261121-2330 (UTC build time). Responses include it so you can reproduce results and invalidate your own caches when the map changes. Map updates roll out with zero downtime.