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

raster image with rotated worldfiles #17389

Closed
qgib opened this issue Sep 24, 2013 · 6 comments
Closed

raster image with rotated worldfiles #17389

qgib opened this issue Sep 24, 2013 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Sep 24, 2013

Author Name: malcom jamal (malcom jamal)
Original Redmine Issue: 8659
Affected QGIS version: 2.0.1
Redmine category:rasters


great work on qgis
but cannot insert raster image with rotated worldfiles
on WGS 84 - UTM Zone 32Nord EPSG 32632

worldfile example
0.016719
201.172482
0.000000
-0.016719
677613.094651
5142519.979935

thanks


@qgib
Copy link
Contributor Author

qgib commented Sep 24, 2013

Author Name: Giovanni Manghi (@gioman)


see also #13852


  • category_id was configured as Rasters
  • fixed_version_id was configured as Future Release - High Priority
  • operating_system was changed from windows + linux to

@qgib
Copy link
Contributor Author

qgib commented Sep 30, 2013

Author Name: Antal Kosza (@antoniusz)


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.

@qgib
Copy link
Contributor Author

qgib commented Sep 30, 2013

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2013

Author Name: Jukka Rahkonen (Jukka Rahkonen)


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
http://article.gmane.org/gmane.comp.gis.jump.devel/14544
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.

@qgib
Copy link
Contributor Author

qgib commented Oct 3, 2013

Author Name: malcom jamal (malcom jamal)


hello,
I am very sorry, I have used this vlx under Autocad
http://www.cadstudio.cz/georefimg
to generate worldfiles

Old version jgw with
[GEOrefIMG command loaded. (C)2010, XANADU]
0.016719
201.172482
0
-0.016719
677613.094651
5142519.979935

New version jgw with
[GEOrefIMG command loaded. (C)2013, CAD Studio - www.cadstudio.cz]
-0.01559042361
-0.00603851412
-0.00603851412
0.01559042361
677613.0754770313
5142519.993070455

with the new version jgw working very fine into Qgis.
Sorry again
malcom jamal

PS
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.


  • 6304 was configured as qgisdufour201windows-jpg.jpg
  • 6305 was configured as qgisdufour201windows-png.jpg
  • 6306 was configured as qgismasteralpha-linux-jpg.jpg

@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2013

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant