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
Raster calculator: fails if file name has spaces #14493
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Paolo Cavallini (@pcav)
|
Author Name: Paolo Cavallini (@pcav)
|
Author Name: Paolo Cavallini (@pcav) Now raster names are surrounded by "" when added by double clicking, so the expression works. If they are written by hand without "", however, the result is all 0s |
Author Name: Paolo Cavallini (@pcav)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Alexander Bruy (@alexbruy) IMHO this should be closed, as users should use correct syntax when writing expression by hands.
|
Author Name: Paolo Cavallini (@pcav) I don't agree: spaces in filenames are accepted by QGIS, so they should be escaped by calc engine. |
Author Name: Giovanni Manghi (@gioman) Where do we stand with this? |
Author Name: Paolo Cavallini (@pcav) Well, IMHO this is still an usability issue. What is your feeling? |
Author Name: Jürgen Fischer (@jef-n) identifiers with blanks in them have to be quoted - also in in "regular" expressions. So I don't see an issue here.
|
Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 4586
Affected QGIS version: master
Redmine category:raster_calculator
Doing a simple expression like raster1@1 * raster 2@1 fails because one of the filenames has spaces
The text was updated successfully, but these errors were encountered: