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 can I convert shapefile geometry from polygon to multipolygon?
I've tried QGIS 2.0.1 in Windows and QGIS 2.3 in ArchLinux.
enforce_geotype_geomrather thanenforce_geometry_type. let me know if that works, and I'll edit my response if it does. – sfletche Apr 30 '14 at 15:44