This repository has two core parts:
tiles/: A Planetiler build profile that generatesplanet.pmtilesfrom OpenStreetMap and Natural Earth in 2-3 hours on a modest computer.base/: A TypeScript package that generates MapLibre GL styles, in multiple color themes, that can be used vianpmor exported as JSON.
You will need Java 17+ and Maven installed, which is available in most package managers.
Generate and inspect a basemap PMTiles of any named area:
- Clone this repository.
 
git clone [email protected]:protomaps/basemaps.git- change to the 
tilesdirectory, download dependencies and compile the JAR: 
mvn clean package- Download and generate 
monaco.pmtilesin the current directory: 
java -jar target/*-with-deps.jar --download --force --area=monaco
- Switch to the 
compare/directory to run the map compare tool: 
cd compare
npm run serve
BSD 3-clause. The organization of layers and features used by these map styles, as well as the "look and feel" of the resulting maps, are licensed CC0. However, maps using the Protomaps web map service or another OpenStreetMap-based service will be subject to the terms of the Open Database License.