diff --git a/pmtiles/create.md b/pmtiles/create.md index f2ab84f..c5a3483 100644 --- a/pmtiles/create.md +++ b/pmtiles/create.md @@ -64,7 +64,7 @@ GDAL has native support for PMTiles starting with version 3.8.0 (2023-11-13), se GDAL's [`ogr2ogr`](https://gdal.org/programs/ogr2ogr.html#ogr2ogr) tool supports a wide range of formats as input for creating PMTiles. Below are examples of generating PMTiles from a Shapefile or multiple PostgreSQL/PostGIS tables. ```sh -# Convert shapefile to to pmtiles +# Convert shapefile to pmtiles ogr2ogr -dsco MINZOOM=10 -dsco MAXZOOM=15 -f "PMTiles" filename.pmtiles my_shapes.shp # Merge all PostgreSQL/PostGIS tables in a schema into a single PMTiles file. @@ -81,4 +81,4 @@ Run the basemaps program on your own computer to modify the layers or generate o ## 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). The PMTiles archives that Tilemaker produces are currently not clustered, which may result in large, slower fetches when decoding in a web browser. For production use you should optimize the archive with [pmtiles cluster](/pmtiles/cli#cluster). \ No newline at end of file +[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). The PMTiles archives that Tilemaker produces are currently not clustered, which may result in large, slower fetches when decoding in a web browser. For production use you should optimize the archive with [pmtiles cluster](/pmtiles/cli#cluster).