Pygeoogc

Latest version: v0.16.2

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

Scan your dependencies

Page 1 of 7

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.

0.15.0

-------------------
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
~~~~~~~~~~~~
- For now, retain compatibility with ``shapely<2`` while supporting
``shapley>=2``.

Bug Fixes
~~~~~~~~~
- Fix an issue in ``WFS`` where the ``getfeature_bygeom`` method
fails if the requested web service does not have ``geometry_column``
attribute in its schema. This release addresses this issue by
trying to find the name from other attributes in the schema.
If it fails to find, it raises a ``ValueError``.
- Catch an edge case in ``match_crs`` function where the input is
a list of coordinates of length 4.
- Give precedence to non-default arguments for caching related arguments
instead of directly getting them from env variables. This is to avoid
the case where the user sets the env variables but then passes different
arguments to the function. In this case, the function should use the
passed arguments instead of the env variables.

Internal Changes
~~~~~~~~~~~~~~~~
- Remove ``pyyaml`` as a dependency since it is not used anymore.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.