[mapserver-users] Access to a remote raster file in wms-mapfile

Daniel Morissette dmorissette at mapgears.com
Wed Feb 3 06:47:04 PST 2010


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: dalda at ikt.es                                web: www.ikt.es
> ··················································································
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list