Morecantile

Latest version: v6.2.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 11

4.0.0a1

* Fix possible bug when a TileMatrixSet does not have `id`

4.0.0a0

* Remove assumption tile rows/cols are ordered in `TileMatrixSet.tiles()` method (author fsvenson, https://github.com/developmentseed/morecantile/pull/104)
* switch to **TMS 2.0** specification (author dchirst, https://github.com/developmentseed/morecantile/pull/101). See https://developmentseed.org/morecantile/tms-v2/ for more info.
* remove `NZTM2000` TileMatrixSet (ref: https://github.com/developmentseed/morecantile/issues/103)
* add `rasterio_geographic_crs` to export TMS's geographic CRS to Rasterio's CRS object (author AndrewAnnex, https://github.com/developmentseed/morecantile/pull/109)
* add `geographic_crs` property in the TileMatrixSet model to return the private `_geographic_crs` attribute
* add cache LRU layer on top of `TileMatrixSet.bbox` method
* changed the input type in `morecantile.defaults.TileMatrixSets.register()` from `Sequence[TileMatrixSet]` to `Dict[str, TileMatrixSets]`

python
my_custom_tms = ...

before
defaults = morecantile.tms.register([my_custom_tms])

now
defaults = morecantile.tms.register({"MyCustomGrid": my_custom_tms})


* made `id` and `title` optional in `morecantile.TileMatrixSet.custom()` method

python
crs = CRS.from_epsg(3031)
extent = [-948.75, -543592.47, 5817.41, -3333128.95] From https:///epsg.io/3031

before
tms = morecantile.TileMatrixSet.custom(extent, crs)
print(tms.id, tms.title)
>>> "Custom", "Custom TileMatrixSet"

now
tms = morecantile.TileMatrixSet.custom(extent, crs)
print(tms.id, tms.title)
>>> None, None


* remove `boundingBox` in TileMatrixSet definition when created with `morecantile.TileMatrixSet.custom`

3.4.0

* [backported from 4.0] Remove assumption tile rows/cols are ordered in `TileMatrixSet.tiles()` method (author fsvenson, https://github.com/developmentseed/morecantile/pull/104)
* [backported from 4.0] add `rasterio_geographic_crs` to export TMS's geographic CRS to Rasterio's CRS object (author AndrewAnnex, https://github.com/developmentseed/morecantile/pull/109)
* [backported from 4.0] add `geographic_crs` property in the TileMatrixSet model to return the private `_geographic_crs` attribute
* [backported from 4.0] add cache LRU layer on top of `TileMatrixSet.bbox` method

3.3.0

* sort default TMS (author jlaura, https://github.com/developmentseed/morecantile/pull/98)
* Switch to ruff for linting and fixing linting issues

3.2.5

* Do not parse TMS json files automatically but wait for the TMS to be used

3.2.4

* fix `CanadianNAD83_LCC`, `WorldMercatorWGS84Quad` and `EuropeanETRS89_LAEAQuad` TMS
* add `title` option in `morecantile custom` CLI

Page 5 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.