[MS4W-Users] mapfile raster layer won't open local network shared tiff images

Wz L alvinleelwz at gmail.com
Sat Mar 19 03:30:13 UTC 2022


In the map file, turning the DEBUG ON for LAYER and DEBUG 5 for MAP, the
ms_error.txt reports the following:

[Sat Feb 26 10:41:48 2022].874000 msDrawRasterLayerLow(image): entering.
[Sat Feb 26 10:41:48 2022].874000 msDrawRasterLayerLow(image):
Filename is: //192.168.210.150/some/shared_dir/a_float_type_image.tif
[Sat Feb 26 10:41:48 2022].885000 msDrawRasterLayerLow(image): Path
is: //192.168.210.150/some/shared_dir/a_float_type_image.tif
[Sat Feb 26 10:41:48 2022].923000 Corrupt, empty or missing file
'//192.168.210.150/some/shared_dir/a_float_type_image.tif' for layer
'image' ... ignoring this missing data.
[Sat Feb 26 10:41:48 2022].923000 msDrawMap(): Layer 0 (image), 0.054s

However, placing the tif image in the shape data dir, OpenLayers show
correctly in the browser.

Also, gdalinfo.exe
//192.168.210.150/some/shared_dir/a_float_type_image.tif reports
no error, as well as gdal.Open('//
192.168.210.150/some/shared_dir/a_float_type_image.tif') in python.

My guess is, somehow, in mapraster.c line: 650, GDALOpenEx returned NULL
for paths like //192.168.210.150/some/shared_dir/a_float_type_image.tif.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20220319/d11321f1/attachment.htm>


More information about the MS4W-Users mailing list