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

export geopdf and geotiff form print composer #24695

Closed
qgib opened this issue Jul 5, 2017 · 2 comments
Closed

export geopdf and geotiff form print composer #24695

qgib opened this issue Jul 5, 2017 · 2 comments
Labels
Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Jul 5, 2017

Author Name: Donovan Cameron (@saultdon)
Original Redmine Issue: 16796

Redmine category:map_composer/printing


Trying to export first to a PDF from Print Composer and there is no coordinate reference system in the output.

Then tried to export to a TIF with World File option and again there's no spatial reference data in the output.

When I load the TIF into qgis, it doesn't line up correctly and then crashes with a core dump.

Might be relevant, but in the print composer, under Export Settings the Reference Map pull down menu is blank with nothing to select there.

https://gis.stackexchange.com/q/246390/1297 also has the same issue reported there.

Output from gdalinfo utility.

saultdon@archasus ~ % gdalinfo map_out.pdf
Driver: PDF/Geospatial PDF
Files: map_out.pdf
Size is 2550, 1650
Coordinate System is `'
Metadata:
  CREATION_DATE=D:20170705183321
  CREATOR=þÿ
  PRODUCER=Qt 4.8.7
  TITLE=þÿ
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 1650.0)
Upper Right ( 2550.0,    0.0)
Lower Right ( 2550.0, 1650.0)
Center      ( 1275.0,  825.0)
Band 1 Block=2550x1 Type=Byte, ColorInterp=Red
Band 2 Block=2550x1 Type=Byte, ColorInterp=Green
Band 3 Block=2550x1 Type=Byte, ColorInterp=Blue

saultdon@archasus ~ % gdalinfo out_map.tif
Driver: GTiff/GeoTIFF
Files: out_map.tif
Size is 5100, 3300
Coordinate System is `'
Metadata:
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_XRESOLUTION=300
  TIFFTAG_YRESOLUTION=300
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 3300.0)
Upper Right ( 5100.0,    0.0)
Lower Right ( 5100.0, 3300.0)
Center      ( 2550.0, 1650.0)
Band 1 Block=5100x1 Type=Byte, ColorInterp=Red
Band 2 Block=5100x1 Type=Byte, ColorInterp=Green
Band 3 Block=5100x1 Type=Byte, ColorInterp=Blue
Band 4 Block=5100x1 Type=Byte, ColorInterp=Undefined

@qgib
Copy link
Contributor Author

qgib commented Jul 5, 2017

Author Name: Giovanni Manghi (@gioman)


The print composer never exported geopdf or geotiff. You can export as tif with world file, so this is not a bug but rather a feature request.

The " Reference Map" pull down is empty if you don't have more than 1 map object in the layout, you probably misunderstand how the "reference map" work in the context of th qgis print composer.


  • subject was changed from cannot output print composer with spatial information to export geopdf and geotiff form print composer
  • tracker_id was changed from 1 to 2

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2017

Author Name: Nyall Dawson (@nyalldawson)


Duplicate of #24823


  • resolution was changed from to duplicate
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Aug 31, 2017
@qgib qgib added Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

1 participant