Releases: hyriver/pygeoogc
Releases · hyriver/pygeoogc
v0.11.2
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
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
asstyles
. - Add support for WFS version 1.0.0.
Internal Changes
- Migrate to
AsyncRetriever
fromrequests-cache
for all the web
services. - Rename
ServiceError
toServiceUnavailable
andServerError
to
ServiceError
Since it's more representative of the intended exception. - Raise for response status in
RetrySession
before the try-except
block soRequestsException
can raised and its error messaged be parsed. - Deprecate
utils.threading
since all threading operations are now
handled byAsyncRetriever
. - Increase test coverage.
v0.11.0
Release Notes
New Features
- Add support for requesting
LineString
polygon forArcGISRESTful
. - Add a new argument called
distance
toArcGISRESTful.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
andpandas
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
andcoords
, 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 ofbase_url
or be passed withlayer
argument.- Move the
spatial_relation
argument fromArcGISRESTful
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
inArcGISRESTfulBase
. - Use
dataclass
forWMSBase
andWFSBase
since support for Python
3.6 is dropped.
v0.10.1
Release Notes
-------------\n
- Add annoucement regarding the new name for the softwate stack, HyRiver.
- Improve
pip
installation and release workflow.
Release v0.10.0
Please check HISTORY.rst file for a detailed list
of changes.
Release v0.9.0
Please check HISTORY.rst file for a detailed list
of changes.
Release v0.2.2
Please check HISTORY.rst file for a detailed list
of changes.
Release v0.2.1
Please check HISTORY.rst file for a detailed list
of changes.
Release v0.2.0
Please check the HISTORY.rst file for a detailed list
of changes.