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

World file created from Project->Save as image has wrong extension for various other uses #17454

Closed
qgib opened this issue Oct 1, 2013 · 7 comments

Comments

@qgib
Copy link
Contributor

qgib commented Oct 1, 2013

Author Name: Andrew DeMerchant (Andrew DeMerchant)
Original Redmine Issue: 8739

Redmine category:unknown


It looks like when you "save as image", the extension for the world file that gets created is just the extension of the image type, plus a "w". So, a png becomes pngw, jpg becomes jpgw, etc. I think this is the way that GDAL works, which would explain things - but it would be nice if it used the alternate method so that it would work with things like Autocad, for example, without having to manually rename the file. A lot of software uses the other naming method where you take the first and last letter and then add a w to those. So jpg becomes jpw, tif becomes tfw, etc.

It's obviously very easy to rename manually - but like I said, it would just be a nice little change if it did this out of the box.

@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2013

Author Name: Jukka Rahkonen (Jukka Rahkonen)


This is the original ArcInfo way and taking the 1st and 3rd letter from the short DOS 8.3 style filename came later with ArcView. However, the three letter world file extensions are for sure much more common.

This is QGIS specific behaviour, GDAL creates short world file extensions. Sometimes they are even named as .wld.

@qgib
Copy link
Contributor Author

qgib commented Nov 14, 2013

Author Name: Matthias Kuhn (@m-kuhn)


Fixed in changeset "9259e27c415b651ba49730adc098b798dc531908".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Nov 15, 2013

Author Name: Martin Dobias (@wonder-sk)


The mentioned changeset actually fixes #17494, not this one.


  • status_id was changed from Closed to Open

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2017

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as Unknown

@AlisterH
Copy link
Contributor

AlisterH commented Nov 15, 2022

The description in this ticket is out of date, so it could perhaps be closed.
"Project>Import/Export>Export Map to Image" produces a .jgw if you save to jpeg format.

It doesn't produce a world file at all if you save to .tif - in my mind it would be nice if it did.

@AlisterH
Copy link
Contributor

AlisterH commented Feb 2, 2023

Anyone want to close this ticket (fixed as per my previous comment)?
@gioman?

@alexbruy alexbruy closed this as completed Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants