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

the export map use wrong extension name #15742

Closed
qgib opened this issue Oct 16, 2012 · 7 comments
Closed

the export map use wrong extension name #15742

qgib opened this issue Oct 16, 2012 · 7 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 Oct 16, 2012

Author Name: aperi2007 - (aperi2007 -)
Original Redmine Issue: 6528
Affected QGIS version: master
Redmine category:rasters


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.

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: aperi2007 - (aperi2007 -)


I test also qgis 1.8

Also the qgis 1.8 has the same error.

it generate a .tifw instead of a .tfw

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: Alexander Bruy (@alexbruy)


According to ESRI specifications this is correct behavior. See "ArcGIS Help":http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=World_files_for_raster_datasets and "EKB 17489":http://support.esri.com/en/knowledgebase/techarticles/detail/17489


  • status_id was changed from Open to Rejected
  • resolution was changed from to invalid

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


  • status_id was changed from Rejected to Closed

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


Alexander Bruy wrote:

According to ESRI specifications this is correct behavior.

I guess it's not the correct behavior. In

"EKB 17489":http://support.esri.com/en/knowledgebase/techarticles/detail/17489

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.


  • status_id was changed from Closed to Reopened

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


  • resolution was changed from invalid to

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: Alexander Bruy (@alexbruy)


And in ArcGIS Help

world files use the same name as the image, with the letter w appended. For example, the world file for the image file
mytown.tif would be mytown.tifw, and the world file for redlands.jpg would be redlands.jpgw. Often the naming convention
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.

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


Alexander Bruy wrote:

I still think that this is correct behavior.

I agree, I'm closing it.


  • resolution was changed from to invalid
  • status_id was changed from Reopened 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 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