jps services
  • Home Page
  • GIS Training Courses
    • QGIS Training Courses
    • ArcGIS Training Courses
    • MapInfo Pro Training Courses >
      • MapBasic Training Course
  • About
  • Blog

QGIS 3 Reports Feature

31/10/2018

0 Comments

 
If you are familiar with the Atlas feature in QGIS you will be pleased with the new Report feature available in QGIS 3, which is the latest version. With this new Report feature, as well as attribute driven pages, you can also add headers, footers and static pages to your pdf report. In this way your report will become more readable and meaningful to those you send it to.   
For instance, with the Atlas function you can iterate through a series of polygons, lines or points to create a map series based upon an attribute field of a specified layer. However, with the Report function, in addition to headers and footers, you can also have nested map series as well as static pages in your final report. Because you can generate a much more complex report with many sub sections, the benefits of headers and footers and their inclusion within the report, to make it meaningful, becomes more apparent.
When you include a nested map series your report will iterate through the attributes and group them based on a linked attribute in the top group layer. If your nested layer does not have an attribute field that can be linked you can create a link with the “Join by location” algorithm from the Tool Box.  
For example, if you wanted to link a towns table to a regions table you would use the algorithm to group the towns which are within in regional polygon to create a new table which can then be linked to the top group layer.
If you start a new project in QGIS 3 you can create a new report quite easily. Below I have created a new project with three layers. A French town’s point layer, a polygon regions layer and a graduated polygon regions layer.
Picture
To create a report click on Project on the top menu and select New Report as in the following graphic.
Picture
Next complete the Create report Title dialogue box and click OK.
Picture
This brings up the Reports dialogue box.

Picture
Here you can create both a header and footer for your report. When both header and footer are enabled you can click on the Edit buttons to create the relevant pages for your report. Below is a sample header page containing two text boxes.   
Picture
If you want to have a static layout page click on the green plus button. Choose the Static layout section option as in the following screen shot.

Picture
When you click on the Edit button a blank static layout page is created as shown below.
Picture
You can include text, images or legends in this section as shown in the following screen shot.
Picture
By clicking at the top level on the Report heading and the creating a Field group section we can then edit the Body section. We can create maps related to regional population by including attribute driven text fields together with a map zoomed in to region level and a legend. An example is shown in the next screen shot.

Picture
We can now add a nested section by leaving the Group section highlighted rather than going back to the top Report level. This nested section has a header page which is shown below.
Picture
Having created a header page related to each set of regional towns we can now create individual maps of each town within a region. You can see from the following screen shot that the map is using an OpenStreet map layer. As this report has both graduated symbol layers and OpenStreet layers ensure that Lock Layers and Lock Styles are enabled within the Items Properties section for each Field group section as shown in the next screen shot.
Picture
Also note that within each Field group section the maps are controlled by the report so you need to ensure that this option is also enabled.   
By clicking on the Report option on the top menu you can create a pdf for your report as shown in the next screen shot.
Picture
Depending on how many pages are included in your report and whether OpenStreet data is included will determine how long the report takes to be created. Below are some screen shots from the pdf generated by the above report.
Picture
Here is the static page screen shot.
Picture
Next the report will generate a map for each region of the French map as shown in the next screen shot.
Picture
Next the nested header page is printed as in the next screen shot.

Picture
Next the report will produce maps of the individual towns within the Alsace region as shown in the next screen shot.  
Picture
Note that the nested Prefecture sections show an OpenStreet layer whilst the Regional sections show a graduated symbol layer.  
Picture
This final screen shot shows the final page of the report.
Picture
As the above example shows the new Report feature has potential to produce both simple and complex reports which can contain a range of map formats. Because of its flexibility it represents a considerable improvement over the previous Atlas program.
0 Comments

    Author

    Joe Short BSc has been involved with various mapping solutions for over twenty years.  If you are considering implementing a GIS  or have ArcGIS Pro, MapInfo Pro or QGIS training requirements, jps services would be happy to be of assistance to your organisation. 

    Archives

    April 2020
    March 2020
    October 2019
    September 2019
    August 2019
    July 2019
    March 2019
    November 2018
    October 2018
    August 2018
    July 2018
    November 2017
    October 2017
    September 2017
    July 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    May 2016
    February 2016
    September 2015
    August 2015
    April 2015
    February 2015
    November 2014
    October 2014
    July 2014
    June 2014
    May 2014
    March 2014
    February 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    June 2013
    May 2013
    April 2013
    February 2013
    December 2012
    October 2012
    September 2012
    August 2012
    July 2012

    Categories

    All
    Arc Gis
    Arcview
    Autodesk
    Cad
    Gis Training
    Local Government
    Mapbasic
    Mapinfo
    Quantum Gis
    Relational Databases
    Saga Gis

    RSS Feed