Mapchete

Latest version: v2024.11.0

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

Scan your dependencies

Page 17 of 20

0.19

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

* made logging functionality now library friendly (102)
* added ``mapchete.log`` module with functions simplifying logging for user processes and
driver plugins
* ``mapchete execute``

* ``--logfile`` flag writes log files with debug level
* ``--debug`` disables progress bar & prints debug log output
* ``--verbose`` enables printing of process tile information while showing the
progress bar
* ``--max_chunksize`` lets user decide which maximum chunk size is used by
``multiprocessing``

* batch processing module

* ``mapchete._batch`` functionality absorbed into main module
* writing output is now handled by workers instead by main process
* new function ``Mapchete.batch_processor()`` is a generator which processes all of
the process tiles and returns information (i.e. processing & write times)
* ``Mapchete.batch_process()`` consumes ``Mapchete.batch_processor()`` without
returning anything
* ``quiet`` and ``debug`` flags are deprecated and removed

* ``get_segmentize_value()`` moved from ``mapchete.formats.defaults.raster_file`` to
``mapchete.io``
* use GDAL options for remote files (closing 103) per default:

* ``GDAL_DISABLE_READDIR_ON_OPEN=True``
* ``GDAL_HTTP_TIMEOUT=30``

* introduced ``mapchete.io.path_is_remote()``


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

0.18

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

* verstion 0.17 was not properly deployed, therefore nev version


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

0.17

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

* ``write_raster_window`` now returns a ``rasterio.MemoryFile()`` if path is
``"memoryfile"``
* refactoring of ``MapcheteConfig`` (99):

* mapchete configuration changes:

* ``process_zoom`` and ``process_minzoom``, ``process_maxzoom`` now have to be set via
``zoom_levels`` parameter
* process pyramid now has to be set via a ``pyramid`` dictionary at root element (78)
* pyramid type is now called ``grid`` instead of ``type``
* tile pyramids can now have custom grids (see
https://github.com/ungarj/tilematrix/blob/master/doc/tilematrix.md#tilepyramid)
* ``process_bounds`` are now called ``bounds``

* API changes:

* new attributes:

* ``init_zoom_levels`` is a subset of ``zoom_levels`` and indicates initialization
zoom levels via the ``zoom`` kwarg
* ``init_bounds`` is a subset of ``bounds`` and indicates initialization bounds via
the ``bounds`` kwarg

* deprecated attributes:

* ``crs`` is now found at ``process_pyramid.crs``
* ``metatiling`` is now found at ``process_pyramid.metatiling``
* ``pixelbuffer`` is now found at ``process_pyramid.pixelbuffer``
* ``inputs`` was renamed to ``input``
* ``process_bounds`` was renamed to ``bounds``

* deprecated methods:

* ``at_zoom()`` now called ``params_at_zoom()``
* ``process_area()`` now called ``area_at_zoom()``
* ``process_bounds()`` now called ``bounds_at_zoom()``


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

0.16

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

* added ``TileDirectory`` as additional input option (89)
* make all default output formats available in ``serve`` (63)
* remove Pillow from dependencies (related to 63)


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

0.15

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

* enabled optional ``cleanup()`` function for ``InputData`` objects when ``Mapchete`` is
closed.


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

0.14

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

* added python 3.4, 3.5 and 3.6 support


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

Page 17 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.