[mapserver-users] Re: Raster Layer Error

Ibrahim Saricicek ibrahimsaricicek at gmail.com
Mon Sep 6 07:55:52 EDT 2010


Hi..

No it's not about the path, I've tried shapepath either.

On Mon, Sep 6, 2010 at 12:23 PM, Sumit Sharma [via OSGeo.org] <
ml-node+5502593-320101334-10162 at n2.nabble.com<ml-node%2B5502593-320101334-10162 at n2.nabble.com>
> wrote:

> I would suggest you to revisit your path, try using shapepath, imagepath
> etc. and make sure that you are able to refer your files properly.
> You may also like to carefully observe permissions on your server. Try to
> see mapserver debug info by setting debug level 5, that may also give you
> some more information about your problem.
> -Sumit
>
> ------------------------------
>  View message @
> http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502593.html
> To unsubscribe from Raster Layer Error, click here<http://osgeo-org.1803224.n2.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=5502458&code=aWJyYWhpbXNhcmljaWNla0BnbWFpbC5jb218NTUwMjQ1OHwtMTMzMTA0MzIxNQ==>.
>
>
> Hi Hi All,

A 800Mb Jpeg2000 file works on MS4W, but returns an error on Linux.
What is meant on the error message?

*The error message is;*
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named 'Uydu'.
GetBlockRef failed at X block offset 267, Y block offset 96: Unable to
access file. GDALRasterIO() failed: drawGDAL()
</ServiceException>


*This is layer definition;*

LAYER
NAME 'Uydu'
DATA "/var/www/Turkiye.jp2"
TYPE RASTER
  PROJECTION
    "init=epsg:4326"
  END
STATUS ON
END

*
This is Window 7 side;*

version 5.4.0-rc2 Libs;
    curl-7.15.1
    expat-2.0.1
    fcgi-2.4.0
    fits-3.0.2
    freetype-2.1.10
    fribidi-0.19.1
    gd-2.0.35
    gdal-1.6.0 RC2
    geos-2.2.3
    gettext-0.13
    hdf5
    jbigkit-1.6
    jpeg-6b
    libecwj2-3.3
    libgeotiff-1.2.3
    libiconv-1.9.1
    libintl-0.11.5
    libpng-1.2.8
    libxml2-2.6.23.win32
    mapserver-5.2.1
    ming-0.2a
    mrsid-6.0.7.1407
    mysql-5.0.18-win32
    netcdf-3.6.1
    PDFlib-Lite-6.0.2
    php-5.2.6
    postgresql-8.3.3
    proj-4.6.1
    Python-2.5.1
    regex-0.12
    sqlite3
    SWIG-1.3.33
    tiff-cvs (02/04/08)
    xerces-c-2.7.0
    zlib-1.2.3

*This is Debian Lenny 64-bit server side;*

version 5.4.2 libs;
Mapserv  5.4.2

-lgd -L/usr/lib64 -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm -lX11
-L/usr/local/src/agg-2.4//src -lagg -ltiff -ljpeg -lfreetype -lz -lpng -lz
-lXpm -lX11 -lproj -ljpeg -lpng -L/usr/local/lib -lgdal -L/usr/lib -lgeos_c
-L/usr/lib -lsqlite3 -lodbc -lodbcinst -L/usr/lib -lexpat -L/usr/lib
-lxerces-c -lpthread -ljasper -lhdf5 -lmfhdf -ldf -lgif -ljpeg -ltiff -lpng
-lnetcdf -lpq -L/usr/lib -lpq -lz -lm -lrt -ldl -lcurl -L/usr/lib -lpq
-L/usr/lib/mysql -lmysqlclient -lmysqlclient -lcurl -L/usr/lib -lgeos_c
-lpthread -L -lc -lz -lxml2 -lm -lstdc++

Gd-2.0.35

Gdal 1.7.2
./configure --with-png --with-jpeg --with-gif --with-jasper=/usr/local
  JasPer support:            yes (GeoJP2=yes)

jasper-1.900.1.uuid
./configure

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502902.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100906/072be71e/attachment-0001.html


More information about the mapserver-users mailing list