Bug report #12597

Exported image with world file is not located properly when imported back into project

Added by Thomas Campagne almost 5 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Projection Support
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:20720

Description

Hi,

I noticed an issue regarding the creation and importing of image referenced using world files.
I did everything using only QGIS 2.8.1 without any other tweak to the files

I loaded a DEM tile in NAD83 (EPSG 4269) into QGIS 2.8.1, open a new print composer to display the DEM tile and save it as an image with a world file.
If the map is not rotated (Map properties > Main Properties > Map rotation = 0 deg) the imported image is properly located.
If the map is 30 deg rotated (Map properties > Main Properties > Map rotation = 30 deg) the imported image is not properly located.

The world files seem to contain the proper parameters so it looks to me like the importer is failing.

I attached the DEM tile in USGS .dem format, the two exported images (.jpg + .jpw)and screenshots from my QGIS project.
On the screenshots, I clicked with the "Identify feature" tool on the upper left corner of the tile for each layer to compare the coordinates.

Any thoughts?

This might be related to issue #12322.

Thanks

QGIS_2.8.1_original_raster_DEM.png - Screenshot (310 KB) Thomas Campagne, 2015-04-17 01:55 PM

QGIS_2.8.1_exported_raster_with_world_file.png - Screenshot (546 KB) Thomas Campagne, 2015-04-17 01:55 PM

QGIS_2.8.1_exported_rotated_raster_with_world_file.png - Screenshot (434 KB) Thomas Campagne, 2015-04-17 01:55 PM

043d09_0200_deme.zip - USGS .dem raster (683 KB) Thomas Campagne, 2015-04-17 01:55 PM

DEM_4269.jgw (70 Bytes) Thomas Campagne, 2015-04-17 01:55 PM

DEM_4269.jpg - un-rotated map (615 KB) Thomas Campagne, 2015-04-17 01:55 PM

DEM_4269_rotated_30deg.jgw (70 Bytes) Thomas Campagne, 2015-04-17 01:55 PM

DEM_4269_rotated_30deg.jpg - 30 deg rotated map (591 KB) Thomas Campagne, 2015-04-17 01:55 PM

History

#1 Updated by Giovanni Manghi almost 5 years ago

  • Category set to Projection Support
  • Status changed from Open to Feedback

Please test qgis master and report back. If it is related to #12322 it should be already fixed.

#2 Updated by Jürgen Fischer almost 5 years ago

Giovanni Manghi wrote:

Please test qgis master and report back. If it is related to #12322 it should be already fixed.

Or using a "nightly build of the upcoming point release" on Debian/Ubuntu or using the qgis-rel-dev package on OSGeo4W.

#3 Updated by Paolo Cavallini almost 5 years ago

Does http://qgis.org/debian-nightly-ltr exist? I get a 404 Not Found

#4 Updated by Jürgen Fischer almost 5 years ago

Paolo Cavallini wrote:

Does http://qgis.org/debian-nightly-ltr exist? I get a 404 Not Found

Not yet. It will be "(available once there is a new latest release)". See also LTR"

#5 Updated by Giovanni Manghi over 4 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

Also available in: Atom PDF