Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I created a table with geometry type "GEOMETRY" AND inserted data of point, line and polygon type. My question is how to show this spatial data Qgis not supporting for geometry type "GEOMETRY".

share|improve this question
1  
QGIS can only render one geometry type per layer. –  Nathan W Oct 30 '12 at 10:11

1 Answer 1

Create distinct tables for each spatial feature, e.g. a table for point(s), a table for line(s), and a table for polygon(s). Then you can load these spatial tables as PostGIS layers.

There is also a ticket regarding this issue: http://trac.osgeo.org/qgis/ticket/167

It seems like it could be fixed only in QGIS 2.0.

share|improve this answer
2  
Or if you wanna have a common table for your different geometry types - there are such use cases - you could create views using GeometryType for filtering. Though I'm not sure how QGIS will infer the geometry type. –  Crischan Oct 30 '12 at 10:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.