3

I've got a user that it trying to edit his polygon layer but gets a message PostGIS error while adding features: ERROR: Geometry type (Polygon) does not match column type (MultiPolygon) When you have a look at his PostGIS connection details, the TYPE reads as polygon but if I log as an administrator into PostGIS via QGIS and edit the same layer i dont get an error message but see the TYPE as multipolygon.

I'm not sure where the error lies, in PostGIS or with QGIS not updating itself!

4

Found the problem,

in PostGIS I hadn't given the user the SELECT privileges in the geometry_columns table in the public schema.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.