You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.
Hi! I'have a problem when I want import some shapefiles into the Spatialite, this process I do it in Qgis directly with plugin Qspatialite. Somebody know what I do wrong?
Thanks a lot!
The error is here:
2017-08-04T11:13:53 1 Traceback (most recent call last):
File "C:/Users/Mariano/.qgis2/python/plugins\QspatiaLite\importQgis\importQgis.py", line 64, in run
if not self.parent.db.uploadQgisVectorLayer(layer, tableName=self.tablenames[i], srid=self.srid, selected=self.selected):
File "C:/Users/Mariano/.qgis2/python/plugins\QspatiaLite\Classes\Database.py", line 291, in uploadQgisVectorLayer
header,data=self.executeQuery("""INSERT INTO "%s" VALUES (%s,%s)"""%(tableName,','.join([unicode(value).encode('utf-8') for value in values_auto]),','.join('?'*len(values_perso))),tuple([unicode(value) for value in values_perso]))
File "C:/Users/Mariano/.qgis2/python/plugins\QspatiaLite\Classes\Database.py", line 51, in executeQuery
cursor.execute(query,params)
IntegrityError: Válvulas.Geometry violates Geometry constraint [geom-type or SRID not allowed]
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi! I'have a problem when I want import some shapefiles into the Spatialite, this process I do it in Qgis directly with plugin Qspatialite. Somebody know what I do wrong?
Thanks a lot!
The error is here:
2017-08-04T11:13:53 1 Traceback (most recent call last):
File "C:/Users/Mariano/.qgis2/python/plugins\QspatiaLite\importQgis\importQgis.py", line 64, in run
if not self.parent.db.uploadQgisVectorLayer(layer, tableName=self.tablenames[i], srid=self.srid, selected=self.selected):
File "C:/Users/Mariano/.qgis2/python/plugins\QspatiaLite\Classes\Database.py", line 291, in uploadQgisVectorLayer
header,data=self.executeQuery("""INSERT INTO "%s" VALUES (%s,%s)"""%(tableName,','.join([unicode(value).encode('utf-8') for value in values_auto]),','.join('?'*len(values_perso))),tuple([unicode(value) for value in values_perso]))
File "C:/Users/Mariano/.qgis2/python/plugins\QspatiaLite\Classes\Database.py", line 51, in executeQuery
cursor.execute(query,params)
IntegrityError: Válvulas.Geometry violates Geometry constraint [geom-type or SRID not allowed]
The text was updated successfully, but these errors were encountered: