Bug report #6528
the export map use wrong extension name
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Rasters | ||
Affected QGIS version: | master | 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 #: | 15742 |
Description
Hi, exporting a map canvas as image georef in qgis-dev in tif format.
Has a wrong extension for world file.
the file
filename.tif should have a world file named "filename.tfw".
Instead it is named "filename.tifw"
the 'i' should no be in the extension name.
Regards.
History
#1 Updated by aperi2007 - almost 12 years ago
I test also qgis 1.8
Also the qgis 1.8 has the same error.
it generate a .tifw instead of a .tfw
#2 Updated by Alexander Bruy almost 12 years ago
- Status changed from Open to Rejected
- Resolution set to invalid
According to ESRI specifications this is correct behavior. See ArcGIS Help and EKB 17489
#3 Updated by Giuseppe Sucameli almost 12 years ago
- Status changed from Rejected to Closed
#4 Updated by Giuseppe Sucameli almost 12 years ago
- Status changed from Closed to Reopened
Alexander Bruy wrote:
According to ESRI specifications this is correct behavior.
I guess it's not the correct behavior. In
I read:
The world file must follow this naming convention. If the image file name has a 3-character extension (image1.tif), the world file has the same name followed by an extension containing the first and last letters of the image's extension and ending with a 'w' (image1.tfw). If the extension has more or less than 3 characters, including no extension at all, then the world file name is formed by simply appending a 'w' to the image file name.
Saving as "tif" image I get a "tifw" wordfile though the 'w' is appended to the original extension only when the file hasn't 3-character extension.
#5 Updated by Giuseppe Sucameli almost 12 years ago
- Resolution deleted (
invalid)
#6 Updated by Alexander Bruy almost 12 years ago
And in ArcGIS Help
mytown.tif would be mytown.tifw, and the world file for redlands.jpg would be redlands.jpgw. Often the naming conventionworld files use the same name as the image, with the letter w appended. For example, the world file for the image file
varies from this first description, using the first and third characters of the image file's suffix and a final letter
w as the world file suffix. Therefore, for mytown.tif, the world file would be mytown.tfw, or for redlands.jpg, its world
file would be redlands.jgw.
Same explanation I also see in my ArcGIS 3.2 help. So I still think that this is correct behavior.
#7 Updated by Giuseppe Sucameli almost 12 years ago
- Resolution set to invalid
- Status changed from Reopened to Closed
Alexander Bruy wrote:
I still think that this is correct behavior.
I agree, I'm closing it.