[Qgis-user] Iterating two layers in Report - QGIS 3.2

Frank Broniewski hallo at frankbroniewski.com
Tue Jul 3 23:28:03 PDT 2018


Hi Carlos,

 

did you find Nyalls excellent post on Reports in QGIS 3 already? I believe it explains what you want do achieve. Have a look at [1]

 

[1] https://north-road.com/2018/01/23/exploring-reports-in-qgis-3-0-the-ultimate-guide/

 

Hth,

Frank

 

Dipl. Geogr. Frank Broniewski

Waldhölzbacher Str. 51

66679 Losheim am See

06872 509 068 4

0176 611 26 9 2 6

 <http://www.frankbroniewski.com> www.frankbroniewski.com

 

 

 

Von: Qgis-user <qgis-user-bounces at lists.osgeo.org> Im Auftrag von Carlos Cerdán
Gesendet: Dienstag, 3. Juli 2018 16:49
An: qgis-user at lists.osgeo.org
Betreff: [Qgis-user] Iterating two layers in Report - QGIS 3.2

 

Hi list

I would like to make a report (atlas) iterating two layers where:

1. Layer of level 2 administrative boundary is iterated (with atlas feature) and shows it as a no filled polygon, with out label;  and else polygons as white filled with labels;  and

2. Layer of administrative level 3 boundary is iterated too (with atlas feature), and shows labels only in polygons that are intersected or are within the active level 2 boundary.

How can be this done in QGIS 3.2? I was succsefull in QGIS 2.18, but now it doesn't work. I've tryed rules as:

 intersects(@atlas_geometry,$geometry )

contains(geometry(@atlas_feature),centroid( $geometry ) ) is true

but nothing.

 

I'm tring this because of non desired labels of level 3 boundary. One solutiion is using white labels that are fused with white polygons of level 2 boundary... but it is plan B.

 

Any advice please?

 

Cheers!

 

Carlos Cerdan

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180704/789b2c05/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5488 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180704/789b2c05/attachment.bin>


More information about the Qgis-user mailing list