Replies: 1 comment
-
Hi GreenNo0, this is an error when a polygon is created. If you can, send us your shapefile so that we can better understand the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please help. I keep crashing Taglab every time I try to export a shapefile. The traceback gives:
Traceback (most recent call last):
File "C:\Users\ID\Desktop\TagLab-main\TagLab.py", line 3927, in exportAnnAsShapefiles
rasterops.write_shapefile(self.project, self.activeviewer.image, blobs, gf, output_filename)
File "C:\Users\ID\Desktop\TagLab-main\source\RasterOps.py", line 297, in write_shapefile
polygon = createPolygon(blob, transform)
File "C:\Users\ID\Desktop\TagLab-main\source\RasterOps.py", line 71, in createPolygon
exteriorPolygon = Polygon(exterior)
File "C:\Users\ID\AppData\Local\Programs\Python\Python37\lib\site-packages\shapely\geometry\polygon.py", line 261, in init
ret = geos_polygon_from_py(shell, holes)
File "C:\Users\ID\AppData\Local\Programs\Python\Python37\lib\site-packages\shapely\geometry\polygon.py", line 539, in geos_polygon_from_py
ret = geos_linearring_from_py(shell)
File "shapely\speedups_speedups.pyx", line 413, in shapely.speedups._speedups.geos_linearring_from_py
ValueError: GEOSGeom_createLinearRing_r returned a NULL pointer
Thanks,
Ryan
Beta Was this translation helpful? Give feedback.
All reactions