[mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11

Richard Greenwood richard.greenwood at gmail.com
Thu Apr 9 17:19:44 PDT 2015


Why are you using a shapefile? Is it a tile index? Have you tried accessing
the ecw file directly? Something like:

LAYER
  NAME "ecw"
  STATUS default
  TYPE raster
  DATA "/fullpath/to/0608A1Argb_12_d73.ecw"
END

Ubuntu probably installed gdal, so you may have two copied. To see which
one is first, try
    which -a gdalinfo
and verify that the version with ecw support is first.

And if you are still having trouble, please post your layer definition.

rich


On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso <mafonso333 at gmail.com> wrote:

>
> Hi all,
>
> Installed mapserver with apt-get.
> I've installed gdal manually: compiled with ecw support (gdalinfo tell me
> that).
> I'm trying to use a shapefile (which points to ecw files) on mapserver but
> comes the error (the relevant part):
>
> msDrawMap(): Image handling error. Failed to draw layer named
> 'ortos2012'.
> msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing
> file '/fullpath/to/0608A1Argb_12_d73.ecw
>
> Note also that I'm using the full path to the ecw.
>
> Any ideas please? Thanks :)
>
> --
> Regards,
> Marco Afonso
> http://goo.gl/ZDtQjm
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150409/afb59f51/attachment.htm>


More information about the MapServer-users mailing list