Contents

shapely 2.1.2

0

Manipulation and analysis of geometric objects

Manipulation and analysis of geometric objects

Stars: 4373, Watchers: 4373, Forks: 610, Open Issues: 219

The shapely/shapely repo was created 14 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 4373 github stars!

How to Install shapely

You can install shapely using pip

pip install shapely

or add it to a project with poetry

poetry add shapely

Package Details

Author
Sean Gillies
License
BSD 3-Clause
Homepage
None
PyPi:
https://pypi.org/project/shapely/
Documentation:
https://shapely.readthedocs.io/
GitHub Repo:
https://github.com/Toblerity/Shapely

Classifiers

  • Scientific/Engineering/GIS
No  shapely  pypi packages just yet.

Errors

A list of common shapely errors.

Code Examples

Here are some shapely code examples and snippets.

GitHub Issues

The shapely package has 219 open issues on GitHub

  • Polygon didn't have property xy
  • BUG: passing view and original array to binary method releasing the GIL gives ValueError in multithreading_enabled decorator
  • Document behavior with respect to Z and M
  • Inconsistent and Uncontrollable Source for Z and M Values
  • Order of Geometries in intersection changes interpolation and drops measure value
  • Interpolated Z Value Different for Same Location using Different Geometry Types
  • Point (2D) Expands to Point Z on Intersection with LineString ZM
  • coverage_simplify drops M values
  • Make Valid drops M values
  • Simplify drops M values
  • perf: Improve performance of scalar Yd->Y functions
  • Invalid GeoJSON from mapping(Polygon.from_bounds(...))
  • DOC: Fix + improve doc of within
  • Doctest shapely.constructive.maximum_inscribed_circle fails
  • BUG: Empty multi-geometries don't support Z dimension

See more issues on GitHub