Skip to content

Commit 5e34a71

Browse files
committed
Update docs to refer to rio-pmtiles instead of rio-mbtiles.
1 parent e544cbb commit 5e34a71

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: pmtiles/create.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,18 @@ the [`pmtiles` command line tool](/pmtiles/cli) converts MBTiles to PMTiles with
3232

3333
## GeoTIFF
3434

35-
Using a file from [OSGeo's GeoTIFF samples](https://download.osgeo.org/geotiff/samples/) and the [rio-mbtiles](https://github.com/mapbox/rio-mbtiles) Python tool:
35+
The [rio-pmtiles](https://pypi.org/project/rio-pmtiles/) package is a plugin for the [Rasterio](https://rasterio.readthedocs.io/en/stable/) python library and CLI.
36+
37+
Using a file from [OSGeo's GeoTIFF samples](https://download.osgeo.org/geotiff/samples/):
3638

3739
```sh
3840
# convert single-band to 3-band RGB GeoTIFF
3941
gdal_translate -expand rgb input.tif input_rgb.tif
4042

41-
# in this example create 512x512 PNG tiles from zooms 0 to 16.
42-
rio mbtiles input_rgb.tif output.mbtiles --format PNG --zoom-levels 0..16 --tile-size 512 --resampling bilinear
43+
pip install rio-pmtiles
4344

44-
pmtiles convert output.mbtiles output.pmtiles
45+
# in this example create 512x512 PNG tiles from zooms 0 to 16.
46+
rio pmtiles input_rgb.tif output.pmtiles --format PNG --zoom-levels 0..16 --tile-size 512 --resampling bilinear
4547
```
4648

4749
## GDAL

0 commit comments

Comments
 (0)