# Basemap licences (web/map/, /tiles/)

sky's map style, sprite and glyphs are served from our own origin, and our own vector tiles take over when
OpenFreeMap is unavailable (wave 1 A2, `tools/build_basemap.py`). What each part is and under which terms:

| Part | Source | Licence |
| --- | --- | --- |
| `style-dark.json` | OpenFreeMap "Dark" (`https://tiles.openfreemap.org/styles/dark`), a fork of [openmaptiles/dark-matter-gl-style](https://github.com/openmaptiles/dark-matter-gl-style), itself derived from CartoDB Basemaps | Code BSD 3-Clause, design CC BY 4.0 (OpenMapTiles); CartoDB Basemaps design CC BY 3.0; OpenFreeMap styles repo MIT ([LICENSE.md](https://github.com/hyperknot/openfreemap-styles/blob/main/LICENSE.md)). sky recolours it at runtime with its own tokens |
| `sprite/ofm*` | OpenFreeMap sprite `ofm_f384` | Maki icons CC0 1.0; the arrow from Wikimedia Commons, public domain; built with spritezero (ISC) |
| `glyphs/Noto Sans Regular/`, `glyphs/Noto Sans Bold/` | OpenFreeMap glyph PBFs (all 256 ranges) | Noto Sans, SIL Open Font License 1.1 |
| `/api/basemap/{z}/{x}/{y}.pbf` (from `sky-basemap-<date>.pmtiles` on the droplet, read by `server/basemap.py`) | Built by us with [planetiler](https://github.com/onthegomap/planetiler) (Apache 2.0) in the [OpenMapTiles](https://openmaptiles.org/) schema | Map data © OpenStreetMap contributors, [ODbL 1.0](https://www.openstreetmap.org/copyright); OpenMapTiles schema code BSD 3-Clause, design CC BY 4.0: attribution "© OpenMapTiles © OpenStreetMap contributors" (in the map's (i) while our file draws the map); Natural Earth public domain; OSM water polygons (osmdata.openstreetmap.de) ODbL; Geofabrik extracts and Overpass place nodes are OSM data (ODbL) |

The vector tiles while OpenFreeMap answers: © OpenFreeMap © OpenMapTiles, data © OpenStreetMap contributors (their
TileJSON's attribution, shown in the map's (i)). OpenFreeMap is free to use with attribution, no key.

Under ODbL, our tile file is a Produced Work; the database behind it is OpenStreetMap's, available from
openstreetmap.org. Anyone may ask us which extracts and dates went into a file: `pmtiles show` prints the build date
and description, `tools/build_basemap.py` lists the extracts.
