Skip to content

Releases: hyriver/pygeoogc

v0.11.2

19 Aug 16:39
Compare
Choose a tag to compare

Release Notes

Internal Changes

  • Simplify the retry logic ArcGISRESTFul by making it run four times and making sure that the last retry is one object id per request.

v0.11.1

31 Jul 05:26
Compare
Choose a tag to compare

Release Notes

The highlight of this release is migrating to use AsyncRetriever that
can improve the network response time significantly. Another highlight
is a major refactoring of ArcGISRESTFul that improves performance and
reduce code complexity.

New Features

  • Add a new method to ArcGISRESTFul class for automatically retrying
    the failed requests. This private method plucks out individual features that were in a failed request with several features. This happens when there are some object IDs that are not available on the server, and they are included in the request. In these situations the request will fail, although there are valid object IDs in the request. This method will pluck out the valid object IDs.
  • Add support for passing additional parameters to WMS requests such
    as styles.
  • Add support for WFS version 1.0.0.

Internal Changes

  • Migrate to AsyncRetriever from requests-cache for all the web
    services.
  • Rename ServiceError to ServiceUnavailable and ServerError to
    ServiceError Since it's more representative of the intended exception.
  • Raise for response status in RetrySession before the try-except
    block so RequestsException can raised and its error messaged be parsed.
  • Deprecate utils.threading since all threading operations are now
    handled by AsyncRetriever.
  • Increase test coverage.

v0.11.0

18 Jun 19:39
Compare
Choose a tag to compare

Release Notes

New Features

  • Add support for requesting LineString polygon for ArcGISRESTful.
  • Add a new argument called distance to ArcGISRESTful.oids_bygeom
    for specifying the buffer distance from the input geometry for getting features.

Breaking Changes

  • Drop support for Python 3.6 since many of the dependencies such as xarray and pandas have done so.
  • Remove async_requests function, since it has been packaged as a
    new Python library called AsyncRetriever.
  • Refactor MatchCRS. Now, it should be instantiated by providing the
    in and out CRSs like so: MatchCRS(in_crs, out_crs). Then its methods, namely, geometry, bounds and coords, can be called. These methods now have only one input, geometry.
  • Change input and output types of MatchCRS.coords from tuple of
    lists of coordinates to list of (x, y) coordinates.
  • ArcGISRESTful now has a new argument, layer, for specifying the
    layer number (int). Now, the target layer should either be a part of base_url or be passed with layer argument.
  • Move the spatial_relation argument from ArcGISRESTful class to
    oids_bygeom method, since that's where it's applicable.

Internal Changes

  • Refactor ArcGISRESTfulBase class to reduce its code complexity and make the service initialization logic much simpler. The class is faster since it makes less requests during the initialization process.
  • Add pydantic as a new dependency that takes care of
    ArcGISRESTfulBase validation.
  • Use persistent caching for all send/receive requests that can
    significantly improve the network response time.
  • Explicitly include all the hard dependencies in setup.cfg.
  • Set a default value of 1000 for max_nrecords in ArcGISRESTfulBase.
  • Use dataclass for WMSBase and WFSBase since support for Python
    3.6 is dropped.

v0.10.1

27 Mar 22:48
Compare
Choose a tag to compare

Release Notes
-------------\n

  • Add annoucement regarding the new name for the softwate stack, HyRiver.
  • Improve pip installation and release workflow.

Release v0.10.0

06 Mar 06:08
Compare
Choose a tag to compare
Release v0.10.0 Pre-release
Pre-release

Please check HISTORY.rst file for a detailed list
of changes.

Release v0.9.0

17 Feb 18:19
Compare
Choose a tag to compare
Release v0.9.0 Pre-release
Pre-release

Please check HISTORY.rst file for a detailed list
of changes.

Release v0.2.2

07 Dec 22:34
Compare
Choose a tag to compare
Release v0.2.2 Pre-release
Pre-release

Please check HISTORY.rst file for a detailed list
of changes.

Release v0.2.1

07 Dec 00:29
Compare
Choose a tag to compare
Release v0.2.1 Pre-release
Pre-release

Please check HISTORY.rst file for a detailed list
of changes.

Release v0.2.0

06 Dec 23:22
Compare
Choose a tag to compare
Release v0.2.0 Pre-release
Pre-release

Please check the HISTORY.rst file for a detailed list
of changes.

v0.1.10

18 Aug 20:40
Compare
Choose a tag to compare
v0.1.10 Pre-release
Pre-release
  • Improved bbox_decompose to fix the WMS issue with high resolution requests.
  • Replaced simplejson with orjson to speed up json operations.