Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update shapely to 1.7.0 #24

Merged
merged 2 commits into from
Jul 27, 2020
Merged

Conversation

pyup-bot
Copy link
Collaborator

This PR updates shapely from 1.6.4.post2 to 1.7.0.

Changelog

1.7.0

------------------

This is the final 1.7.0 release. There have been no changes since 1.7b1.

1.7b1

------------------

First beta release.

1.7a3

------------------

New features:

- The buffer operation can now be single-sides (806, 727).

Bug fixes:

- Add /usr/local/lib to the list of directories to be searched for the GEOS
shared library (795).
- ops.substring now returns a line with coords in end-to-front order when given
a start position that is greater than the end position (628).
- Implement ``__bool__()`` for geometry base classes so that ``bool(geom)``
returns the logical complement of ``geom.is_empty`` (754).
- Remove assertion on the number of version-like strings found in the GEOS
version string. It could be 2 or 3.

1.7a2

------------------

- Nearest neighbor search has been added to STRtree (668).
- Disallow sequences of MultiPolygons as arguments to the MultiPolygon
constructor, resolving 588.
- Removed vendorized `functools` functions previously used to support
Python 2.5.

Bug fixes:

- Avoid reloading the GEOS shared library when using an installed binary wheel
on OS X (735), resolving issue 553.
- The shapely.ops.orient function can now orient multi polygons and geometry
collections as well as polygons (733).
- Polygons can now be constructed from sequences of point objects as well as
sequences of x, y sequences (732).
- The exterior of an empty polygon is now equal to an empty linear ring (731).
- The bounds property of an empty point object now returns an empty tuple,
consistent with other geometry types (723).
- Segmentation faults when non-string values are passed to the WKT loader are
avoided by 700.
- Failure of ops.substring when the sub linestring coincides with the beginning
of the linestring has been fixed (658).
- Segmentation faults from interpolating on an empty linestring are prevented
by 655.
- A missing special case for rectangular polygons has been added to the
polylabel algorithm (644).
- LinearRing can be created from a LineString (638).
- The prepared geoemtry validation condition has been tightened in 632 to fix
the bug reported in 631.
- Attempting to interpolate an empty geometry no longer results in a
segmentation fault, raising `ValueError` instead (653).

1.7a1

------------------

New features:

- A Python version check is made by the package setup script. Shapely 1.7
supports only Python versions 2.7 and 3.4+ (610).
- Added a new `EmptyGeometry` class to support GeoPandas (514).
- Added new `shapely.ops.substring` function (459).
- Added new `shapely.ops.clip_by_rect` function (583).
- Use DLLs indicated in sys._MEIPASS' to support PyInstaller frozen apps
(523).
- `shapely.wkb.dumps` now accepts an `srid` integer keyword argument to write
WKB data including a spatial reference ID in the output data (593).

Bug fixes:

- `shapely.geometry.shape` can now marshal empty GeoJSON representations
(573).
- An exception is raised when an attempt is made to `prepare`
a `PreparedGeometry` (577, 595).
- Keyword arguments have been removed from a geometry object's `wkt` property
getter (581, 594).
Links

@dnilosek dnilosek merged commit 449996e into master Jul 27, 2020
@dnilosek dnilosek deleted the pyup-update-shapely-1.6.4.post2-to-1.7.0 branch July 27, 2020 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants