Hi Kylli,

Could it be possible to put a sample image somewhere awailable?

-Jukka Rahkonen-

Kylli Ek wrote:

Hi,

We are trying to publish to GeoServer some older paletted tiff-images but have 
a strange problem - GeoServer returns a totally white image, no error messages 
(checked the logs).
First we tried with ImageMosaic, then also single images. Some of the single 
images were showing up normally, some are also white, although with gdalinfo I 
do not see any differences for these images and they are from same vendor from 
same delivery (example below).

The files are paletted geotiffes and are about 10 years old, but for example in 
QGIS they display without any problems. According to this post 
(http://osgeo-org.1560.x6.nabble.com/Publishing-GeoTiffs-ColorPalette-with-Alpha-td5128601.html),
 I could understand, that paletted geotiffs with alpha channel can not be 
published with GeoServer? But some of the images do show up??

* I tried also changing the style, so that certain values would have certain 
color, but no change. The images showing up have the default raster style. . 
Clicking on the map preview does not give any results, could think that if for 
some reason whole image is just pained white, it still would give values for 
GetFeatureInfo request?
* Tried also setting Coverage Band Details minRange and MaxRange, but no 
change. By default both were 0 for imagemosaic, but -indefinite to indefinite 
for single image.
* The granule grid for ImageMosaic looks good. And the coordinates for Preview 
seem ok.
* GeoServer version 2.7.1

gdalinfo gives:
gdalinfo 28_29op.tif
Driver: GTiff/GeoTIFF
Files: 28_29op.tif
       28_29op.aux
       28_29op.rrd
       28_29op.tfw
Size is 1600, 1600
Coordinate System is:
PROJCS["KKJ / Finland Uniform Coordinate System",
    GEOGCS["KKJ",
        DATUM["Kartastokoordinaattijarjestelma_1966",
            SPHEROID["International 1924",6378388,297.0000000000014,
                AUTHORITY["EPSG","7022"]],
            AUTHORITY["EPSG","6123"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4123"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",27],
    PARAMETER["scale_factor",1],
    PARAMETER["false_easting",3500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","2393"]]
Origin = (3339950.000000000000000,7519950.000000000000000)
Pixel Size = (100.062539086929334,-100.062539086929334)
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_RESOLUTIONUNIT=1 (unitless)
  TIFFTAG_SOFTWARE=Arc/Info
  TIFFTAG_XRESOLUTION=0.0099999998
  TIFFTAG_YRESOLUTION=0.0099999998
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  ( 3339950.000, 7519950.000) ( 23d12'59.77"E, 67d43'18.78"N)
Lower Left  ( 3339950.000, 7359849.937) ( 23d25'59.61"E, 66d17'21.51"N)
Upper Right ( 3500050.063, 7519950.000) ( 27d 0' 4.27"E, 67d45'56.68"N)
Lower Right ( 3500050.063, 7359849.937) ( 27d 0' 4.02"E, 66d19'48.82"N)
Center      ( 3420000.031, 7439899.969) ( 25d 9'46.89"E, 67d 2'14.75"N)
Band 1 Block=1600x6 Type=Byte, ColorInterp=Palette
  Description = Band_1
  Overviews: 400x400, 200x200, 100x100, 50x50
  Metadata:
    LAYER_TYPE=thematic
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 241,148,241,255
    2: 223,255,202,255
    3: 255,0,0,255
    4: 186,223,234,255
etc until 255


Best regards,
Kylli Ek

GIS-coordinator
CSC - IT Center for Science Ltd
PL 405, 02101 Espoo
Tel: +358 50 38 12 838
[email protected]<mailto:[email protected]>


------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to