Skip to main content

Convert raster imagery (orthomosaic, NDVI, NDRE) to PMTiles

Project description

raster2pm 🛰️

PyPI version Python 3.8+ License: MIT

raster → PMTiles — Convert any GeoTIFF to web-optimized map tiles in one command.

Convert orthomosaics, NDVI, NDRE, and any raster imagery to PMTiles with automatic colormap application for vegetation indices.

Why raster2pm?

  • 🗺️ One command: raster2pm input.tif -o output.pmtiles
  • 🎨 Smart colormaps: Auto-detects NDVI/NDRE and applies beautiful color ramps
  • 📊 Built-in diagnostics: Statistics, histograms, and colour warnings
  • 🚀 Memory efficient: Handles massive rasters with block-by-block processing
  • 🌐 Web-ready: Output works with MapLibre, Leaflet, OpenLayers, and pmtiles.io

Installation

# Basic installation
pip install raster2pm

# With development dependencies
pip install raster2pm[dev]

Project details


Download files

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

Source Distribution

raster2pm-0.1.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

raster2pm-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file raster2pm-0.1.0.tar.gz.

File metadata

  • Download URL: raster2pm-0.1.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for raster2pm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ea448fb57cb0625b2f7e0470e1224ca324a859aeb7d93e032994dcd14164892
MD5 5cf230101dd5bc6f0ebfa751f866e3ed
BLAKE2b-256 ac62bdcefd81b10e4858644a452077c4c4d92c1e69067a7164f1b56ff590689b

See more details on using hashes here.

File details

Details for the file raster2pm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: raster2pm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for raster2pm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c51edfc20bbdb9613f6feeedb29ac14d7b5ef099f4d380c73f0c0422946eb90f
MD5 e3578bbca55e727f667e50065cf442ea
BLAKE2b-256 e2e64c2238c1a8d2682859445aef8461d47c00851651c71a7340efd718a3360e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page