[Qgis-user] Virtual Layer not working correct when opening QGIS project

Isenmann, Werner (RPF) Werner.Isenmann at rpf.bwl.de
Mon Aug 18 23:37:28 PDT 2025


Hello,

in a QGIS project I have a PostGIS polygon layer where I joined two tables (from PostgrSQL DB). Then I created a virtual layer, containing all the attributes of the polygon layer and all the attributes of the joined tables. This works well so far.

When I close the QGIS project an open it again, the virtual layer attribute table first doesn't show the joined attributes. They only appear, when I save the virtual layer again with the same select statement.
Does anyone have any tips on how to ensure that the virtual layer permanently retains the joined attributes?

Thanks in advance,
Werner

---

Werner Isenmann

Regierungspräsidium Freiburg
Referat 91 - Geowissenschaftliches Landesservicezentrum

Albertstraße 5
D-79104 Freiburg i. Br.

Phone: (+49) 761 208-3008
E-Mail: Werner.Isenmann at rpf.bwl.de<mailto:Werner.Isenmann at rpf.bwl.de>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250819/133a5279/attachment.htm>


More information about the QGIS-User mailing list