morecantile
Construct and use map tile grids (a.k.a TileMatrixSet / TMS).
Decision gist · record as of 2026-08-14
Yes. Morecantile is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to work with map tiles in coordinate systems other than Web Mercator, or if you're building OGC-compliant geospatial services. The library is well-established in the geospatial Python ecosystem.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; pyproj dependency may require system PROJ libraries on some platforms.
- Low friction: pure Python wheel with four runtime dependencies (attrs, click, pydantic, pyproj).
- Actively maintained with recent releases; last commit 2026-08-09.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.
last release 2026-02-04 (191 days) · last repo commit 2026-08-09 · 161 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 667,109 downloads/mo, #5,421 on PyPI
Alternatives
Verify before relying
pip install morecantile
import morecantile
tms = morecantile.tms.get("WebMercatorQuad")
print(tms.xy_bbox)
print(tms.bounds(morecantile.Tile(10, 10, 4)))- Whether pyproj's system-level PROJ dependency adds meaningful install friction on Windows or macOS.
- Performance characteristics when working with large numbers of tiles or custom TileMatrixSet definitions.
What it is and what it does
Morecantile is a library for constructing and querying map tile grids (TileMatrixSets) that conform to the OGC Two Dimensional Tile Matrix Set specification version 2.0. It extends the concept of Web Mercator tile indexing to support arbitrary coordinate reference systems and tile grid definitions. The library provides a set of built-in grids covering common projections (Web Mercator, UTM, polar stereographic, and regional systems) and allows you to define custom grids.
You use it to convert between tile coordinates and geographic or projected bounds, retrieve bounding boxes for tiles in their native CRS or in geographic coordinates, and manage tile grid metadata. It's commonly used as a foundation for tile-based geospatial services, raster tile generation, and OGC-compliant tile APIs.
Use it for
- Generate tile coordinates and bounds for raster data served in non-Web Mercator projections like UTM or polar stereographic.
- Build OGC-compliant tile servers that support multiple TileMatrixSet definitions.
- Convert between tile indices and geographic/projected coordinates for geospatial analysis.
- Integrate tile grid logic into map rendering or tile caching systems.
- Support regional mapping applications using country-specific or continent-specific tile grids.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Morecantile is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to work with map tiles in coordinate systems other than Web Mercator, or if you're building OGC-compliant geospatial services. The library is well-established in the geospatial Python ecosystem.
Install
morecantile on PyPI
Before you install
Low friction: pure Python wheel with four runtime dependencies (attrs, click, pydantic, pyproj). Actively maintained with recent releases; last commit 2026-08-09.
Requires Python 3.11 or later; pyproj dependency may require system PROJ libraries on some platforms.
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.
Quickstart
pip install morecantile
import morecantile
tms = morecantile.tms.get("WebMercatorQuad")
print(tms.xy_bbox)
print(tms.bounds(morecantile.Tile(10, 10, 4)))
Verify before relying
- Whether pyproj's system-level PROJ dependency adds meaningful install friction on Windows or macOS.
- Performance characteristics when working with large numbers of tiles or custom TileMatrixSet definitions.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesattrsclickpydanticpyproj |
| Maintenance | Actively maintained 191 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 667,109 / month, #5,421 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: GIS |
Evidence: morecantile-7.0.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tile matrix set”
- morecantileConstruct and work with map tile grids following the OGC…
- cogeo-mosaicCreates and manages mosaics of Cloud Optimized GeoTIFF files…
- pystac-ext-renderExtends PySTAC to support the Render Extension specification,…
Give your agent the search over MCP, or paste the wish link into any chat.
More GIS packages
Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.
pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.
GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.
Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.
geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.
Install it if you need geocoding or distance calculations in your application.
Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.
h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.
See also supermorecado · mercantile · contextily · pmtiles · pyGeoTile · cogeo-mosaic · titiler-mosaic · titiler-extensions · rio-tiler · GridDataFormats