Hello, I’m using MapSuite v7 (Desktop Edition). I got an Error from a customer, when he try to load an Tif-Layer. MapSuite shows a Messagebox “Can’t load {filename}”. {filename} is the PathFileName-Propterty from the Layer. The costumer use a german version from windows 7 and he use also german chars in the Pathfilename (i.e. Ä, Ö, Ü). In the Error-MessageBox these special german chars are not correct. So I think MapSuite can’t find this file I have to use GeoTiffLibraryType.UnmanagedLibTiff. Any suggenstions Torsten
Error loading GeoTiffRasterLayer
Hi Torsten,
Sorry we can’t recreate the issue in our end. We try to use the different languages to replace the file path includes in German but all of them can be found.
Could you recreated it in your end or provide us more details about the error like the calls track from exception, error file path, or even the tiff file?
Thanks,
Johnny
Hi Johnny,
I don’t get an Exception - only the Messagebox as shown in the attached word-file. We create another Directory (without german chars) and copied the tif-file (also tfw) in this Directory - there are no errors.
Then I changed my Code and use “LibraryType = GeoTiffLibraryType.ManagedLibTiff” instead of “GeoTiffLibraryType.UnmanagedLibTiff”. There are also no Errors. So I think, this is a Problem with the “unmanaged” code.
Regards Torsten
_Problem_LoadGeoTiff_GermanPathChars.docx (287 KB)
Hi Torsten,
We still can’t recreate the issue. We test on a new XP machine, open a tif file with a domain network path with german chars which is like the customer’s error image includes. And if it is really a bug in the “unmanaged” code, it is hard to say we can fix it as we are using the geotiff.dll which is from GDAL.
Sorry for any inconvenience.
Best regards,
Johnny