- Update to 1.8.2
- Make Polygons and MultiPolygons closed by definition, like
LinearRings. Resolves#1246.
- Perform frozen app check for GEOS before conda env check on
macos as we already do on linux (#1301).
- Fix leak of GEOS coordinate sequence in nearest_points reported
in #1098.
- Release 1.8.1
* Wheels for 1.8.1 published on PyPI include GEOS 3.10.2. This
version is the best version of GDAL yet. Discrepancies in
behavior compared to previous versions are considered to be
improvements.
* Shapely 1.8.1 works with Pythons 3.6-3.10.
* Require Cython >= 0.29.24 to support Python 3.10 (#1224).
* Fix array_interface_base (#1235).
- Fix libgeos* runtime requirement undetected due to the ctypes
load
OBS-URL: https://build.opensuse.org/request/show/983941
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=26
- Update to 1.8.0
* Shapely 1.8.0 is a transitional version. There are a few bug
fixes and new features, but it largely exists to warn about the
upcoming changes in 2.0.0. See the new migration guide for more
details on how to update your code from Shapely 1.8 to 2.0.
* Shapely 1.8.0 supports only Python versions >= 3.6. The release
is compatible with GEOS versions 3.6-3.10.
* Deprecations: The following functions and geometry attributes
and methods will be removed in version 2.0.0.
- ops.cascaded_union
- BaseGeometry.empty
- BaseGeometry.ctypes and __array_interface__
- multi-part geometry __len__
- setting custom attributes on geometry objects
- BaseGeometry.almost_exact
- Deprecation warnings will be emitted in 1.8.0 when any of
these features are used.
* The deprecated to_wkb and to_wkt methods of BaseGeometry have
been removed.
* The STRtree nearest* methods now take an optional argument that
specifies exclusion of the input geometry from results (#1115).
* A GeometryTypeError has been added to shapely.errors and is
consistently raised instead of TypeError or ValueError as in
version 1.7. For backwards compatibility, the new exception
will derive from TypeError and Value error until version 2.0
(#1099).
* The STRtree class constructor now takes an optional second
argument, a sequence of objects to be stored in the tree. If
not provided, the sequence indices of the geometries will be
stored, as before (#1112).
* The STRtree class has new query_geoms, query_items,
nearest_geom, and nearest_item methods (#1112). The query and
nearest methods remain as aliases for query_geoms and
nearest_geom.
* A normalize method has been added to geometry classes, exposing
the GEOSNormalize algorithm (#1090).
* STRtree instances have a new default capacity of 10 items per
node (#1070).
* The new shapely.ops.voronoi_diagram computes the Voronoi
Diagram of a geometry or geometry collection (#833, #851).
* shapely.validation.make_valid fixes invalid geometries (#883).
- Drop Shapely-fix-svg-collection-pr1042.patch
OBS-URL: https://build.opensuse.org/request/show/945434
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=25
- update to 1.7.1
* ``STRtree`` now safely implements the pickle protocol (#915).^
* Documentation has been added for ``minimum_clearance`` (#875, #874).
* In ``STRtree.__del__()`` we guard against calling ``GEOSSTRtree_destroy``
when the lgeos module has already been torn down on exit (#897, #830).
* Documentation for the ``overlaps()`` method has been corrected (#920).
* Correct the test in ``shapely.geometry.base.BaseGeometry.empty()`` to
eliminate memory leaks like the one reported in #745.
* Get free() not from libc but from the processes global symbols (#891),
fixing a bug that manifests on OS X 10.15 and 10.16.
* Extracting substrings from complex lines has been made more correct (#848,
#849).
* Splitting of complex geometries has been sped up by preparing the input
geometry (#871).
* Fix bug in concatenation of function argtypes (#866).
* Improved documentation of STRtree usage (#857).
* Improved handling for empty list or list of lists in GeoJSON coordinates
(#852).
* The polylabel algorithm now accounts for polygon holes (#851, #817).
OBS-URL: https://build.opensuse.org/request/show/838103
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=17
- drop fix-build-with-geos-3.8.0.patch
- update to 1.7.0
* the buffer operation can now be single-sides
* Nearest neighbor search has been added to STRtree
* Removed vendorized `functools`
* Disallow sequences of MultiPolygons as arguments to the MultiPolygon constructor
* Added a new `EmptyGeometry` class to support GeoPandas
* Added new `shapely.ops.substring` function
* Added new `shapely.ops.clip_by_rect` function
* shapely.wkb.dumps` now accepts an `srid` integer keyword argument
OBS-URL: https://build.opensuse.org/request/show/783819
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=15
- Update to version 1.2.16:
+ Add ops.unary_union function.
+ Alias ops.cascaded_union to ops.unary_union when GEOS CAPI >= (1,7,0).
+ Add geos_version_string attribute to shapely.geos.
+ Ensure parent is set when child geometry is accessed.
+ Generate _speedups.c using Cython when building from repo when missing,
stale, or the build target is "sdist".
+ The is_simple predicate of invalid, self-intersecting linear rings now
returns ``False``.
+ Remove VERSION.txt from repo, it's now written by the distutils setup script
with value of shapely.__version__.
- Changes from version 1.2.15:
+ Eliminate numerical sensitivity in a method chaining test (Debian bug
#663210).
+ Account for cascaded union of random buffered test points being a polygon
or multipolygon (Debian bug #666655).
+ Use Cython to build speedups if it is installed.
+ Avoid stumbling over SVN revision numbers in GEOS C API version strings.
- Update to version 1.2.14:
+ A geometry's coords property is now sliceable, yielding a list of coordinate
values.
+ Homogeneous collections are now sliceable, yielding a new collection of the
same type.
OBS-URL: https://build.opensuse.org/request/show/142492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=3