This basemap profile is based on OpenMapTiles v3.13.1. See README.md in the parent directory for instructions on how to run.
transportation_name layeragg_stop tag not implemented yet in the poi layerbrunnel tag is excluded from transportation_name layer to avoid breaking apart long transportation_name
lines, to revert this behavior set --transportation-name-brunnel=truerank field on mountain_peak linestrings only has 3 levels (1: has wikipedia page and name, 2: has name, 3: no name
or wikipedia page or name)rank field on mountain_peak linestrings only has 3 levels (1: has wikipedia page and name, 2: has name, 3: no name
or wikipedia page or name)id field on water polygons is only populated for openstreetmap lakes, not natural earth lakes at lower zoom levelsGenerate.java generates code in the generated package from an OpenMapTiles tag in GitHub:
The layers package contains a port of the SQL logic to generate each layer from OpenMapTiles. Layers define how source features (or parsed imposm3 table rows) map to vector tile features, and logic for post-processing tile geometries.
BasemapProfile dispatches source features to layer handlers and merges the results.
BasemapMain is the main driver that registers source data and output location.
To run Generate.java, use scripts/regenerate-openmaptiles.sh script with the
OpenMapTiles release tag:
./scripts/regenerate-openmaptiles.sh v3.13.1
Then follow the instructions it prints for reformatting generated code.
If you want to regenerate from a different repository than the default openmaptiles, you can specify the url like this:
./scripts/regenerate-openmaptiles.sh v3.13.1 https://raw.githubusercontent.com/openmaptiles/openmaptiles/
OpenMapTiles code is licensed under the BSD 3-Clause License, which appears at the top of any file ported from OpenMapTiles.
The OpenMapTiles schema (or “look and feel”) is licensed under CC-BY 4.0, so any map derived from that schema must visibly credit OpenMapTiles . It also uses OpenStreetMap data, so you must visibly credit OpenStreetMap contributors.