Hello.
I have a bunch of tiff-files in C:\Coordinator\GIS\Karta_VÄST\Terrängk. I try to open them with (for example):
GeoTiffRasterLayer trnLayer = new GeoTiffRasterLayer(@"C:\Coordinator\GIS\Karta_VÄST\Terrängk\t05bno.tif");
but get back a dialog that says it can't open the file (notice the mangled characters):
It works if I move the files to a path without national characters, like this:
GeoTiffRasterLayer trnLayer = new GeoTiffRasterLayer(@"C:\Coordinator\GIS\t05bno.tif");
How do I get around this? It is unfeasable for me to move the files, as they are part of a large dataset we get from a client and that are updated from time to time.
I also use TabFileFeatureLayer, and that class has no problems with national characters. GdiPlusRasterLayer also works, but the documentation says GeoTiff is better.
Thanks,
Jan D.