CLI utility for MapTiler Cloud
Project description
MapTiler Cloud CLI
This tool allows you upload map data into MapTiler Cloud using upload API.
Requirements
- Python version >= 3.8
- pip
- venv
Installation
pip install maptiler-cloud-cli
Authorization
You need an API token to be able to use the tool. The token can be acquired from the Credentials section of your account administration pages in MapTiler Cloud.
Specify it either on the command line or as an environment variable.
maptiler-cloud --token=MY_TOKEN ...
MAPTILER_TOKEN=MY_TOKEN; maptiler-cloud ...
Usage
Create a new tileset
To create a new tileset, use the tiles ingest
command.
maptiler-cloud tiles ingest v1.mbtiles
The command will print out the tileset ID on the last line.
:information_source: The GeoPackage must have a tile matrix set. Read the Vector tiles generating (basic) article to learn how to create a valid GeoPackage or MBTiles from the MapTiler Engine application.
:bulb: If you reach the tileset limit for your account, you will not be able to upload new tilesets, and you will get an error. Check out our plans to increase the number of tilesets you can have.
Update a tileset
You can use the tileset ID to upload a new file to the same tileset.
maptiler-cloud tiles ingest --document-id=EXISTING_TILESET_ID v2.mbtiles
:warning: This option replaces the tileset data with the data from the new file. It does NOT add the new data to the existing tileset.
To learn more about using this tool, read How to upload MBTiles or GeoPackage into MapTiler Cloud.
For more control over tileset management, you can use the Admin API. The admin API allows you to create, update or delete a tileset among other actions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file maptiler_cloud_cli-1.2.1.tar.gz
.
File metadata
- Download URL: maptiler_cloud_cli-1.2.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.0 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9b2d3a2d0e40a515b73f73fa02a3d4e36c8144353821364702daf79c11f3c47 |
|
MD5 | d63d039d147203f717bcfe4bd0bb2cb8 |
|
BLAKE2b-256 | 9f66e7e15a313e9141e83450d13b65aea5606e21ecb481b4c4f16caf727bf56b |
File details
Details for the file maptiler_cloud_cli-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: maptiler_cloud_cli-1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.0 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63bb8f53abe78c70e88926e06f3d79171dda031e61317718f64ad4e2a7359b24 |
|
MD5 | d9f39af55f7ee77d6951b2dcdcdaf0b4 |
|
BLAKE2b-256 | 118b6322e4d343401f5e9050e3285b097c89ecabb25da4f2af3afc90d1d4cee9 |