[Qgis-user] One to many relationships
Stefan Giese
Stefan.Giese at wheregroup.com
Tue Feb 11 22:24:07 PST 2020
Hi Mattijs,
one to many relations in QGIS are defined in the project properties:
Project -> Properties ->Relations, then press the Add Relation button
and define the parent and child layers/tables and the corresponding
fields. In the feature form (with the identify tool) you will see the
relation automatically.
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
------------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-Schulungen
bei der www.foss-academy.com
------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany
Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11
stefan.giese at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
Am 11.02.2020 um 16:50 schrieb mattijs.vollenberg at laposte.net:
> Hi,
>
> I encounter a problem with the possibility of defining a one to many
> relationship in Qgis 3.
>
> I have one shapefile with points. Each point has an alias (ex: Blt-1,
> Chp-1...), and information about this point.
> I then have a table, without any geographical information, with all
> the measurements at each point (for exemple multiple measurements of
> depth in Blt-1, and in Chp-1...). The alias of both tables are the
> same. But in the second table, it is not unique.
> How do I establish a good one to many relationship?
>
> In other words, I would like that when I click on Blt-1, all the
> measured depths appear.
>
> Is this possible?
>
> Thanks a lot for your help!
>
> Mattijs
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200212/2a9d7de0/attachment.html>
More information about the Qgis-user
mailing list