Skip to content

v0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jun 19:39
· 920 commits to main since this release

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.