mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
update readme recipe
This commit is contained in:
@@ -58,8 +58,8 @@ Example of how to create a PMTiles archive from the [Census Bureau Zip Code Tabu
|
|||||||
# use GDAL/OGR to convert SHP to GeoJSON
|
# use GDAL/OGR to convert SHP to GeoJSON
|
||||||
ogr2ogr -t_srs EPSG:4326 cb_2018_us_zcta510_500k.json cb_2018_us_zcta510_500k.shp
|
ogr2ogr -t_srs EPSG:4326 cb_2018_us_zcta510_500k.json cb_2018_us_zcta510_500k.shp
|
||||||
# Creates a layer in the vector tiles named "zcta"
|
# Creates a layer in the vector tiles named "zcta"
|
||||||
tippecanoe -zg --projection=EPSG:4326 --no-tile-compression --no-feature-limit --no-tile-size-limit -o cb_2018_us_zcta510_500k_nolimit.mbtiles -l zcta cb_2018_us_zcta510_500k.json
|
tippecanoe -zg --projection=EPSG:4326 -o cb_2018_us_zcta510_500k_nolimit.mbtiles -l zcta cb_2018_us_zcta510_500k.json
|
||||||
pmtiles convert cb_2018_us_zcta510_500k_nolimit.mbtiles cb_2018_us_zcta510_500k_nolimit.pmtiles
|
pmtiles convert cb_2018_us_zcta510_500k_nolimit.mbtiles cb_2018_us_zcta510_500k.pmtiles
|
||||||
```
|
```
|
||||||
|
|
||||||
### Uploading to Storage
|
### Uploading to Storage
|
||||||
|
|||||||
Reference in New Issue
Block a user