# Map data & accuracy

> Where Wayline's routing and geocoding data comes from, how often it is updated, how drive times are estimated and how to report a wrong route.

Source: https://www.wayline.cloud/docs/concepts/map-data

## Data source

Wayline routes on [OpenStreetMap](https://www.openstreetmap.org/) (OSM) data using the Wayline routing engine, with a region-tuned profile per vehicle type (see [Routing profiles & drive times](/docs/concepts/profiles)). Geocoding uses the open-source [Photon](https://github.com/komoot/photon) engine on the same OSM data. OSM is maintained by millions of contributors and is the map behind many major products.

Map data © [OpenStreetMap contributors](https://www.openstreetmap.org/copyright), available under the Open Database License. Show this attribution wherever you display routes or results.

### Data sources

In Bangladesh, OpenStreetMap is the base and these open datasets fill its gaps:

| Data                                              | Source                                                                                                        | License             | Used for                                                                                                                                  |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Roads missing from OSM (~53,800 km)               | [Microsoft RoadDetections](https://github.com/microsoft/RoadDetections), detected from satellite imagery      | ODbL                | Routing and the map (static maps, tiles). Narrow detected roads (under 6 m) are used by the `motorcycle` profile only                                                      |
| Villages, localities, markets                     | [GeoNames](https://www.geonames.org/)                                                                         | CC BY 4.0           | Place names (`source: "geonames"`) and ~33,000 village labels on the map                                                                                                        |
| Shops, schools, mosques, clinics and other places | [Overture Maps Places](https://docs.overturemaps.org/guides/places/) (Meta, Microsoft, Foursquare and others) | CDLA Permissive 2.0 | Place names (`source: "overture"`); ~22,000 schools, clinics, pharmacies and bus stations on the map                                                                                                        |
| Upazila and union boundaries                      | Bangladesh Bureau of Statistics, via [HDX COD-AB](https://data.humdata.org/dataset/cod-ab-bgd)                | CC BY-IGO           | `admin_areas` where OSM has no boundary (`source: "bbs"`). Some unions are approximated from official centre points (`approximate: true`) |

Each result says where it came from in its `source` field. Map images and tiles credit "© OpenStreetMap contributors"; the village and landmark labels on them also come from GeoNames (CC BY 4.0) and Overture Maps (CDLA Permissive 2.0), credited here.

## Update cadence

Each region is rebuilt from a fresh OSM extract on a regular schedule and swapped in with zero downtime. The data date is listed on the [Coverage page](/coverage), and every response includes `map_version`.

## What drive times include

Drive times are **typical daytime estimates** per region: they use road class, regional speed tables (with slower tiers inside large cities), speed limits, driving side and turn penalties. They do **not** include live traffic, weather, incidents or time of day, so rush-hour trips can still be longer and late-night trips shorter. Details are on [Routing profiles & drive times](/docs/concepts/profiles).

## Known limitations

- Profiles: car everywhere; motorcycle where the region lists it. No trucks or walking yet.
- Vehicle size limits are applied only when the road is tagged with them in OSM.
- Newly built roads appear after they are mapped in OSM and the next rebuild.
- Private or gated roads may be routable if not tagged as such in OSM.

## Reporting a wrong route

Contact [support](/docs/support) with the `request_id`, the coordinates and what you expected. If the issue is in the map data, we will help fix it in OpenStreetMap so it improves for everyone; fixes appear after the next rebuild of that region.
