Mapchete

Latest version: v2024.5.2

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

Scan your dependencies

Page 14 of 19

0.30

Not secure
-----------------
* fixed raise of ``FileNotFounderror`` on ``mapchete.io.raster.read_raster_no_crs()``
* fixed overview ``get_parent()`` on zoom 0 in batch processing
* sort processes alphabetically in ``mapchete processes``
* always raise ``FileNotFoundError`` if input file does not exist
* wait for 1 second between retry attempts on file read error
* added ``--overviews`` and ``--overviews-resampling-method`` to ``mapchete convert``
* fixed overview generation when output pixelbuffer was provided (220)
* remote reading fixes (219)

* add GDAL HTTP options
* handle ``AccessDenied`` exception which could occur if after an ``RasterioIOError`` a check is run if the file even exists
* increased required minimum NumPy version to 1.16
* pass on output parameters to mapchete process (215, fixes 214)


-----------------

0.29

Not secure
-----------------
* fixed convert on single remote files (205)
* fixed ``FileNotFoundError`` on ``driver_from_file()`` (201)
* fixed zoom level order when processing multiple zooms (207)
* inputs get intialized as readonly if only overviews are built (140)
* AWS secrets get obfuscated in logs (203)


-----------------

0.28

Not secure
-----------------

* breaking changes

* output drivers must now provide ``OutputDataWriter`` and ``OutputDataReader`` classes instead of a single ``OutputData`` class
* ``OutputDataWriter.close()`` method must accept ``exc_type=None, exc_value=None, exc_traceback=None`` keywords
* ``mapchete pyramid`` CLI was removed and is replaced by the more versatile ``mapchete convert`` (157, 192)
* all CLI multiword options are separated by an hyphen (``-``) instead of underscore (``_``) (189)

* overview tiles get also updated if child baselevel tile changes (179)
* on ``batch_process()`` check which process output exists and only use parallelization for process tiles which will be processed (179)
* fixed ``area_at_zoom()`` when using input groups (181)
* fixed single GeoTIFF output bounds should use process area (182)
* fixed YAML warning (167)
* inputs preserve order (176)
* enabled writing into single GeoTIFF files (175)
* enabled multiprocessing spawn method (173)
* extracted ``execute()`` logic to ``TileProcess`` class (173)
* process workers now only receive objects and parameters they need (173)
* parsing mapchete input does not fail if zoom levels do not match
* enable other projections again for GeoJSON output (closing 151)
* let rasterio & fiona decide whether single file can be opened (186)
* provide option to show less content on CLI mapchete processes (165)
* automatically detect loggers from registered mapchete packages and user process files
* enable drivers which do not handle pure NumPy arrays or feature lists
* ``OutputData`` classes have new ``output_valid()``, ``output_cleaned()`` and ``extract_subset()`` methods
* ``copy=False`` flag has been added to all NumPy ``.astype()`` calls to avoid unnecessary copying of arrays in memory
* extra requirements have been removed from ``requirements.txt``
* setup.py uses now ``find_packages()`` function to detect subpackages
* minimum required NumPy version is now 1.15


-----------------

0.27

Not secure
-----------------

* enable reading from output tile directories which have a different CRS
* enable GeoPackage as single file input
* fixed antimeridian shift check
* added retry decorator to read functions & added ``get_gdal_options()`` and
``read_raster_no_crs()`` functions
* pass on ``antimeridian_cutting`` from ``reproject_geometry()`` to underlying Fiona
function
* fix transform shape on non-square tiles (145)
* fixed VRT NODATA property, use GDAL typenames
* ``mapchete index`` shows progress bar for all tiles instead per zoom level and takes
``--point`` parameter
* tile directories now requires ``resampling`` in ``open()``, not in ``read()``
* added ``mapchete.processes.convert``
* use WKT CRS when writing VRT (closing 148)
* updated license year
* ``clean_geometry_type()`` raises ``GeometryTypeError`` if types do not match instead of
returning ``None``
* default log level now is ``logging.WARNING``, not ``logging.ERROR``


-----------------

0.26

Not secure
-----------------

* enable VRT creation for indexes
* added ``--vrt`` flag and ``--idx_out_dir`` option to ``mapchete execute``
* renamed ``--out_dir`` to ``--idx_out_dir`` for ``mapchete index``
* ``BufferedTile`` shape (``height``, ``width``) and bounds (``left``, ``bottom``,
``right`` and ``top``) properties now return correct values
* ``BufferedTile.shape`` now follows the order ``(height, width)`` (update from
``tilematrix 0.18``)
* ``ReferencedRaster`` now also has a ``bounds`` property, take caution when unpacking
results of ``create_mosaic()``!
* ``create_mosaic()``: use tile columns instead of tile bounding box union to determine
whether tiles are passing the Antimeridian; fixes 141


-----------------

0.25

Not secure
-----------------

* use ``concurrent.futures`` instead of ``multiprocessing``
* make some dependencies optional (Flask, boto3, etc.)
* speed up ``count_tiles()``
* ``execute()`` function does not require explicit ``**kwargs`` anymore


-----------------

Page 14 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.