Shape

Latest version: v0.1.1

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 18

1.6.4.post1

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

- Fix broken markup in this change log, which restores our nicely formatted
readme on PyPI.

1.6.4

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

- Handle a ``TypeError`` that can occur when geometries are torn down (473,
528).

1.6.3

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

- AttributeError is no longer raised when accessing __geo_interface__ of an
empty polygon (450).
- ``asShape`` now handles empty coordinates in mappings as ``shape`` does
(542). Please note that ``asShape`` is likely to be deprecated in a future
version of Shapely.
- Check for length of LineString coordinates in speed mode, preventing crashes
when using LineStrings with only one coordinate (546).

1.6.2

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

- Splitting a linestring by one of its end points will now succeed instead of
failing with a ``ValueError`` (524, 533).
- Missing documentation of a geometry's ``overlaps`` predicate has been added
(522).

1.6.1

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

- Avoid ``STRTree`` crashes due to dangling references (505) by maintaining
references to added geometries.
- Reduce log level to debug when reporting on calls to ctypes ``CDLL()`` that
don't succeed and are retried (515).
- Clarification: applications like GeoPandas that need an empty geometry object
should use ``BaseGeometry()`` instead of ``Point()`` or ``Polygon()``. An
``EmptyGeometry`` class has been added in the master development branch and
will be available in the next non-bugfix release.

1.6.0

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

Shapely 1.6.0 adds new attributes to existing geometry classes and new
functions (``split()`` and ``polylabel()``) to the shapely.ops module.
Exceptions are consolidated in a shapely.errors module and logging practices
have been improved. Shapely's optional features depending on Numpy are now
gathered into a requirements set named "vectorized" and these may be installed
like ``pip install shapely[vectorized]``.

Much of the work on 1.6.0 was aimed to improve the project's build and
packaging scripts and to minimize run-time dependencies. Shapely now vendorizes
packaging to use during builds only and never again invokes the geos-config
utility at run-time.

In addition to the changes listed under the alpha and beta pre-releases below,
the following change has been made to the project:

- Project documentation is now hosted at
https://shapely.readthedocs.io/en/latest/.

Thank you all for using, promoting, and contributing to the Shapely project.

Page 3 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.