Hi, I guess that you will also need to configure Apache server so that it gives an access to the remote disk. I have not done it with IP-address but by assigning a drive letter for it first. This has a side effect that Apache cannot be installed as Windows service in a simple way.
-Jukka Rahkonen- Daniel Morissette wrote: I'd suggest you start by making sure GDAL can open the file: 1- Does "gdalinfo --formats" list the ECW format? 2- Check that you are able to open the file with gdalinfo \\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw Daniel David Alda Fernandez de Lezea wrote: > Hi list, > > I'm trying to access a remote raster file stored in NAS device (Iomega > StorCenter Pro NAS 150D) which ip address is (192.168.1.4). > > In my mapfile I'm putting the url like this: > > DATA "\\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw" > > But when I try to load the wms layer, I don't get anything and mapserver > throws the following error: > > ... > [Wed Feb 03 09:11:13 2010].67000 msDrawRaster(): Unable to access file. > \\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw using full path > \\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw > [Wed Feb 03 09:11:13 2010].67000 Unable to open file > \\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw for layer orto0 ... ignoring > this missing data. > [Wed Feb 03 09:11:13 2010].67000 msDrawMap(): Layer 1 (orto0), 0.000s > ... > > The thing, is that if I type this url in my web browser, I get the file > downloading. What I'm doing wrong? Any ideas? > > Thanks in advance. > > > Un saludo, > > ·················································································· > > David Alda Fernández de Lezea > Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad > > IKT > Granja Modelo s/n · 01192 · Arkaute (Araba) > > ·················································································· > Tlfnos.: 945-00-32-95 Fax: 945-00.32.90 > ·················································································· > email: da...@ikt.es web: www.ikt.es > ·················································································· > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Daniel Morissette http://www.mapgears.com/ _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users