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.
_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to