About 375,000 results
Open links in new tab
  1. Polygon overlay with Shapely - Geographic Information Systems Stack ...

    I'm trying to capture all the non-overlapping polygons indicated below using Shapely (given polygons A,B & C). Moreover, I'm hoping to do so without iteration, testing for intersect etc. The

  2. How to measure distance using shapely - Geographic Information …

    Mar 24, 2015 · Basically you want to use distance between two shapely geometries. And no, since there's only a single point in your MultiPoint geometry it should work fine for distance calculations.

  3. Is there a way to slice a polygon using shapely?

    Jan 9, 2024 · I added some clarifications in the question. Hopefully that clarifies the question. The shape of the sub-polygon does not matter at the moment but it could at some point. I would like to find a …

  4. shapely - How to access members of GeometryCollection - Python ...

    Mar 2, 2016 · I am using 'intersection' function from Shapely to find junctions of a road network. As i found, intersection returns GeometryCollection. In my case it could be Point, LineString or perhaps

  5. python - Setting CRS of point using shapely - Geographic Information ...

    Feb 9, 2021 · Shapely geometries are unaware of their CRS. Using pyproj to transform them only changes the values of the coordinates without leaving any trace of the final CRS in the resulting …

  6. python - Writing Shapely geometries to shapefiles - Geographic ...

    Oct 27, 2019 · Can someone demonstrate a simple way to write geometry data-structures from shapely into shapefiles? I am particularly interested in polygons with holes and linestrings. It would also be …

  7. Efficiently check if polygon contains any point from a list

    Aug 12, 2024 · I have a large, static list of Shapely Point s that I want to check against a large list of Shapely Polygon s, filtering out any polygons that contain one or more of the points.

  8. python - Shapely not installing correctly - Geographic Information ...

    I am trying to run Shapely on a new machine, and tried both installing it from source, using the installer on its webpage, and using pip install shapely. Every reference I try to make from the libr...

  9. Newest 'shapely' Questions - Geographic Information Systems Stack …

    Aug 30, 2025 · Shapely is an open source Python package for construction and analysis of 2D planar geometric objects common to geographic information systems.

  10. Reading coordinates from shapefile using shapely - Geographic ...

    Mar 25, 2021 · I have coordinates and I am trying to find the roads they are on in a shapefile. My code is as follows: import shapefile from shapely.geometry import Point # Point class from shapely.geometry …