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

Translate (convert format) [gdal_translate]: export format in batch mode always outputs GeoTIFF #19440

Closed
qgib opened this issue Aug 27, 2014 · 12 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 Aug 27, 2014

Author Name: d d (d d)
Original Redmine Issue: 11110
Affected QGIS version: 2.4.0
Redmine category:gdal_tools


When using "Translate (convert format)" from the GUI (@gdal_translate@), the export format in batch mode always outputs GeoTIFF files even when a different format is selected (e.g., *.ASC).

While the outputted files have the appropriate extension (e.g., *.ASC), the files themselves are reported as GeoTIFF format when examining metadata.

Above behaviour happens when converting TIF to either ASC or PIX formats. Didn't try other formats to see if the issue persists.

When not using batch mode, and specifying the output format (e.g., @-of AAIGrid@) in the command line edit box for @gdal_translate@, the files export into their intended format. Metadata confirmed.

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

Author Name: d d (d d)


  • fixed_version_id was changed from Future Release - High Priority to Version 2.6

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

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


  • category_id was changed from Browser to GDAL Tools
  • fixed_version_id removed Version 2.6

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

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


  • priority_id was changed from High to Normal

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

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


  • subject was changed from Translate (covert format) [gdal_translate]: export format in batch mode always outputs GeoTIFF to Translate (convert format) [gdal_translate]: export format in batch mode always outputs GeoTIFF

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

Author Name: d d (d d)


This is clearly a bug and should be a high priority update for a future release (e.g., 2.6). I wasted several hours of processing time because the output format is NOT what was specified within the dialog box. If this isn't fixed by the next release, the ability to use this option should NOT be available to the end user, or the dialog box should specify that GeoTIFF is the only output option.


  • fixed_version_id was configured as Version 2.6

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

Author Name: d d (d d)


  • fixed_version_id was changed from Version 2.6 to Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

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


d d wrote:

This is clearly a bug and should be a high priority update for a future release (e.g., 2.6). I wasted several hours of processing time because the output format is NOT what was specified within the dialog box. If this isn't fixed by the next release, the ability to use this option should NOT be available to the end user, or the dialog box should specify that GeoTIFF is the only output option.

By that definition almost any bug would high priority and would have to be fixed in the next release. That won't happen as it's simply unfeasible.


  • fixed_version_id removed Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

Author Name: d d (d d)


Jürgen Fischer wrote:

d d wrote:

This is clearly a bug and should be a high priority update for a future release (e.g., 2.6). I wasted several hours of processing time because the output format is NOT what was specified within the dialog box. If this isn't fixed by the next release, the ability to use this option should NOT be available to the end user, or the dialog box should specify that GeoTIFF is the only output option.

By that definition almost any bug would high priority and would have to be fixed in the next release. That won't happen as it's simply unfeasible.

That's a very narrow reading and rather flippant interpretation of my comment in the context of the submitted bug report.

While it's not my place to say what is or isn't feasible to fix by the next release date, my suggestion still stands. Hopefully it will be fixed or amended as suggested in a future release.


  • fixed_version_id was configured as Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

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


Fixed in changeset "890f921e06267d7bf2c0029bd0dedf014e5b5a49".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

Author Name: Paolo Cavallini (@pcav)


d d please be kind with people who work hard everyday to bring you the best possible GIS, free for you to use

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2014

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


  • fixed_version_id removed Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2014

Author Name: d d (d d)


Paolo Cavallini wrote:

d d please be kind with people who work hard everyday to bring you the best possible GIS, free for you to use

It takes the whole community to make great software. Don't forget that we, the users of QGIS, also work hard everyday when we use, test, find and report bugs. Without a healthy user base contributing to this effort, QGIS would not be the best possible GIS it is today (and it is, a great GIS).

I see no unkindness on my part in the above comments, but I am thankful that the issue was addressed, so thank you Jürgen. You (and I) have helped contribute to making QGIS an even better piece of software, free for all to use.

@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 25, 2019
@qgib qgib closed this as completed May 25, 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