- Remove upper bound on Cython, Cython 3 is supported.
- Update to 2.0.2
these features are used.
* Added new `shapely.ops.substring` function
* Added new `shapely.ops.clip_by_rect` function
* shapely.wkb.dumps` now accepts an `srid` integer keyword argument
equality, preventing instances of base and derived classes from
* Remove packaging module requirement added in 1.5.10 (#305). Distutils can't
* Fix for 64 bit speedups compatibility (#274).
* Added Provides lowercase
sc
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=46
- Update to 2.0.4
* Fix bug in ``to_wkt`` with multiple empty Z geometries (#2012).
* Fix bug in ``to_ragged_array`` for an array of Points with
missing values (#2034).
* Compatibility with numpy 2
- Release 2.0.3
* Fix regression in the ``oriented_envelope`` ufunc to accept
array-like input in case of GEOS<3.12 (#1929).
* The binary wheels are not yet compatible with a future NumPy
2.0 release, therefore a ``numpy<2`` upper pin was added to the
requirements (#1972).
* Upgraded the GEOS version in the binary wheel distributions to
3.11.3.
OBS-URL: https://build.opensuse.org/request/show/1171976
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=38
After the update of geos 3.12.1, python-Shapely and packages requiring it are broken in Factory
- Update to 2.0.2
## Bug fixes:
* Fix regression in the (in)equality comparison (geom1 == geom2)
using __eq__ to not ignore the z-coordinates (#1732).
* Fix MultiPolygon() constructor to accept polygons without
holes (#1850).
* Fix minimum_rotated_rectangle (oriented_envelope) to
always return the minimum area solution (instead of minimum
width). In practice, it will use the GEOS implementation only
for GEOS 3.12+, and for older GEOS versions fall back to
the implementation that was included in Shapely < 2 (#1670).
* Fix from_ragged_array to work with read-only array input
(#1744).
* Fix the handling of z coordinates shapely.ops.substring
(#1699).
OBS-URL: https://build.opensuse.org/request/show/1127716
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=34
- Update to 2.0.1
## Bug fixes:
* Fix regression in the Polygon() constructor taking a sequence
of Points (#1662).
* Fix regression in the geometry constructors when passing
decimal.Decimal coordinate values (#1707).
* Fix STRtree() to not make the passed geometry array immutable
as side-effect of the constructor (#1714).
* Fix the directed keyword in shapely.ops.linemerge() (#1695).
## Improvements:
* Expose the function to get a matplotlib Patch object from a
(Multi)Polygon (without already plotting it) publicly as
:func:shapely.plotting.patch_from_polygon (#1704).
- Release 2.0.0
* Shapely version 2.0.0 is a major release featuring a complete
refactor of the internals and new vectorized (element-wise)
array operations providing considerable performance
improvements (based on the developments in the PyGEOS package),
along with several breaking API changes and many feature
improvements.
- Full release notes and detailed description:
* https://shapely.readthedocs.io/en/latest/release/2.x.html
OBS-URL: https://build.opensuse.org/request/show/1113175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Shapely?expand=0&rev=23
## Bug fixes:
* Fix regression in the Polygon() constructor taking a sequence
of Points (#1662).
* Fix regression in the geometry constructors when passing
decimal.Decimal coordinate values (#1707).
* Fix STRtree() to not make the passed geometry array immutable
as side-effect of the constructor (#1714).
* Fix the directed keyword in shapely.ops.linemerge() (#1695).
## Improvements:
* Expose the function to get a matplotlib Patch object from a
(Multi)Polygon (without already plotting it) publicly as
:func:shapely.plotting.patch_from_polygon (#1704).
- Release 2.0.0
* Shapely version 2.0.0 is a major release featuring a complete
refactor of the internals and new vectorized (element-wise)
array operations providing considerable performance
improvements (based on the developments in the PyGEOS package),
along with several breaking API changes and many feature
improvements.
- Full release notes and detailed description:
* https://shapely.readthedocs.io/en/latest/release/2.x.html
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=32
- Update to version 1.8.4.
* The new c_geom_p type caused a regression and has been removed
(#1487).
- Update for version 1.8.3.
* Deprecations:
* The STRtree class will be changed in 2.0.0 and will not be
compatible with the class in versions 1.8.x. This change
obsoletes the deprecation announcement in 1.8a3 (below).
* Bug fixes:
* The signature for GEOSMinimumClearance has been corrected,
fixing an issue affecting aarch64-darwin (#1480)
* Return and arg types have been corrected and made more strict
for area, length, and distance properties.
* A new c_geom_p type has been created to replace c_void_p when
calling GEOS functions (#1479).
* An incorrect polygon-line intersection (#1427) has been fixed
in GEOS 3.10.3,mwhich will be included in wheels published
to PyPI.
* GEOS buffer parameters are now destroyed, fixing a memory
leak (#1440).
- Remove patch, fix upstream.
Shapely-issue1436-ef380ba-geos311.patch
OBS-URL: https://build.opensuse.org/request/show/1007759
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-Shapely?expand=0&rev=30
- 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