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

Marco Afonso mafonso333 at gmail.com
Sat Apr 11 02:51:11 PDT 2015


Hi,

Follows the error message and the LAYER definition.

*The error message:*

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>

msDrawMap(): Image handling error. Failed to draw layer named
'ortos2012'.
msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing
file '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for
layer 'ortos2012'.

</ServiceException>

</ServiceExceptionReport>



*The layer definition:*

LAYER
      NAME "ortos2012"
TILEINDEX "/home/mapas/dados/raster/ortos2012/ortos2012.shp"
TILEITEM "location"
GROUP "orto2012"
STATUS ON
TYPE RASTER
EXTENT 15995.647242605302 -295001.417762485 51995.770961132344
-250001.16004779167
#MAXSCALE 50000
      METADATA
         "wms_title" "ortos2012_internet"
         "wms_abstract" "generated by DSIC"
         "wms_extent" "15995.647242605302 -295001.417762485
51995.770961132344 -250001.16004779167"
 "wms_srs" "EPSG:27492"
 "wms_name" "ortos2012"
 "wms_server_version" "1.1.1"
 "wms_format" "image/jpeg"
      END
    END



2015-04-11 2:07 GMT+01:00 Richard Greenwood <richard.greenwood at gmail.com>:

> Marco,
>
> If you haven't got it working yet, please post the error message and you
> LAYER definition.
>
> Rich
>
>
> On Fri, Apr 10, 2015 at 8:25 AM, Marco Afonso <mafonso333 at gmail.com>
> wrote:
>
>> Hi again,
>>
>> Ok Jeff, I can change if I find something new.
>>
>> Not solved yet :p
>>
>> Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw
>> correctly.
>>
>> But I still get the mapserver error... are there any further tests that I
>> can do?
>>
>> Thanks.
>>
>> 2015-04-10 15:07 GMT+01:00 Jeff McKenna <jmckenna at gatewaygeomatics.com>:
>>
>>> On 2015-04-10 10:34 AM, Marco Afonso wrote:
>>>
>>>
>>>> Found this
>>>>
>>>
>>>  And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW
>>>>
>>>>  Those wiki pages are wonderful; please as you head down this path
>>> don't be afraid to update that ECW build wiki with any notes or changes you
>>> noticed.  Thanks!
>>>
>>> -jeff
>>>
>>>
>>>
>>>
>>> --
>>> Jeff McKenna
>>> MapServer Consulting and Training Services
>>> http://www.gatewaygeomatics.com/
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>
>>
>>
>> --
>> 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
>



-- 
Regards,
Marco Afonso
http://goo.gl/ZDtQjm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150411/b052fb13/attachment.html>


More information about the mapserver-users mailing list