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

Warp (Reproject) tool not working correctly in QGIS 2.18.11 #24878

Closed
qgib opened this issue Aug 7, 2017 · 6 comments
Closed

Warp (Reproject) tool not working correctly in QGIS 2.18.11 #24878

qgib opened this issue Aug 7, 2017 · 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 Aug 7, 2017

Author Name: Mario Reyes (@ernesto561)
Original Redmine Issue: 16979
Affected QGIS version: 2.18.11
Redmine category:gdal_tools


I´ve been trying to reproject a raster using the Warp tool, but I get the message "Output driver `ESAT' not recognised or does not support direct output file creation.". The gdalwarp code can be edited and the output changed from ESAT to GTiff, but for a novice user is not straightforward. It works correctly with the 2.18.9 version. A similar bug was reported for the 2.18.10 version in the Clipper tool #24715


@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2017

Author Name: Andre Joost (Andre Joost)


Same here.

Using gdalwarp, I select a new filename for output, then QGIS adds a -of VRT to the command line.

No matter which file type I choose in the Select dialogue, always VRT is chosen.

In the Windows registry, I found the key

HKEY_CURRENT_USER\Software\QGIS\QGIS2\GdalTools\lastRasterFileFilter

Set to Virtual Raster (*.vrt *.VRT). When I delete the key, QGIS reacts as expected, adding the correct -of ... according to the file type selection.

Maybe this key was set in a previous QGIS version, but not cleared later. Anyway, seems to be related to GdalTools, and not processing.

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2017

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


  • description was changed from I´ve been trying to reproject a raster using the Warp tool, but I get the message "Output driver `ESAT' not recognised or does not support direct output file creation.". The gdalwarp code can be edited and the output changed from ESAT to GTiff, but for a novice user is not straightforward. It works correctly with the 2.18.9 version. A similar bug was reported for the 2.18.10 version in the Clipper tool [[https://issues.qgis.org/issues/16816]]

    to I´ve been trying to reproject a raster using the Warp tool, but I get the message "Output driver `ESAT' not recognised or does not support direct output file creation.". The gdalwarp code can be edited and the output changed from ESAT to GTiff, but for a novice user is not straightforward. It works correctly with the 2.18.9 version. A similar bug was reported for the 2.18.10 version in the Clipper tool Clipper not working correctly in QGIS 2.18.10 #24715

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2017

Author Name: Giovanni Manghi (@gioman)


Maybe this key was set in a previous QGIS version, but not cleared later. Anyway, seems to be related to GdalTools, and not processing.

yes I believe this is the explanation and fix, otherwise this can't be really replicated.


  • assigned_to_id removed Victor Olaya
  • regression was changed from 1 to 0
  • status_id was changed from Open to Feedback
  • category_id was changed from Processing/GDAL to GDAL Tools

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2017

Author Name: Andre Joost (Andre Joost)


I suspect the error to be in

C:\Program Files\QGIS 2.18\apps\qgis\python\plugins\GdalTools\tools\doWarp.py or GdalTools_utils.py

but since those have been removed from current master in favour of a processing plugin, I'm afraid we won't get a fix on that until QGIS 3.0.

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2017

Author Name: Giovanni Manghi (@gioman)


Andre Joost wrote:

I suspect the error to be in
[...]

but since those have been removed from current master in favour of a processing plugin, I'm afraid we won't get a fix on that until QGIS 3.0.

you are right: gdatools is no more, the shortcuts in qgis 3 will open the Processing tools. So there will be no fixes in the old "gdal tools", unless of course someone really want it and it available to support the work. Anyway sending a patch (via GitHub please) is always welcome.

@qgib
Copy link
Contributor Author

qgib commented Sep 25, 2017

Author Name: Giovanni Manghi (@gioman)


Fixes for gdaltools are not expected anymore, not even in 2.18.


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

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