Thanks a lot for your usefull reply. It works well ! Le lun. 12 juin 2023 à 14:18, Stefan Giese (WhereGroup) < stefan.gi...@wheregroup.com> a écrit :
> Hi, > > you can use overlay functions instead, there you can sort the size of > intersection and take the biggest one: > > *overlay_intersects(layer:='**PARCEL_LAYER**', expression:="parcel_id", > sort_by_intersection_size:='des')[0]* > hope this helps > Stefan > > Am 12.06.2023 um 14:04 schrieb celati Laurent via QGIS-User: > > Good afternoon, > With Qgis 3.30, In the composer interface, I generate an atlas. > My iteration layer is a polygonal layer (platforms). I added a text > element to automatically get by spatial intersection the 'parcel_id' > attribute present in another polygonal layer. I use the aggregate function > for this task : > > > > > * aggregate( 'LAYER':="PARCEL_LAYER',aggregate:='concatenate', > expression:="parcel_id", filter:=intersects(geometry(@parent), $geometry))* > > It works. But the result shows values of all the intersections. I would > like it limit to the result of the biggest intersection. Would you know how > to do it? > > Thanks a lot. > > _______________________________________________ > QGIS-User mailing listqgis-u...@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > -- > Mit freundlichen Grüßen > Stefan Giese > Projektleiter/Consultant > ------------------------------------------------------ > Aufwind durch Wissen! > Jetzt neu: Webinare und Online-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.gi...@wheregroup.comwww.wheregroup.com > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > >
_______________________________________________ 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