Pygeoutils

Latest version: v0.16.3

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

Scan your dependencies

Page 4 of 7

0.12.1

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

Internal Changes
~~~~~~~~~~~~~~~~
- Refactor ``arcgis2geojson`` for better readability and maintainability.
- In ``arcgis2geojson`` set the geometry to null if its type is not supported,
such as curved polylines.

0.12.0

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

Internal Changes
~~~~~~~~~~~~~~~~
- Add all the missing types so ``mypy --strict`` passes.
- Bump version to 0.12.0 to match the release of ``pygeoogc``.

0.11.7

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

Internal Changes
~~~~~~~~~~~~~~~~
- Use ``rioxarray`` for dealing with ``GeoTIFF`` binaries since ``xarray``
deprecated the ``xarray.open_rasterio`` function, as it's discussed
in this `PR <https://github.com/pydata/xarray/pull/5808>`__.
- Use ``importlib-metadata`` for getting the version instead of ``pkg_resources``
to decrease import time as discussed in this
`issue <https://github.com/pydata/xarray/issues/5676>`__.

0.11.6

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

New Features
~~~~~~~~~~~~
- Add a new function, ``xarray2geodf``, to convert a ``xarray.DataArray`` to a
``geopandas.GeoDataFrame``.

0.11.5

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

Bug Fixes
~~~~~~~~~
- Fix an issue with ``gtiff2xarray`` where the ``scales`` and ``offsets``
attributes of the output ``DataArray`` were floats rather than tuples (:issue_3dep:`30`).

Internal Changes
~~~~~~~~~~~~~~~~
- Add a new function, ``transform2tuple``, for converting ``Affine`` transforms to a tuple.
Previously, the ``Affine`` transform was converted to a tuple using ``to_gdal()`` method
of ``rasterio.Affine`` which was not compatible with ``rioxarray``.

0.11.4

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

Internal Changes
~~~~~~~~~~~~~~~~
- Use ``ujson`` for JSON parsing instead of ``orjson`` since ``orjson`` only serializes to
``bytes`` which is not compatible with ``aiohttp``.
- Convert the transform attribute data type from ``Affine`` to ``tuple`` since saving a data
array to ``netcdf`` cannot handle the ``Affine`` type.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.