# Data licence

The **code** in this repository is MIT, see `LICENSE`.

The **track dataset** in `data/tracks-osm.json` is derived from
[OpenStreetMap](https://www.openstreetmap.org/copyright) and is therefore
licensed under the
[Open Database License v1.0](https://opendatacommons.org/licenses/odbl/1-0/).

    Track data © OpenStreetMap contributors, available under the ODbL.

ODbL is share-alike. If you publicly use a modified version of this database,
or a work produced from it, you must make the modified database available under
the same licence and keep the attribution.

## What is deliberately not in this repository

Street addresses, place names, postcodes and place IDs were produced with
Google's Geocoding, Places and Natural Language APIs. Google's terms do not
permit redistributing that content, and mixing it into an ODbL database would
create a licence conflict, because we cannot grant downstream users rights we
do not hold.

So the published dataset contains only the OpenStreetMap-derived columns. To
reproduce the enrichment, run the pipeline in `scripts/` with your own API keys.
Doing so is billed to your own Google account.

We would rather ship a dataset that is genuinely free. Replacing the Google
enrichment with public-domain sources is tracked in the README under
"Making the dataset fully open".
