Bug report #4311

Georeferencer: "generate pdf map" result in a blank PDF

Added by Giovanni Manghi about 8 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:C++ plugins/Georeferencer
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:14248

Description

tested on trunk and both Windows and Linux

Associated revisions

Revision ca784880
Added by Nyall Dawson over 4 years ago

[georef] Fix blank PDF for generated PDF map (fix #4311)

History

#1 Updated by Giovanni Manghi almost 8 years ago

  • Target version set to Version 1.7.4

#2 Updated by Alexander Bruy almost 8 years ago

  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No

Still true? Just tested with latest master and get both PDF map and report. Maybe this true only in some use cases?

#3 Updated by Paolo Cavallini over 7 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0

#4 Updated by Paolo Cavallini about 7 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#5 Updated by Giovanni Manghi over 5 years ago

  • Assignee deleted (Maxim Dubinin)
  • Target version changed from Version 2.0.0 to Version 2.4

Alexander Bruy wrote:

Still true? Just tested with latest master and get both PDF map and report. Maybe this true only in some use cases?

yes, still true on latest master: the report is ok, the "generate pdf map" creates an empty pdf.

#6 Updated by Nyall Dawson over 5 years ago

There's a few components to this:

1. The "Generate pdf map" and "Generate pdf report" settings keep getting cleared
2. The page size for the map is not correctly set. It's initially set to 0x0, which triggers this bug. You can set it to a new size from the georeferencer properties, which fixes the map export, but this change only applies once and gets overwritten if you reopen the configure dialog.

#7 Updated by Giovanni Manghi over 5 years ago

Nyall Dawson wrote:

There's a few components to this:

1. The "Generate pdf map" and "Generate pdf report" settings keep getting cleared
2. The page size for the map is not correctly set. It's initially set to 0x0, which triggers this bug. You can set it to a new size from the georeferencer properties, which fixes the map export, but this change only applies once and gets overwritten if you reopen the configure dialog.

thanks for the heads up. The georeferencer would need some support and it is pretty buggy.

#8 Updated by Jürgen Fischer over 5 years ago

  • Target version changed from Version 2.4 to Future Release - High Priority

#9 Updated by Jürgen Fischer over 5 years ago

  • Category changed from C++ Plugins to C++ plugins/Georeferencer

#10 Updated by Nyall Dawson over 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF