mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
UPLOAD recipes
This commit is contained in:
14
README.md
14
README.md
@@ -62,6 +62,20 @@ Example of how to create a PMTiles archive from the [Census Bureau Zip Code Tabu
|
|||||||
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_nolimit.pmtiles
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Uploading to Storage
|
||||||
|
|
||||||
|
Using the [PMTiles command line tool](http://github.com/protomaps/go-pmtiles):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pmtiles upload LOCAL.pmtiles "s3://BUCKET_NAME?endpoint=https://example.com®ion=region" REMOTE.pmtiles
|
||||||
|
```
|
||||||
|
|
||||||
|
Using [RClone](https://rclone.org) (do `rclone config` first)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
rclone copyto LOCAL.pmtiles r2:/BUCKET/REMOTE.pmtiles --progress --s3-chunk-size=256M --s3-upload-concurrency=2
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The reference implementations of PMTiles are published under the BSD 3-Clause License. The PMTiles specification itself is public domain, or under a CC0 license where applicable.
|
The reference implementations of PMTiles are published under the BSD 3-Clause License. The PMTiles specification itself is public domain, or under a CC0 license where applicable.
|
||||||
|
|||||||
Reference in New Issue
Block a user