Hello List
I have trouble to display overlaying rasters which contain topografic
informations. The rasters are the german topografic map (DGK) which is
represented by two layers: The base layer shows all roads and cities as
value 0 rastercells, the relief layers shows all topolines as value 0
rastercells. The other cells have 1 as value. I translated them with
gdal_translate to geotiff an set 1 as no_data value - which should get rid
of those "no info cells". In QGIS they show up properly and I can see both
layers (1 value cells are transparent/ non existing). If used in GeoServer
I am unable to see both layers, since the 1 value cells are rendered as
white pixels. Something is wrong on the GeoServer side. Here are my
settings:

*Rasterdaten Parameter*
Accurate resolution computation
AllowMultithreading
BackgroundValues
Filter
FootprintBehavior
InputTransparentColor

MaxAllowedTiles
MergeBehavior
OutputTransparentColor

SORTING
SUGGESTED_TILE_SIZE
USE_JAI_IMAGEREAD



Bänderdetails zu Raster

   - Bänder
   Datentyp
   Null-Werte
   minRange
   maxRange
   Einheit
   Unsigned 8 bits

























*SLD:<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor
xmlns="http://www.opengis.net/sld <http://www.opengis.net/sld>"
xmlns:sld="http://www.opengis.net/sld <http://www.opengis.net/sld>"
xmlns:ogc="http://www.opengis.net/ogc <http://www.opengis.net/ogc>"
xmlns:gml="http://www.opengis.net/gml <http://www.opengis.net/gml>"
version="1.0.0">  <sld:NamedLayer>
<sld:Name>c411930gs_ProjectRaster</sld:Name>    <sld:UserStyle>
<sld:Name>c411930gs_ProjectRaster</sld:Name>
<sld:FeatureTypeStyle>        <sld:Rule>
<sld:RasterSymbolizer>            <sld:Geometry>
<ogc:PropertyName>grid</ogc:PropertyName>
</sld:Geometry>            <sld:ColorMap>              <sld:ColorMapEntry
color="#000000" opacity="1.0" quantity="0.0"/>
<sld:ColorMapEntry color="#444444" opacity="0.0"
quantity="1.0"/>            </sld:ColorMap>
</sld:RasterSymbolizer>        </sld:Rule>      </sld:FeatureTypeStyle>
</sld:UserStyle>  </sld:NamedLayer></sld:StyledLayerDescriptor>*


*gdalinfo for one of the rasters:*
Driver: GTiff/GeoTIFF
Files:
N:/temp/Geonode/DataToImport/Hx/DGK_5/trans/c411930hf_ProjectRaster.tif
Size is 6299, 6299
Coordinate System is:
PROJCS["ETRS_1989_UTM_Zone_N32",
    GEOGCS["GCS_ETRS_1989",
        DATUM["European_Terrestrial_Reference_System_1989",
            SPHEROID["GRS 1980",6378137,298.2572221010002,
                AUTHORITY["EPSG","7019"]],
            AUTHORITY["EPSG","6258"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",9],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",32500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]
Origin = (32497927.420726549000000,5742142.373873201200000)
Pixel Size = (0.317379399999837,-0.317379399999984)
Metadata:
  AREA_OR_POINT=Area
  DataType=Thematic
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (32497927.421, 5742142.374) (  8d58'11.72"E, 51d49'48.37"N)
Lower Left  (32497927.421, 5740143.201) (  8d58'11.77"E, 51d48'43.66"N)
Upper Right (32499926.594, 5742142.374) (  8d59'56.17"E, 51d49'48.38"N)
Lower Right (32499926.594, 5740143.201) (  8d59'56.17"E, 51d48'43.67"N)
Center      (32498927.007, 5741142.787) (  8d59' 3.96"E, 51d49'16.02"N)
Band 1 Block=6299x1 Type=Byte, ColorInterp=Palette
  Min=0.000 Max=1.000
  Minimum=0.000, Maximum=1.000, Mean=0.972, StdDev=0.164
  NoData Value=1
  Overviews: 3150x3150, 1575x1575, 788x788, 394x394, 197x197, 99x99
  Metadata:
    RepresentationType=THEMATIC
    STATISTICS_COVARIANCES=2,68819748864689E-02
    STATISTICS_MAXIMUM=1
    STATISTICS_MEAN=0,97235370834899
    STATISTICS_MINIMUM=0
    STATISTICS_STDDEV=0,16395723493176
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 255,255,255,255



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

Reply via email to