Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

KotobaMedia/mvt-wrangler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVT Wrangler

Crates.io Version

A high-performance CLI tool for modifying Mapbox Vector Tile (MVT) archives with spatial and attribute filters.

We use this at KotobaMedia to make a Japan-oriented variant of Protomaps' tiles generated from OpenStreetMap without having to download and reprocess OpenStreetMap data from scratch.

Status

This repository is archived in favor of using Planetiler directly.

Please use Planetiler instead of mvt-wrangler. For a concrete example, see our Planetiler-based fork: KotobaMedia/basemaps-japan.

Install

  • Binaries
  • Build: cargo install --path .

Run

mvt-wrangler <input.pmtiles> <output.pmtiles> [options]
  • --filter/-f <geojson>: Filter definition
  • --name/-n, --description/-N, --attribution/-A: TileJSON metadata overrides

Examples:

mvt-wrangler input.pmtiles output.pmtiles
mvt-wrangler input.pmtiles output.pmtiles --filter filters.geojson

Filtering

Filters are GeoJSON FeatureCollections describing where to evaluate layer-specific expressions. See FILTERING.md for operators and structure.

License

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

About

Tools for post-processing Mapbox Vector Tiles

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages