[QGIS-Developer] Unable to parse WKT Polygon using Shapely
gordonbe
gordon at axelspace.com
Tue Mar 30 03:02:40 PDT 2021
I'm trying to load a shapely Polygon from a WKT string. I'm able to import
shapely without issue, but QGIS will immediately crash when trying to load
the WKT.
from shapely import wkt
wkt.loads('POLYGON((0 0, 0 0, 0 0, 0 0, 0 0))')
QGIS throws this error during the crash:
ParseException: Unknown type: '('
QGIS died on signal 11Could not attach to process. If your uid matches the
uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 256
[1] 27794 abort (core dumped) qgis
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
More information about the QGIS-Developer
mailing list