Bug report #8659
raster image with rotated worldfiles
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17389|
great work on qgis
but cannot insert raster image with rotated worldfiles
on WGS 84 - UTM Zone 32Nord EPSG 32632
#2 Updated by Antal Kosza about 8 years ago
There is something wrong with this raster dataset:
gdalwarp -r cubic -s_srs EPSG:32632 -t_srs EPSG:32632 ped208_cr.jpg ped208_cr.tif
Creating output file that is -2147483648P x 4898L.
ERROR 1: Attempt to create -2147483648x4898 dataset is illegal,sizes must be larger than zero.
#4 Updated by Jukka Rahkonen about 8 years ago
Where did you get that rotated world file? For me it looks bad.
I tried to understand how rotated world files are created and how they should be interpreted just yesterday. Have a look at this mail on OpenJUMP-dev
There is a small OpenOffice spreadsheet as an annex. You can play with the input parameters and look how the world file changes. Please report if you find that my logic was not correct.
#5 Updated by malcom jamal about 8 years ago
- File qgisdufour201windows-jpg.jpg added
- File qgisdufour201windows-png.jpg added
- File qgismasteralpha-linux-jpg.jpg added
I am very sorry, I have used this vlx under Autocad
to generate worldfiles
Old version jgw with
[GEOrefIMG command loaded. (C)2010, XANADU]
New version jgw with
[GEOrefIMG command loaded. (C)2013, CAD Studio - www.cadstudio.cz]
with the new version jgw working very fine into Qgis.
with ped208.jpg have a problem with re-size/re-sampling/rotating problem
with the same file converted before into PNG, and imported, no problem. Importing with Master version under Linux ped208.jpg have no problem.