# Data licensing

The **code** in this repository is licensed under **Apache-2.0** (see `LICENSE`).
The **data** it ships and displays comes from several sources with their own terms:

| Data | Source | License / terms | Our obligations |
|---|---|---|---|
| Street network, bike lanes, transit stops, EV chargers, admin boundary, neighborhood polygons, green areas | © OpenStreetMap contributors (via Overpass/Nominatim) | [ODbL 1.0](https://opendatacommons.org/licenses/odbl/) | Attribution + share-alike: the OSM-derived layers inside `semantic-model/examples/*.json` and `map-ui/data/*.geojson` are themselves available under **ODbL** |
| Basemap tiles (analysis / streets / dark) | [OpenFreeMap](https://openfreemap.org) (OpenMapTiles schema, OSM data) | Free for any use incl. commercial | Attribution: "OpenFreeMap © OpenMapTiles, Data from OpenStreetMap" (shown on the map) |
| Satellite imagery | Esri World Imagery | Esri terms (non-commercial without a key) | Attribution shown; an ArcGIS Location Platform key is required for commercial contexts |
| Terrain elevation | Mapzen/AWS Terrain Tiles (Open Data) | Open | Attribution |
| Weather + air quality (CAMS) | [Open-Meteo](https://open-meteo.com) | CC-BY 4.0 data; **free API = non-commercial only** | Attribution; a paid plan or self-hosting is required for commercial use of the hosted API |
| Local PM sensors | [sensor.community](https://sensor.community) | Open data (ODbL) | Attribution |
| Walking/cycling isochrones | [openrouteservice](https://openrouteservice.org) by HeiGIT | API results CC-BY 4.0 | Attribution: "© openrouteservice.org by HeiGIT" (shown in app + report) |
| Public webcam frames | LINX / Primăria Brașov (webcambrasov.ro) | Proprietary, publicly displayed | Displayed live with attribution, never stored; counting runs only in the visitor's browser. A written agreement is required before commercial use |
| Mobility figures, targets, problems | Brașov SUMP / public strategies (city documents) | Public-sector information (EU Open Data Directive / Law 109/2007) | Facts extracted with citation; documents referenced as sources in the model |

In short: **everything visual carries attribution in the app itself**, OSM-derived
datasets stay open under ODbL, and the only components with commercial-use caveats
(Esri imagery, Open-Meteo hosted API, LINX frames) are documented above with their
remedies.
