We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eb2a73 commit 9986d60Copy full SHA for 9986d60
panopticon/spatial.py
@@ -28,6 +28,11 @@ def get_gdf(labels, polys):
28
"geopandas", 'pip install geopandas')
29
if exit_code != 0:
30
return
31
+ exit_code = import_check(
32
+ "shapely", 'pip install shapely')
33
+ if exit_code != 0:
34
+ return
35
+ from shapely.geometry import Polygon, Point
36
import geopandas as gpd
37
38
# Creating a list to store Polygon geometries
0 commit comments