[Qgis-developer] Adding a feature to multipolygon PostGIS table produces an error

Lauri Kajan lauri.kajan at gmail.com
Thu Apr 7 07:56:17 PDT 2016


I think I had an issue with my snapping options.
I had "avoid intersections" checked for wrong layers so actually I got null
geometries that were geometrycollections.

Sorry for the noise!

-Lauri

On Thu, Apr 7, 2016 at 5:35 PM, Lauri Kajan <lauri.kajan at gmail.com> wrote:

> Wait a minute,
> Now I can't even myself reproduce this.
>
> I'll get back to you if this still occurs.
>
> -Lauri
>
> On Thu, Apr 7, 2016 at 5:07 PM, Lauri Kajan <lauri.kajan at gmail.com> wrote:
>
>> Hi all,
>>
>> I'm trying to digitize new features to a multipolygon PostGIS table which
>> geometry column is defined as geometry(multipolygon, 3067).
>>
>> When I create a new feature and digitize one polygon, add some data to
>> fields and finally click save layer edits button I get the following error
>> message:
>> PostGIS error while adding features: ERROR: Geometry type
>> (GeometryCollection) does not match column type (MultiPolygon).
>>
>> Am I doing something wrong or should I file a ticket?
>>
>> I'm working on QGIS 2.14.1., PostgreSQL 9.3.12 an PostGIS 2.1.7 combo.
>>
>>
>> Thanks,
>>
>> -Lauri
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160407/e291a37d/attachment.html>


More information about the Qgis-developer mailing list