About 375,000 results
Open links in new tab
  1. 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 …

  2. Polygon overlay with Shapely - Geographic Information Systems …

    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 …

  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 …

  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 …

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

    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 …

  6. 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 …

  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. 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 …

  9. Working with geographic coordinates in shapely?

    Nov 3, 2017 · I have a very basic question about working with the shapely module in Python. I have some geographic coordinates received from a GPS. I would like to use shapely to …

  10. Difference between Crosses & Intersects - Shapely (Python)

    Feb 28, 2016 · From Shapely's doc: intersects() is equivalent to the OR-ing of contains(), crosses(), equals(), touches(), and within(). So there might be some cases where two lines …