Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoPDF feature not working from Report Composer #46807

Closed
1 of 2 tasks
LimestoneBob opened this issue Jan 12, 2022 · 24 comments
Closed
1 of 2 tasks

GeoPDF feature not working from Report Composer #46807

LimestoneBob opened this issue Jan 12, 2022 · 24 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@LimestoneBob
Copy link

What is the bug or the crash?

QGIS version | 3.16.6-Hannover | QGIS code revision | bfd36fd on Windows 10

I'm unable to create and publish atlas maps in GeoPDF through Report composer.

Choosing PDF Export from the Report Composer doesn't provide full view of options. I suspect there is a check box missing ( or not within view ) preventing the creation of a GeoPDF. The North Road folks show an "“Include vector feature information” checkbox" as an option in menu. That option is not there or doesn't show. The menu items are crowded ( overlapped and/or not visible) in window so unable to confirm that is in fact the issue. A PDF can be created but without the GeoPDF layers and features.

GeoPDF creation works fine from the canvas.

image

Steps to reproduce the issue

  1. Go to 'Project' then 'New Report'
  2. Create the report
  3. Click on 'Report' and then 'Export Report as PDF'.
  4. Key a name and Save the file.
  5. The PDF Export Options box appears, check 'Create Geospatial PDF'
  6. Choose save. The report composer generates a report in PDF but none of the layers or features are included.

image

Versions

QGIS version | 3.16.6-Hannover | QGIS code revision | bfd36fd

Compiled against Qt | 5.11.2 | Running against Qt | 5.11.2
Compiled against GDAL/OGR | 3.1.4 | Running against GDAL/OGR | 3.1.4
Compiled against GEOS | 3.8.1-CAPI-1.13.3 | Running against GEOS | 3.8.1-CAPI-1.13.3
Compiled against SQLite | 3.29.0 | Running against SQLite | 3.29.0
PostgreSQL Client Version | 11.5 | SpatiaLite Version | 4.3.0
QWT Version | 6.1.3 | QScintilla2 Version | 2.10.8
Compiled against PROJ | 6.3.2 | Running against PROJ | Rel. 6.3.2, May 1st, 2020
OS Version | Windows 10 (10.0)
Active python plugins | BoundaryDelineation; CalculateGeometry; mmqgis; QuickOSM; quick_map_services; SemiAutomaticClassificationPlugin; StreetView; db_manager; MetaSearch; processing

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@LimestoneBob LimestoneBob added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 12, 2022
@gioman gioman added the Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks label Jan 12, 2022
@gioman
Copy link
Contributor

gioman commented Jan 12, 2022

3.16.6-Hannover

@LimestoneBob update to 3.16.15 and try again.

@gioman gioman added the Feedback Waiting on the submitter for answers label Jan 12, 2022
@LimestoneBob
Copy link
Author

LimestoneBob commented Jan 12, 2022

I don't have the option to change versions easily. I'm working in an administrated system and any version change request goes through an acceptance, testing and packaging process.

I can put in a system ticket within work environment for more current version of QGIS if the bug has been corrected upstream.

@roya0045
Copy link
Contributor

I don't have the option to change versions easily. I'm working in an administrated system and any version change request goes through an acceptance, testing and packaging process.

I can put in a system ticket within work environment for more current version of QGIS if the bug has been corrected upstream.

If you have the right to install things that don't require admin privilege, qgis can be installer with user-rights from osgeo.

@LimestoneBob
Copy link
Author

I don't have the option to change versions easily. I'm working in an administrated system and any version change request goes through an acceptance, testing and packaging process.
I can put in a system ticket within work environment for more current version of QGIS if the bug has been corrected upstream.

If you have the right to install things that don't require admin privilege, qgis can be installer with user-rights from osgeo.

No admin rights and we can't install anything without full IT testing on system and approval.

@gioman
Copy link
Contributor

gioman commented Jan 13, 2022

  • Go to 'Project' then 'New Report'

  • Create the report

  • Click on 'Report' and then 'Export Report as PDF'.

  • Key a name and Save the file.

  • The PDF Export Options box appears, check 'Create Geospatial PDF'

  • Choose save. The report composer generates a report in PDF but none of the layers or features are included.

@LimestoneBob tested here with my own data on 3.16.15/Win10, and works as expected.

@LimestoneBob
Copy link
Author

