[QGIS-Developer] Relations in layout reports

Nyall Dawson nyall.dawson at gmail.com
Mon Dec 17 14:42:20 PST 2018


On Tue, 18 Dec 2018 at 01:22, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
>
> Hi all,
>
> I'd like to know if it is possible to draw tables for relations in a report.
> Let's say you have a layer object O on which you have an atlas.
> Object O can have several elements from layer E, which themselves can have several inspection events from layer I.
>
> Is there a native way of printing a table of inspections I for my current object?

Attribute tables have an option to show "Relation children" when an
atlas is set to use the parent layer from a relation. This will cause
the table to show all child related features for the current atlas
feature.

Nyall


> If not, a way would be to use javascript in an HTML frame. But can we use QGIS expressions within javascript code? or is it within standard HTML only?
>
> Cheers,
> Denis
> --
>
> Denis Rouzaud
> denis at opengis.ch
> +41 76 370 21 22
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list