Pygeoogc

Latest version: v0.16.3

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

Scan your dependencies

Page 1 of 7

0.16.3

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

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.

0.15.2

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

New Features
~~~~~~~~~~~~
- Added RESTfulURLs for FEMA's National Flood Hazard Layer (NFHL) service.
Contributed by `Fernando Aristizabal <https://github.com/fernando-aristizabal>`__.
(:pull_ogc:`62`)
- Now, ``RetrySession`` can be used as a context manager. This is useful for
closing the session after using it. For example:

.. code-block:: python

from pygeoogc import RetrySession

with RetrySession() as session:
r = session.get("https://httpbin.org/get").json()

Internal Changes
~~~~~~~~~~~~~~~~
- Improve the example in the docstring of ``traverse_json`` function.
- Improve exception handling in the ``ArcGISRESTful`` class and return
a more informative error message.

0.15.1

-------------------
From release 0.15 onward, all minor versions of HyRiver packages
will be pinned. This ensures that previous minor versions of HyRiver
packages cannot be installed with later minor releases. For example,
if you have ``pygeoogc==0.14.x`` installed, you cannot install
``pygeoogc==0.15.x`` series. This is to ensure that the API is
consistent across all minor versions.

New Features
~~~~~~~~~~~~
- Add the STN Flood Event Data URL to the list of RESTfuls.
Contributed by `Fernando Aristizabal <https://github.com/fernando-aristizabal>`_.
(:pull_ogc:`59`)
- Add the link for the eHydro's web service.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.