opengisch / signalo

A QGIS module to handle road signs and respecting the Swiss norm
https://www.signalo.ch
MIT License
8 stars 4 forks source link

master signal #92

Open 3nids opened 1 year ago

3nids commented 1 year ago

filter master signal by azimuth

https://app.clickup.com/t/2192114/DEV-5285

3nids commented 1 year ago

facing a QGIS issue: it might be a bug with self-referecing layer + filter. Trying to create a minimal reproducible example.

itsakifa commented 11 months ago

self-referencing seems not a problem finally - use the expression : fk_frame = current_value( 'fk_frame') for the filter

However - the preview expression for the list is not taken into account yet image

image

itsakifa commented 10 months ago

it's probably best to keep "id" as 'Colonne de valeurs'. image It's not possible to put an expression there. And choosing another attribut would mean needing to choose between the "official_signs" and the "user_signs".

itsakifa commented 10 months ago

https://github.com/opengisch/signalo/pull/118/commits/1bf69f49f41bb32f844efbb10523f12ff23d9b5d

spch-GL commented 9 months ago

Cela a disparu de la version 1.0.0RC5, est-ce normal ?

itsakifa commented 7 months ago

@spch-GL - cela devrait marcher avec la RC6. C'est correct?

spch-GL commented 7 months ago

Non, pendant la saisie la liste est vide, et après enregistrement, à l'édition: image il pointe sur lui-même

itsakifa commented 7 months ago

@spch-GL ce n'est pas le comportement voulu? D'après ce que nous avons compris, cette liste permet de choisir le panneau principal du cadre. S'il n'y a qu'un signal dans le cadre, il n'y aura que celui là dans la liste. Mais effectivement, si c'est censé être filtré par azimut, on doit encore adapter l'expression du filtre.

spch-GL commented 7 months ago

Pour le SPCH, il faudrait effectivement filtrer sur l'azimut, car il est courant d'avoir la plaque complémentaire dans un cadre indépendant du signal principal