Robert Hewlett

Results 23 comments of Robert Hewlett

The layers are in a postgis enabled database. - PostgreSQL 13.4 - POSTGIS="3.1.4 ded6c34" [EXTENSION] The data is not in the public schema Parks (layer driving the report): CREATE TABLE...

I just exported the data to a geopackage but I had to zip it to upload it. See below: [data_report_dataplotly.zip](https://github.com/ghtmtt/DataPlotly/files/7459911/data_report_dataplotly.zip)

What spatial predicate is being used for "inside atlas feature"? Reason, many of my polygons would be covered by the atlas feature as they were dissolved to make the features...

I am going to try an attribute approached. I will post the result here.

If I take an attribute approach and on plot parameters set the feature subset, things seem to work: "pa_name" = attribute(@atlas_feature, 'pa_name') ![plot_feature](https://user-images.githubusercontent.com/4993063/139928849-69a3593d-25ff-4d7e-a6ba-16861d19e7fd.png)

If I reduce the polygons to centroids and on plot parameters under linked map and check "Use only features inside atlas feature" then things seem to work. ![plot_centroids](https://user-images.githubusercontent.com/4993063/139928609-46b6d9b9-2dc5-4ad4-9ed5-ec343a6082b4.png) **UPDATE** -...

I can now get it to work with a geopackage fine. I will roll back to the postgis tables and see if the base format is causing the problem. Note,...

Even with QGIS 3.22.0 when the layers are coming from PostgreSQL/PostGIS the plot goes missing on the report. Below is the PDF report output. [park_veg_posgis_poly_v6_no_nulls_park_pk.pdf](https://github.com/ghtmtt/DataPlotly/files/7464589/park_veg_posgis_poly_v6_no_nulls_park_pk.pdf) Pie chart settings ![pie_chart_settings](https://user-images.githubusercontent.com/4993063/139966966-22e96337-0b59-40ef-acaf-10698edc3f81.png)

If I use the feature subset technique I can get the report to work with the layers coming from PostGreSQL/PostGIS. Report attached: [park_veg_posgis_poly_v7_att_feat_sub.pdf](https://github.com/ghtmtt/DataPlotly/files/7464610/park_veg_posgis_poly_v7_att_feat_sub.pdf)

Hi, Just an update Inside plot_layout_item.py class PlotLayoutItem method get_polygon_filter I do get inside the elif 'layout_filter_by_atlas' part Not sure about the following: QgsMessageLog.logMessage(f'{self.layout().reportContext().layer()}') QgsMessageLog.logMessage(f'{self.layout().reportContext().layer().crs()}') I am try to log...