[Mapserver-users] raster problem: tiled tiff blank

Randy James rjames57 at yahoo.com
Tue Aug 26 12:33:54 PDT 2003


Hi

Does changing Location to LOCATION make a difference?

Cheers
Randy
--- uli <uli.mueller at gmx.ch> wrote:
> hi list
> I have tiled tiff images that worked in MS 3.6. With MS
> 4.0, using the same
> shape with tiles, I only get a blank page. When I
> reference a single tiff
> with the DATA parameter, they show up perfectly.
> What I checked so far (without success):
> - Created new tiles with gdaltindex. The tiles are in the
> right place and
> the "location" field contains correct data.
> - Re-built MS --with-tiff and --without-tiff.
> - Re-built gdal with and without
> "--with-tiff=internal --with-geotiff=internal"
> Any ideas? Thanks.
> Uli
> 
> ##System Linux Suse 8.1
> 
> ##./mapserv -v
> MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7
> INPUT=JPEG INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> 
> ##gdal-config --formats
> gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 bsb xpm
> sdts raw dted mem
> jdem envisat elas fit vrt usgsdem l1b nitf bmp gif jpeg
> png
> ##gdal-config --version
> 1.1.9
> 
> ##MapFile (has no PROJECTION; has IMAGETYPE png; has
> OUTPUTFORMAT defined)
> LAYER
>   NAME "rastermaps"
>   TYPE raster
>   STATUS ON
>   TILEINDEX
> "/geodata/europe/ch/_data/scanned/greentiles.shp"
>   TILEITEM "Location"
>   #DATA "/geodata/europe/ch/_data/scanned/green1.tif" 
> <<< this works!!
>   CLASSITEM "[pixel]"
>   OFFSITE 255 255 255
>   CLASS
>   	EXPRESSION ([pixel] = 2)
> 	COLOR 153 255 153
>   END
> END
> 
> ##gdalinfo says:
> Driver: GTiff/GeoTIFF
> Size is 14000, 9600
> Coordinate System is `'
> Origin = (480000.000000,206000.000000)
> Pixel Size = (5.000000,-5.000000)
> Corner Coordinates:
> Upper Left  (  480000.000,  206000.000)
> Lower Left  (  480000.000,  158000.000)
> Upper Right (  550000.000,  206000.000)
> Lower Right (  550000.000,  158000.000)
> Center      (  515000.000,  182000.000)
> Band 1 Block=14000x1 Type=Byte, ColorInterp=Palette
>   Color Table (RGB with 256 entries)
>     0: 255,255,255,255
>    1: 255,255,255,255
>     2: 180,255,180,255
>     3: 180,245,255,255
>     4: 255,220,23,255
>     5: 255,153,0,255
>     6: 204,122,18,255
>     7: 18,15,255,255
>     8: 18,18,18,255
>     9: 150,150,150,255
>    10: 150,150,150,255
> 	.....
> 
> 
> -------------
> Uli Müller
> geOps GeoInformatics
> Stephanienstrasse 4
> D-79100 Freiburg
> Tel +49 (0)761 8814 606 / 607
> FAX +49 (0)761 8814 607
> mobile +49 (0)174 9689457
> uli at geops.de & uli at geops.ch
> --------------
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the MapServer-users mailing list