Bug report #3415

Basemap shrinks during export to pdf

Added by rmcooper2010 - almost 12 years ago. Updated about 8 years ago.

Assignee:Marco Hugentobler
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:13475


Using the export to pdf tool, with a raster basemap and vector overlay, the basemap shrinks(?). There seems to be a margin by the top and left frame boundary where the basemap has receded from it. The vector overlay proportionally appears to be positioned as it was in the print composer.

exportedPDF.jpg (233 KB) rmcooper2010 -, 2011-01-17 03:45 AM

print_composer.jpg - Map in print composer (165 KB) rmcooper2010 -, 2011-01-17 03:48 AM


#1 Updated by Marco Hugentobler over 11 years ago

Is this still true?
If yes, could you attach a zip with sample data and a project (project with relative file pathes). If the data is secret, you may also send it to me privately ()

#2 Updated by Micha Silver over 11 years ago

I tried to export the print composer to PDF (WinXP, OSGeo setup of 1.7) and it seems the problem still exists. The raster background layer (a tiff with accompanying tfw world file) gets shifted compared to the overlaying vector layer. The project is in CRS is EPSG:2039.
I exported also to jpeg and that looks fine.

Here's where you can find the project (relative paths), data files, and both resulting images:

Note: I tested the same data on Debian Lenny, QGIS 1.7 - no such problem.


#3 Updated by Giovanni Manghi almost 11 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#4 Updated by Paolo Cavallini over 10 years ago

  • Crashes QGIS or corrupts data set to No
  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected QGIS version set to master

#5 Updated by Paolo Cavallini about 10 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

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

  • Category changed from 33 to Map Composer/Printing

#7 Updated by Nyall Dawson over 8 years ago

  • Status changed from Open to Feedback
  • Pull Request or Patch supplied set to No

Seems the sample project is no longer available. Is this still reproducable? If so, can you please make the sample project available again and I'll take a look?

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

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#9 Updated by Giovanni Manghi about 8 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

closing for lack of feedback.

Also available in: Atom PDF