Opened 3 years ago

Closed 3 years ago

#372 closed defect (invalid)

mapfile raster layer won't open local network shared tiff images

Reported by: alvinleelwz Owned by: Jeff McKenna
Priority: major Milestone: 5.0.0 release
Component: MS4W - Base Version: 4.0.5
Keywords: Cc:
Blocked By: Blocking:

Description

Hi, there. I am not sure this is a defect or what.
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 guessing, somehow, in mapraster.c line: 650, GDALOpenEx returned NULL for path like //192.168.210.150/some/shared_dir/a_float_type_image.tif.

Change History (1)

comment:1 by Jeff McKenna, 3 years ago

Resolution: invalid
Status: newclosed

@alvinleelwz would you mind posting this on the MS4W-users forum instead? I think all users need to hear this, and answering this here won't let everyone know about the changes made. Thanks, and sorry for this hassle. (subscribe at https://lists.ms4w.com/mailman/listinfo/ms4w-users/ )

Note: See TracTickets for help on using tickets.