Bug report #7763
Black raster when a special character is used in file path
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Rasters | ||
Affected QGIS version: | 1.8.0 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16662 |
Description
Hello world,
I've noticed that QGIS 1.8 has a problem when special characters are used in the path of a file that is loaded as raster layer.
For example, when I add a new raster layer (ECW file...) that is in C:/donn*+é+*es/file.ecw, it appears all black in QGIS. But when I import the same file from an other path without special characters, like C:/donnees/file.ecw, it appears properly.
Yes, I can also change the name of my file paths ;-) But when you have to work with a server that's not yours...
History
#1 Updated by Giovanni Manghi over 11 years ago
- Status changed from Open to Feedback
can you test QGIS master, please? thanks!
#2 Updated by Romain Blanc over 11 years ago
I've tested QGIS Master (1959182) and I can't open any ECW file -> PE_1123-44.ecw is not a supported raster data source
Thanks for your help! ;-)
#3 Updated by Giovanni Manghi over 11 years ago
Romain Blanc wrote:
I've tested QGIS Master (1959182) and I can't open any ECW file -> PE_1123-44.ecw is not a supported raster data source
Thanks for your help! ;-)
#4 Updated by Romain Blanc over 11 years ago
Hello ;)
I'm sorry, I'm a bit late...
Thank you Giovanni Manghi for the link, I've followed the steps and I can now open ECW files from a path without special characters.
But I've tried many times in QGIS 1.9.0-17 -18 -19 -20 to import an ECW file from a path with special characters. No, it don't work anyway -> "data.ecw is not a supported raster data source". I precise I can easily open the same file when it's in a path without spec chars.
Thank you!
#5 Updated by Giovanni Manghi over 11 years ago
Romain Blanc wrote:
Hello ;)
I'm sorry, I'm a bit late...
Thank you Giovanni Manghi for the link, I've followed the steps and I can now open ECW files from a path without special characters.
But I've tried many times in QGIS 1.9.0-17 -18 -19 -20 to import an ECW file from a path with special characters. No, it don't work anyway -> "data.ecw is not a supported raster data source". I precise I can easily open the same file when it's in a path without spec chars.
Thank you!
on Windows 7/8 there are no issues on any path that contains characters like ç ã é á è spaces etc.
if this is a XP only problem than I suggest to close this ticket.
#6 Updated by Romain Blanc over 11 years ago
- Status changed from Feedback to Closed
So, I'll update my Windows XP to Win7 ;-)
Or try Ubuntu!
Thanks a lot for your help!