[Geoserver-devel] [jira] Created: (GEOS-3155) ArcSDE Raster Issue - Values between 0 and 1 are being set to 0 for 1 band float raster

ArcSDE Raster Issue - Values between 0 and 1 are being set to 0 for 1 band float raster
----------------------------------------------------------------------------------------

                 Key: GEOS-3155
                 URL: http://jira.codehaus.org/browse/GEOS-3155
             Project: GeoServer
          Issue Type: Bug
          Components: ArcSDE
    Affects Versions: 1.7.5
         Environment: Oracle 10.2.0.2
SDE 9.2 SP5
            Reporter: Aleda Freeman
            Assignee: Andrea Aime
            Priority: Minor

This layer is on arcy as SDE.RUGGED_RD but it's not currently being served through arcy's GeoServer right now.
It's a 1 band float no colormap image.
What I'm seeing is that in the layer in SDE there are a lot of values between 0 and 1, and values above 1.
But when the layers is served through GeoServer and I click on cells either in OpenLayers or uDig I can't find any cells with values between 0 and 1.
I found this as I was struggling to symbolize the data.

For example if I use this style which I named MORIS.RUGGED_RD::Colors_2

    <RasterSymbolizer>
     <ColorMap>
      <ColorMapEntry color="#000000" quantity="0.0" opacity="1.0"/>
      <ColorMapEntry color="#FF0000" quantity="0.33" opacity="1.0"/>
      <ColorMapEntry color="#00FF00" quantity="0.66" opacity="1.0"/>
      <ColorMapEntry color="#0000FF" quantity="1.0" opacity="1.0"/>
     </ColorMap>
     <Opacity>1.0</Opacity>
    </RasterSymbolizer>

With black, red, green, blue - I only see black and blue on the map:

http://maps.massgis.state.ma.us/geoserver/wms?bbox=273624.61106393,870728.0728322441,321321.611006393,950964.0728322441&styles=MORIS.RUGGED_RD::Colors_2&Format=application/openlayers&request=GetMap&version=1.1.1&layers=massgis:MORIS.RUGGED_RD&width=377&height=550&srs=EPSG:26986

However, if I zoom in to just above Provincetown in ArcMap where I've symbolized the data with 4 colors:

0 - 0.17 = black
0.17 - 0.4 = med gray
0.4 - 0.65 = light gray
0.65 - 106 = white

http://maps.massgis.state.ma.us/test_images/near_provincetown_rugged_rd.gif

So according to my getfeatureinfo clicks it almost seems that the values between 0 and 1 have all been set to 0.
It doesn't seem to be a rounding issue, because the values above 1 are still floating point numbers.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira