[mapserver-users] Raster Layer Error

Ibrahim Saricicek ibrahimsaricicek at gmail.com
Mon Sep 6 01:31:36 PDT 2010


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-tp5502458p5502458.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list