Top "Shapely" questions

PostGIS-ish operations outside a database context for Pythoneers and Pythonistas.

Shapely point geometry in geopandas df to lat/lon columns

I have a geopandas df with a column of shapely point objects. I want to extract the coordinate (lat/lon) …

python gis latitude-longitude geopandas shapely
Polygon Intersection with Line | Python Shapely

I have been trying to use shapely to find the intersection of a line and a polygon, but I'm having …

python line polygon intersection shapely
Calculate Polygon area in planar units (e.g. square-meters) in Shapely

I am using Python 3.4 and shapely 1.3.2 to create a Polygon object out of a list of long/lat coordinate pairs …

python polygon area shapely
Install Shapely in Python 3

I cant install the shapely module in my anaconda prompt. pip install --upgrade setuptools pip install shapely Command "python setup.…

python-3.x shapely
Check if a polygon is a multipolygon in Shapely

How can I check if a polygon entity is actually a multipolygon? I've tried: if len(polygon) > 1: but then …

python shapely
Draw an ellipse using Shapely

I'm integrating Shapely into my code, and I have to deal with several different kinds of geometric objects. Most of …

python shapely
From Voronoi tessellation to Shapely polygons

from a set of points I built the Voronoi tessellation using scipy: from scipy.spatial import Voronoi vor = Voronoi(points) …

python gis voronoi shapely
Shapely OSError: Could not find lib c or load any of its variants []

I'm just trying to use the demo code. I run the following in Jupyter Notebook: from shapely.geometry import shape …

python shapely
How to extract interior polygon coordinates using Shapely?

I am new to Shapely (but enthusiastic about it), and recently I've discovered a bit of a road bump. I …

python graph gis shapely fiona