<div dir="ltr">Why are you using a shapefile? Is it a tile index? Have you tried accessing the ecw file directly? Something like:<div><br><div><div>LAYER </div><div>  NAME "ecw"</div><div>  STATUS default</div><div>  TYPE raster</div><div>  DATA "<span style="font-size:12.8000001907349px">/fullpath/to/0608A1Argb_</span><span style="font-size:12.8000001907349px">12_d73.ecw</span>"</div><div>END</div></div><div><br></div><div>Ubuntu probably installed gdal, so you may have two copied. To see which one is first, try </div><div>    which -a gdalinfo</div><div>and verify that the version with ecw support is first.</div></div><div><br></div><div>And if you are still having trouble, please post your layer definition.</div><div><br></div><div>rich</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso <span dir="ltr"><<a href="mailto:mafonso333@gmail.com" target="_blank">mafonso333@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br clear="all">Hi all,</div><div><br></div><div>Installed mapserver with apt-get.</div><div>I've installed gdal manually: compiled with ecw support (gdalinfo tell me that).</div><div>I'm trying to use a shapefile (which points to ecw files) on mapserver but comes the error (the relevant part):</div><div><br>msDrawMap(): Image handling error. Failed to draw layer named &#39;ortos2012&#39;.<br>msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file &#39;/fullpath/to/0608A1Argb_12_d73.ecw</div><div><br></div><div>Note also that I'm using the full path to the ecw.</div><div><br></div><div>Any ideas please? Thanks :)</div><span class="HOEnZb"><font color="#888888"><div><br>-- <br></div><div><div dir="ltr">Regards, <div>Marco Afonso</div><div><a href="http://goo.gl/ZDtQjm" target="_blank">http://goo.gl/ZDtQjm</a><br></div><div><span></span><img src="https://dl.dropboxusercontent.com/u/17607469/qr.png"><br></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</div>