[Qgis-user] Query Layer / Rule Based Rendering Problem
James Stott
James.Stott at npaconsult.co.uk
Thu May 31 08:22:26 PDT 2012
I have created a query in the DB Manager SQL Window (data is in a
PostGIS database). The query is then added to the map as a layer.
I copy the style from another layer (rule based style), paste it to my
query layer and the polygons disappear from the map and QGIS gives a
nextFeature() without select() error. This also happens if I apply a qml
style file to the layer.
If I change the styles back to Single Symbol they do not come back. I
can see the records in the Attribute table, and I can select them and
zoom to them on the map, I just cannot see them.
I have to re-add the query layer using the DB Manager SQL window again.
It only seems to be the polygon layers that cause problems at the
moment.
Does anyone know the cause of this?
James
James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/
http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the addressee. It may contain privileged and confidential information. If you are not the person for whom it is intended, you must not copy, distribute or take any action in reliance on it. If you have received this electronic transmission in error please notify us immediately by telephone, delete the transmission and destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
More information about the Qgis-user
mailing list