MultiPolygonZM: Geometry type (Polygon) does not match column type (MultiPolygon) #22631
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: cremat0rio - (cremat0rio -)
Original Redmine Issue: 14667
Affected QGIS version: master
Redmine category:data_provider/postgis
In the presence of a MultiPolygonZM Postgis table, QGIS sends a Polygon to the database.
Procedure:
Create a simple table with MultiPolygonZM geometry:
CREATE TABLE test
(
id integer NOT NULL,
geom geometry(MultiPolygonZM,3763),
CONSTRAINT id_pkey PRIMARY KEY (id)
)
Add that table to QGIS and draw a Polygon. Save it and get:
Provider errors: PostGIS error while adding features: ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)
The text was updated successfully, but these errors were encountered: