QGIS, Postgis: Geometry type does not match column type

المشرف العام

Administrator
طاقم الإدارة
I'm trying to import some polygon shapefiles to Postgis in QGIS via SPIT. One of them can't be imported and returns this error:

ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)I've tried to change attribute "Feature Class" in that table in SPIT widnow, from MULTIPOLYGON to POLYGON, but nothing happened.

Is there any way to make Postgis to accept both types (polygon and multipolygon)? Or maybe somehow I can convert shapefile geometry from polygon to multipolygon? Any ideas?

I've tried Qgis 2.0.1 in Windows and Qgis 2.3 in ArchLinux.



أكثر...
 
أعلى