ST_MakeVaild is not working?

المشرف العام

Administrator
طاقم الإدارة
I have a polyline spatialite database, tried to perform repair geometry in QGIS using python with the following code:

from pyspatialite import dbapi2 as db conn = db.connect(r'D:\db.sqlite') cur = conn.cursor() repairGeometry = "UPDATE the_table SET GEOMETRY = ST_MakeValid(GEOMETRY) WHERE ST_IsValid(GEOMETRY) = 0;" rs = cur.execute(repairGeometry) I am getting this error:

rs = cur.execute(repairGeometry) OperationalError: no such function: ST_MakeValid



أكثر...
 
أعلى