[Qgis-user] N-M Relationship between table and layer

Oscar Diago Alonso Oscar.Diago at geograma.com
Fri Feb 2 03:18:06 PST 2024


Good morning.

I have a table with no geometry (A) and a line vector layer (B). There is an N-M relationship between them, so I also have a table to store the relations between the features.

I've followed the docs: https://docs.qgis.org/3.16/es/docs/user_manual/working_with_vector/attribute_table.html#introducing-many-to-many-n-m-relations

I've been able to set up the forms, but I have a question. The user is going to edit a feature from table A (no geometry) and it is going to add the children from layer B. The problem is it has to add them one by one.

[cid:image001.png at 01DA55D1.B08EB800]

Is there a way to select multiple child features (the lines of layer B) from the map and add them as children in one go?

Thanks for any help provided.

?scar Diago Alonso - Ingeniero GIS
(+34) 945 13 13 72 | Plza. del Renacimiento, 9, 2.? planta, Oficina 2 - 01004 Vitoria-Gasteiz
[https://geograma.com/wp-content/banners/banner_mail_06.png]<https://www.linkedin.com/company/geograma/>
Si no ves la imagen puedes acceder desde aqu?<https://www.linkedin.com/company/geograma/>

Esta comunicaci?n contiene informaci?n de acceso restringido y de uso exclusivo del destinatario. Si usted no es el destinatario tenga en cuenta que cualquier distribuci?n, copia o uso de esta comunicaci?n o la informaci?n que contiene est? estrictamente prohibida. Si usted ha recibido esta comunicaci?n por error por favor notif?quelo en la direcci?n dpd at geograma.com. Tratamos su direcci?n de correo electr?nico y otros datos personales para mantener el contacto y comunicaci?n con Ud. y, en su caso, remitirle informaci?n sobre nuestros productos y servicios. Si no desea recibir tal informaci?n env?e un e-mail en tal sentido a dpd at geograma.com. Puede acceder, rectificar y suprimir los datos, as? como otros derechos, como se detalla en la informaci?n adicional y completa a su disposici?n en nuestra pol?tica de privacidad en la URL www.geograma.com/politica-privacidad/

[https://geograma.com/wp-content/banners/web.png]<https://www.geograma.com/>  [https://geograma.com/wp-content/banners/in.png] <geograma.com/wp-content/eventos/linkedin.php>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240202/4e95a3e2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16697 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240202/4e95a3e2/attachment.png>


More information about the QGIS-User mailing list