Ok, thank you. I've put in a request for installation of LTR 3.16.15.

@LimestoneBob
Copy link
Author

My install was fast tracked and now completed. Same result as previous version. Attempting to create a Geospatial pdf results in a pdf with no layer option.

QGIS version 3.16.15-Hannover QGIS code revision e7fdad6
Compiled against Qt 5.15.2 Running against Qt 5.15.2
Compiled against GDAL/OGR 3.4.0 Running against GDAL/OGR 3.4.0
Compiled against GEOS 3.10.0-CAPI-1.16.0 Running against GEOS 3.10.0-CAPI-1.16.0
Compiled against SQLite 3.35.2 Running against SQLite 3.35.2
PostgreSQL Client Version 13.0 SpatiaLite Version 5.0.1
QWT Version 6.1.3 QScintilla2 Version 2.11.5
Compiled against PROJ 8.2.0 Running against PROJ Rel. 8.2.0, November 1st, 2021
OS Version Windows 10 Version 2009
Active python plugins CalculateGeometry; mmqgis; QuickOSM; quick_map_services; SemiAutomaticClassificationPlugin; StreetView; db_manager; MetaSearch; processing

@gioman
Copy link
Contributor

gioman commented Jan 14, 2022

Attempting to create a Geospatial pdf results in a pdf with no layer option.

@LimestoneBob then attach a sample project+sample data.

@LimestoneBob
Copy link
Author

LimestoneBob commented Jan 15, 2022

Still can't get it to work from my personal pc using linux and ver 3.10 or 3.22. with test data.

Report 2.pdf
wolfeIsl_soil.zip
WolfeIsland_qgz.zip
.

@gioman
Copy link
Contributor

gioman commented Jan 15, 2022

wolfeIsl_soil.zip

@LimestoneBob can you add here a QGIS project that makes use of the datasources you attached? we must we sure we are testing the same project.

@LimestoneBob
Copy link
Author

Project file attached above.

@gioman
Copy link
Contributor

gioman commented Jan 15, 2022

wolfeIsl_soil.zip

@LimestoneBob none of the layers the project requires are part of the zip with the data you have attached

image

@LimestoneBob
Copy link
Author

The layers provided are the ones used for this exercise. Those other layers are not being actively used.

Screenshot from 2022-01-15 19-38-36
.

@LimestoneBob
Copy link
Author

LimestoneBob commented Jan 16, 2022

I've removed layers, saved the project and tried generating GeoPDF. It's not working. The attached project file reflects amendments.

WolfeIslandQGISprojfile.zip
Wolfe Island Farmlands Report 6.pdf
.

@LimestoneBob
Copy link
Author

Creating a GeoPDF from canvas is possible from all the versions of QGIS i've mentioned in this post. It just doesn't work from the Report function on either operating system or QGIS versions.

Wolfe Island Farmlands.pdf

@LimestoneBob
Copy link
Author

The "Include Vector Feature Information" checkbox is available in Canvas PDF but not the Report PDF option.

Screenshot from 2022-01-15 20-14-43
Screenshot from 2022-01-15 20-15-50

@gioman gioman removed the Feedback Waiting on the submitter for answers label Jan 16, 2022
@gioman
Copy link
Contributor

gioman commented Jan 16, 2022

The "Include Vector Feature Information" checkbox is available in Canvas PDF but not the Report PDF option.

@LimestoneBob this seems irrelevant, as a geospatial layered PDF is created correctly from the layout composer. There seems to be something wrong only when exporting from the report tool.

@LimestoneBob
Copy link
Author

...and not working from Print Layout Atlas.

@gioman
Copy link
Contributor

gioman commented Jan 18, 2022

...and not working from Print Layout Atlas.

@LimestoneBob it does work from print layouts here.

@LimestoneBob
Copy link
Author

LimestoneBob commented Jan 18, 2022 via email

@roya0045
Copy link
Contributor

Doesn't it require a specific driver or at least program to view geopdf? Could that be the part of the issue?

@gioman what do you usually use to view geopdf?

@LimestoneBob
Copy link
Author

LimestoneBob commented Jan 18, 2022 via email

@nyalldawson
Copy link
Collaborator

I think @gioman may be referring to exporting individual pages from a report/atlas to geopdf. Exporting the entire atlas/report to geopdf isn't supported.

@LimestoneBob
Copy link
Author

LimestoneBob commented Jan 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

4 participants