[QGIS-trac] [Quantum GIS] #3604: paste doesn't convert geometry or give error on incompatible geometry

Quantum GIS qgis at qgis.org
Sun Mar 13 19:14:56 EDT 2011


#3604: paste doesn't convert geometry or give error on incompatible geometry
------------------------------------------------+---------------------------
   Reporter:  kyngchaos                         |              Owner:               
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Vectors                           |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 For example, I'm working in a PostGIS multipolygon layer.  I copy a
 polygon (not multi) from a shapefile and paste it into the postGIS layer.
 QGIS doesn't give me a warning or convert the polygon to a multipolygon,
 and editing works fine on the feature.  But when I try to save the PostGIS
 layer, QGIS now gives me an error that there is an invalid geometry type
 and a feature wasn't saved (the one I pasted in).

 I would like it to convert the polygon to multipolygon, and other simple
 conversions.  But at least QGIS should refuse to paste and give a warning
 about a geometry mismatch.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3604>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list