Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
paste doesn't convert geometry or give error on incompatible geometry #13663
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.