[Mapserver-users] Tiled Tiffs - Error 4

Robert A Carr racarr at fs.fed.us
Wed Jan 7 17:59:48 EST 2004




Having successfully implemented progressive zooming via minscale and
maxscale settings for seven levels of indexed tiffs of land cover data, I'm
unable to use tiling for  level 8.   Using the same scale settings, I'm
able to display the polygon tiles and a query of that layer shows the
correct path in the 'location' field.   An extract of the error log for the
session shows several entries similar to the following:

   [Wed Jan 07 15:40:22 2004] [error] [client 127.0.0.1] ERROR 4:
   `c:\maplab-2.0-release\projects\gmf_apps\region_9\data\images\nlcd_lo8\nlcd_lo8_659.tif'
 not recognized as a supported file format.

   [Wed Jan 07 15:40:22 2004] [error] [client 127.0.0.1]

   [Wed Jan 07 15:40:22 2004] [error] [client 127.0.0.1] Wed Jan 07
   15:40:22 2004 - msDrawRaster(): Unable to access file.
   (c:\maplab-2.0-release\projects\gmf_apps\region_9\data\images\nlcd_lo8\nlcd_lo8_659.tif)

Yet running gdalinfo against the same file  shows:

   Driver: GTiff/GeoTIFF
   Size is 1258, 1114
   Coordinate System is `'
   Origin = (-528973.000000,949977.042585)
   Pixel Size = (49.000000,-49.000000)
   Metadata:
     TIFFTAG_SOFTWARE=IrfanView (original was Arc/Info - I opened and saved
   in Irfan View to test)
     TIFFTAG_XRESOLUTION=0
     TIFFTAG_YRESOLUTION=0
     TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
   Corner Coordinates:
   Upper Left  ( -528973.000,  949977.043)
   Lower Left  ( -528973.000,  895391.043)
   Upper Right ( -467331.000,  949977.043)
   Lower Right ( -467331.000,  895391.043)
   Center      ( -498152.000,  922684.043)
   Band 1 Block=1258x6 Type=Byte, ColorInterp=Palette
     Color Table (RGB with 256 entries)
       0: 254,254,254,255
       1: 0,0,0,255
       2: 29,29,29,255
       3: 29,29,29,255
       4: 29,29,29,255
        .
        .
        .
        255:29,29,29,255

The tiffs in level seven were created using the same aml procedure
(Arc/Info Grid v8.3) used for tiffs in the other levels, but unlike the
other levels, these will not display as tiles.

Other info:

   MapServer version 4.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
   OUTPUT=PDF OUTPUT=SWF SUPPORTS
   =PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
   SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLI
   ENT INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

I've read similar problems described on the list, and have tried suggested
fixes, but without success.

---
Bob Carr
USDA Forest Service - Eastern Region
racarr at fs.fed.us           (414) 297-1057




More information about the mapserver-users mailing list