I have 2 layers, which are placed separately, but they create the schematic. Hence their cooperation is highly essential. I've styled them in order to match the schematic requirements. Now I have the problem with modifying these 2 layers at once. I can do it just separately for every layer.
I tried to create the virtual layer as per the query below:
Moving two layers with different geometry at once with snapped vertices in QGIS
and tried to enable these 2 layers for moving:
select l.fid, l.'Cable Size', l.'Length (m)', l.'Cable ID', l.TM,l.PM,l.'New Bild',l.layer,
ST_Shortestline(l.geometry,pt.geometry)
from Simplified l
join 'Span Type' pt, X pt, Y pt, OH/UG , Type pt, 'ASN ID' pt, Quantity pt, THP pt, TM pt
on pt.fid=l.fid
I want to keep all the attribute columns as they stand.
that's why I plotted them into this formula. Unfortunately, I am getting an error, that the formula is not valid.
How can I enable these layers to be movable both at once? Is it possible to keep these 2 attribute tables intact?
UPDATE:
Another approach, which comes to my mind is launching
topology editing.
Unfortunately, it doesn't work either in this case.



