[mapserver-users] Re: Raster Layer Error

Stephen Woodbridge woodbri at swoodbridge.com
Mon Sep 6 09:37:55 EDT 2010


Have you checked:

ls -la /var/www/Turkiye.jp2
ls -la /var/www

And made sure that this are accessible by apache?

What does:   .../cgi-bin/mapserv -v     report?

-Steve W

On 9/6/2010 7:55 AM, Ibrahim Saricicek wrote:
> 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] <[hidden
> email] </user/SendEmail.jtp?type=node&node=5502902&i=0>> 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
>     <http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502593.html?by-user=t>
>
>     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==&by-user=t>.
>
>
> 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: Re: Raster Layer Error
> <http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502902.html>
> Sent from the Mapserver - User mailing list archive
> <http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html> at
> Nabble.com.
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list