Skip to content

Commit

Permalink
Add details on basemaps build and tilemaker to pmtiles/create
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Dec 21, 2024
1 parent 54a0daf commit 05fbef8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pmtiles/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,13 @@ ogr2ogr -dsco MINZOOM=0 -dsco MAXZOOM=15 -f "PMTiles" filename.pmtiles "PG:host=
```

* `MAXZOOM=15` is sufficient for street-level mapping. Choosing less detail with a lower `MAXZOOM` will reduce the size of the final file.

## protomaps/basemaps

The [basemaps](https://github.com/protomaps/basemaps) repository on GitHub contains a java [Planetiler](https://github.com/onthegomap/planetiler) profile for generating planet-scale PMTiles from OpenStreetMap. The layers in this tileset are documented at [Basemap Layers](/basemaps/layers) and daily builds can be downloaded for free from [maps.protomaps.com/builds](https://maps.protomaps.com/builds).

Run the basemaps program on your own computer to modify the layers or generate only one specific area.

## Tilemaker

[Tilemaker](https://github.com/systemed/tilemaker) is a program for creating basemap tilesets from OpenStreetMap, though not ones that match the layers in the Protomaps [Basemap Layers](/basemaps/layers). Currently it is recommended only for small areas since the PMTiles index structure is not as optimized as the [Protomaps basemaps](#protomaps/basemaps) generation tool.

0 comments on commit 05fbef8

Please sign in to comment.