Morecantile

Latest version: v6.1.0

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

Scan your dependencies

Page 2 of 10

5.3.0

* enable custom decimation value for in `TileMatrixSet.custom` method (author mccarthyryanc, https://github.com/developmentseed/morecantile/pull/146)

5.2.3

* update pydantic `Field` usage to avoid deprecation in 3.0

5.2.2

* fix `id` for `WGS1984Quad` TileMatrixSet (from `WorldCRS84Quad` to `WGS1984Quad`)

5.2.1

* fix `CRS` WKT type from `string` to `Object` (PROJJSON) (ref: https://github.com/opengeospatial/2D-Tile-Matrix-Set/issues/89).

python
Before
wkt = pyproj.CRS.from_epsg(3857).to_wkt()
TileMatrixSet(
...
crs={"wkt": wkt}
)

Now
wkt = pyproj.CRS.from_epsg(3857).to_json_dict()
TileMatrixSet(
...
crs={"wkt": wkt}
)

5.2.0

* fix `CRS` parsing to allow `wkt ({"wkt": ...})` and `uri ({"uri": ...})` defined CRS

python
TileMatrixSet(
...
crs="http://www.opengis.net/def/crs/EPSG/0/3857"
)

TileMatrixSet(
...
crs={"uri": "http://www.opengis.net/def/crs/EPSG/0/3857"}
)

wkt = pyproj.CRS.from_epsg(3857).to_wkt()
TileMatrixSet(
...
crs={"wkt": wkt}
)


* update `TileMatrixSet` representation to use CRS's URI
* remove default for `TileMatrixSet.pointOfOrigin` attribute (**required**)
* add `topLeft` default for `TileMatrixSet.cornerOfOrigin` attribute
* renamed `morecantile.models.CRSType` -> `morecantile.models.CRS`

5.1.0

* Simplify bounds calculation by using `TileMatrix.cellSize` instead of `TileMatrix.scaleDenominator`
* remove `TileMatrixSet._resolution` private method

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.