Pygeoogc

Latest version: v0.18.0

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

Scan your dependencies

Page 1 of 8

0.18.0

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

New Features
~~~~~~~~~~~~
- Update the links for NLDI and PyGeoAPI web services to the latest addresses.

Bug Fixes
~~~~~~~~~
- Fix a bug in ``WFS.getfeature_bygeom`` where if the input geometry is in
a geographic CRS, the function fails to transform it correctly to the
web service's CRS.

Breaking Changes
~~~~~~~~~~~~~~~~
- Drop support for Python 3.8 since its end-of-life date is October 2024.
- Remove all exceptions from the main module and raise them from the
``exceptions`` module. This is to declutter the main module and make
it easier to maintain.

0.17.1

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

New Features
~~~~~~~~~~~~
- Update the links for FEMA web services to the latest addresses.
- When the CRS of a WMS cannot be parsed throw a more informative error
regarding the service being down (:issue_hydro:`122`).

Internal Changes
~~~~~~~~~~~~~~~~
- Drop support for Python 3.8 since its end-of-life date is October 2024.

0.17.0

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

Internal Changes
~~~~~~~~~~~~~~~~
- Make ``streaming_download`` more robust when encoutring request issues by
returning ``None`` for those links that have failed to be processed,
instead of throwing exceptions. So, for example, if only one link fails,
the function will return a list of paths with ``None`` for the failed link.
- In all requests by geometries, set the geometry precision to 6 decimal points
to avoid issues with large decimal points.
- Add the ``exceptions`` module to the high-level API to declutter
the main module. In the future, all exceptions will be raised from
this module and not from the main module. For now, the exceptions
are raised from both modules for backward compatibility.

0.16.2

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

Internal Changes
~~~~~~~~~~~~~~~~
- Remove the deprecated AirMap URL.

0.16.1

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

Bug Fixes
~~~~~~~~~
- ``pyproj`` uses its own env variables for SSL certification. This release
fixes the issue with ``pyproj`` not being able to download the grid database
when using DOI SSL certification file. This release uses
``pyproj.network.set_ca_bundle_path`` for setting the SSL certification file
given by the user via ``HYRIVER_SSL_CERT`` env variable.
- Fix an issue in ``WFS.getfeature_byid`` where the ``max_nrecords`` argument
was not being used correctly, thus resulting in large requests to fail.

Internal Changes
~~~~~~~~~~~~~~~~
- For ``ServiceURL`` class, use ``dataclass`` instead for better performance
and consistency.

0.16.0

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

New Features
~~~~~~~~~~~~
- Add a new arg to ``WMS.getmap_bybox`` called ``tiff_dir`` for storing
the responses from a WMS request as a GeoTIFF file on disk instead of
keeping all responses in memory. When this arg is given the function
return a list of paths to these files. This is useful for large requests
where the response is too large to be kept in memory. You can create
a VRT file from these files using ``pygeoutils.gtiff2vrt`` function.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.