Mapchete

Latest version: v2024.5.2

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

Scan your dependencies

Page 15 of 19

0.24

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

* breaking changes:

* all Python versions < 3.5 are not supported anymore!

* default drivers now can handle S3 bucket outputs
* file based output drivers write output metadata into ``metadata.json``
* output directories can be used as input for other processes if they have a
``metadata.json``
* if Fiona driver has 'append' mode enabled, index entries get appended instead of writing
a whole new file


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

0.23

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

* breaking change:

* for CLI utilities when providing minimum and maximum zoom, it has to have the form of
``5,6`` instead of ``5 6``

* remove deprecated ``memoryfile`` usage for ``write_raster_window()``
* fix ``s3`` path for ``mapchete index``
* add ``snap_bounds``, ``clip_bounds`` functions & ``effective_bounds`` to config
* made user processes importable as modules (115)
* changed ``process_file`` paremeter to ``process``
* added ``mapchete.processes`` entry point to allow other packages add their processes
* switched from argparse to click
* ``execute`` and ``index`` commands accept now more than one mapchete files
* added ``mapchete.cli.commands`` entry point to allow other packages have ``mapchete``
subcommands


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

0.22

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

* don't pass on ``mapchete_file`` to ``execute()`` kwargs
* apply workaround for tqdm: https://github.com/tqdm/tqdm/issues/481


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

0.21

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

* breaking change:

* old-style Process classes are not supported anymore

* user process accepts kwargs from custom process parameters
* process_file is imported once when initializing the process (114)
* when validating, import process_file to quickly reveal ``ImporError``
* fixed ``execute --point``
* also check for ``s3`` URLs when adding GDAL HTTP options
* default ``max_chunksize`` to 1 (113)


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

0.20

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

* fixed geometry reprojection for LineString and MultiLineString geometries (use buffer
buffer to repair geometries does not work for these types)
* added ``RasterWindowMemoryFile()`` context manager around ``rasterio.io.MemoryFile``
(105)
* passing on dictionary together with numpy array from user process will write the
dictionary as GeoTIFF tag (101)
* added ``--wkt_geometry`` to ``execute`` which enables providing process bounds via WKT
* added ``--point`` to ``execute`` which enables providing a point location to be
processed
* added ``--no_pbar`` to ``execute`` to disable progress bar
* ``mapchete index`` command now can create vector index files (``GeoJSON`` and
``GeoPackage``) and a text file containing output tile paths
* ``output.tiles_exist()`` now has two keyword arguments ``process_tile`` and
``output_tile`` to enable check for both tile types
* restructuring internal modules (core and config), no API changes


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

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()``


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

Page 15 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.