Hello,

I'm trying to user GeoServer to publish rasters stored in Float64 type.
For the data to be visually understandable, I put in place an SLD file
(using uDig).

Rendering these rasters with uDig and even QGis works well, but when it
comes to rendering with geoserver, all i get is an empty image.

Here are the screenshots :
Rendering in QGIS directly from file and created SLD file
<http://osgeo-org.1560.x6.nabble.com/file/n5195778/from-file-with-sld.png> 
Result of getmap request : all white
<http://osgeo-org.1560.x6.nabble.com/file/n5195778/with-wms.png> 

Just to be sure, I tried using WCS to get the raw data and everything seems
fine
<http://osgeo-org.1560.x6.nabble.com/file/n5195778/with-wcs.png> 

Here is the SLD used :

<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor
xmlns="http://www.opengis.net/sld"; xmlns:sld="http://www.opengis.net/sld";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:gml="http://www.opengis.net/gml"; version="1.0.0">
    <sld:UserLayer>
        <sld:LayerFeatureConstraints>
            <sld:FeatureTypeConstraint/>
        </sld:LayerFeatureConstraints>
        <sld:UserStyle>
            <sld:Name>1</sld:Name>
            <sld:Title>Default Raster</sld:Title>
            <sld:Abstract>A sample style that draws a raster, good for
displaying imagery</sld:Abstract>
            <sld:FeatureTypeStyle>
                <sld:Name>name</sld:Name>
                <sld:FeatureTypeName>Feature</sld:FeatureTypeName>
                <sld:Rule>
                    <sld:Name>rule1</sld:Name>
                    <sld:Title>Opaque Raster</sld:Title>
                    <sld:Abstract>A raster with 100% opacity</sld:Abstract>
                    <sld:RasterSymbolizer>
                        <sld:Geometry>
                            <ogc:PropertyName>geom</ogc:PropertyName>
                        </sld:Geometry>
                        <sld:ColorMap>
                            <sld:ColorMapEntry color="#D7191C" opacity="1"
quantity="0" label="1"/>
                            <sld:ColorMapEntry color="#FDAE61" opacity="1"
quantity="0.002383" label="2"/>
                            <sld:ColorMapEntry color="#FFFFBF" opacity="1"
quantity="0.004766" label="3"/>
                            <sld:ColorMapEntry color="#ABDDA4" opacity="1"
quantity="0.007149" label="4"/>
                            <sld:ColorMapEntry color="#2B83BA" opacity="1"
quantity="0.009532" label="5"/>
                        </sld:ColorMap>
                    </sld:RasterSymbolizer>
                </sld:Rule>
            </sld:FeatureTypeStyle>
        </sld:UserStyle>
    </sld:UserLayer>
</sld:StyledLayerDescriptor>

Here is the raw raster used :
1.tif <http://osgeo-org.1560.x6.nabble.com/file/n5195778/1.tif>  


Cyril





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Colormap-on-Float64-raster-tp5195778.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to