[Qgis-developer] ERROR: Geometry type Poly not match MultiPoly

Sandro Santilli strk at keybit.net
Fri Mar 2 04:24:09 EST 2012


On Thu, Mar 01, 2012 at 02:39:22PM -0800, Salvatore Larosa wrote:
> Hi,
> when I try to add a new geometries and then stop editing (save) I get this
> error:
> 
> Errore PostGIS nell'aggiunta delle geometrie: ERROR:  Geometry type
> (Polygon) does not match column type (MultiPolygon)
> 
> Any hint?
> 
> My features PostGIS is MULTIPOLYGON 
> qgis version: master 991f3d3

Please file a ticket. Should be easy to fix: pre-process the edited
data before sending to the DB.

In this case an ST_Multi would have done.
Triggering condition: input table was strongly-typed Multi*

--strk; 

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'



More information about the Qgis-developer mailing list