Skip to main content
Company Logo

MapTiler Cloud CLI

This tool allows you upload map data into MapTiler using upload API.


📖 Documentation   🌐 Website   🔑 Get Service token



Table of Contents

📦 Installation

Requirements

  • Python version >= 3.8
  • pip
  • venv
pip install maptiler-cloud-cli

🚀 Basic Usage

Authorization

You need an Service token to be able to use the tool. The token can be acquired from the Credentials section of your account administration pages in MapTiler.

Specify it either on the command line or as an environment variable.

maptiler-cloud --token=MY_TOKEN ...
MAPTILER_TOKEN=MY_TOKEN; maptiler-cloud ...

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.

For more control over tileset management, you can use the MapTiler Service API. The admin API allows you to create, update or delete a tileset among other actions.


💬 Support




🤝 Contributing

We love contributions from the community! Whether it's bug reports, feature requests, or pull requests, all contributions are welcome:

  • Fork the repository and create your branch from main
  • If you've added code, add tests that cover your changes
  • Ensure your code follows our style guidelines
  • Give your pull request a clear, descriptive summary
  • Open a Pull Request with a comprehensive description

📄 License

This project is licensed under the MIT License – see the LICENSE file for details.


🙏 Acknowledgements

This project is built on the shoulders of giants:

  • MapTiler Service API – MapTiler Service API gives you full access to your account including write operations
  • Python – A programming language that lets you work quickly and integrate systems more effectively

Get Your API Key FREE
Start building with 100,000 free map loads per month ・ No credit card required.


💜 Made with love by the MapTiler team

WebsiteDocumentationGitHub

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maptiler_cloud_cli-1.3.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maptiler_cloud_cli-1.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file maptiler_cloud_cli-1.3.0.tar.gz.

File metadata

  • Download URL: maptiler_cloud_cli-1.3.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.11 Linux/7.1.8-arch1-3

File hashes

Hashes for maptiler_cloud_cli-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0bdb17b97372bae6a08ea0148ee341b71bbb7605c483406e1fe5e00c9ffc2a43
MD5 7a5fa6c1952994635519cf26bde7bcf9
BLAKE2b-256 6a8527f62daf5af8dd582d2f3d452ce1cebda9e4c266b0db15117446d80fe4e9

See more details on using hashes here.

File details

Details for the file maptiler_cloud_cli-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: maptiler_cloud_cli-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.11 Linux/7.1.8-arch1-3

File hashes

Hashes for maptiler_cloud_cli-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7948eaf548df4477707856407e6ca2fa3f954e41a5b3db680dd6ba01eae84bc0
MD5 baf20fd992a3b8d545cdc12d6c8c6935
BLAKE2b-256 49227ade70baeb37c7280b0462b6ba8a6eec64e681160440d87492d4c5a0a6fa

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 files

1.2.1

2 files

1.2.0

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page