[Qgis-user] Clip - unsupported geometrytype -2147483646

ralfwessels gis at ralf-wessels.de
Sat Apr 16 07:29:00 PDT 2016


Hi Lene,

if you store your data in PostGIS, you can use ST_GeometryType().

Example counting the objects by geometry type:
/SELECT COUNT(*) AS number, ST_GeometryType(geometry) AS geomtype FROM
mytable
GROUP BY ST_GeometryType(geometry)/

.....but if there are different geometry objects in a dataset, the PostGIS
geometry data type should be "geometry"  and not "MultiPolygon",
"MultiLine.......

ralf




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Clip-unsupported-geometrytype-2147483646-tp5261440p5261571.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list