[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-user
Subject: Re: [Qgis-user] QGIS Attribute Form
From: Alessandro Pasotti <apasotti () gmail ! com>
Date: 2019-11-15 22:57:56
Message-ID: CAL5Q6735GCYTD-q_P1xzs945Oc3vKFHp=JPL75xeTuFTRZ2sgA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Fri, Nov 15, 2019 at 10:24 PM Cliff Patterson <cpatterson@psdrcs.com>
wrote:
> Hello!
>
> I am building an attribute form for a single spatial layer ( stored in
> PostGIS). For value maps, I am using the Value Relation to link to a few
> flat tables that are pulled into the project from Postgres/PostGIS. I am
> able to save the style as default in the Postgres/PostGIS database, but
> when I load the layer into a new project with the associated tables, the
> relations are broken -- none of the drop down menus work -- they appear
> with "(no selection)" as the only option in the dropdown menu.
>
> Is there a way to either (1) point the value relations directly to a
> database table to avoid having to load them with the spatial layer or (2)
> preserve/save the Value Relations in the default layer style? Without
> either of these two functions, it is hard to truly create a relational DB.
>
> Is this, perhaps, a bug or a good feature request?
>
> Thanks,
> Cliff
>
>
Hi Cliff,
Perhaps this will solve your issue: https://github.com/qgis/QGIS/pull/32487
It will be in QGIS 3.12
Hope this helps.
--
Alessandro Pasotti
w3: www.itopen.it
[Attachment #5 (text/html)]
<div dir="ltr"><div dir="ltr"><br></div>On Fri, Nov 15, 2019 at 10:24 PM Cliff \
Patterson <<a href="mailto:cpatterson@psdrcs.com">cpatterson@psdrcs.com</a>> \
wrote:<br><div dir="ltr" class="gmail_signature"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>I am \
building an attribute form for a single spatial layer ( stored in PostGIS). For value \
maps, I am using the Value Relation to link to a few flat tables that are pulled into \
the project from Postgres/PostGIS. I am able to save the style as default in the \
Postgres/PostGIS database, but when I load the layer into a new project with the \
associated tables, the relations are broken -- none of the drop down menus work -- \
they appear with "(no selection)" as the only option in the dropdown menu. \
</div><div><br></div><div>Is there a way to either (1) point the value relations \
directly to a database table to avoid having to load them with the spatial layer or \
(2) preserve/save the Value Relations in the default layer style? Without either of \
these two functions, it is hard to truly create a relational DB. \
</div><div><br></div><div>Is this, perhaps, a bug or a good feature request? \
</div><div><br></div><div>Thanks,</div><div>Cliff<br \
clear="all"><div><br></div></div></div></blockquote><div><br></div><div>Hi \
Cliff,</div><div><br></div><div>Perhaps this will solve your issue: <a \
href="https://github.com/qgis/QGIS/pull/32487">https://github.com/qgis/QGIS/pull/32487</a></div><div>It \
will be in QGIS 3.12</div><div><br></div><div>Hope this \
helps.<br></div><div><br></div>--</div><div class="gmail_signature">Alessandro \
Pasotti<br></div><div dir="ltr" class="gmail_signature">w3: <a \
href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic