Hi all,

I'm using GeoServer 2.8.4, with JVM version 1.7.0_80 (Java HotSpot(TM)
64-Bit Server VM). I'm also using Postgresql server version 9.4.0.

I have published raster data representing wind direction like Image
Mosaics. They are in EPSG:4285 with a BBOX
[-16.058210564139415,32.96955965348397,39.2896078071642,80.02803653793978]

I create a style that represents the wind direction with arrows, in
function of the pixel values.

Here the style:

<StyledLayerDescriptor version="1.0.0"
     xmlns="http://www.opengis.net/sld"; xmlns:gml="
http://www.opengis.net/gml";
     xmlns:ogc="http://www.opengis.net/ogc"; xmlns:xlink="
http://www.w3.org/1999/xlink";
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://www.opengis.net/sld
./StyledLayerDescriptor.xsd">
     <NamedLayer>
       <Name>Wind Direction</Name>
       <UserStyle>
         <FeatureTypeStyle>
           <Transformation>
             <ogc:Function name="gs:RasterAsPointCollection">
               <ogc:Function name="parameter">
                 <ogc:Literal>data</ogc:Literal>
               </ogc:Function>
              </ogc:Function>
           </Transformation>
           <Rule>
            <ogc:Filter>
              <ogc:PropertyIsGreaterThan>
               <ogc:PropertyName>GRAY_INDEX</ogc:PropertyName>
               <ogc:Literal>0</ogc:Literal>
              </ogc:PropertyIsGreaterThan>
             </ogc:Filter>
             <TextSymbolizer>
               <Label><![CDATA[ ]]></Label>
               <Graphic>
                 <Mark>
                   <WellKnownName>extshape://narrow</WellKnownName>
                   <Fill>
                     <CssParameter name="fill">#2d5da1</CssParameter>
                   </Fill>
                   <Stroke>
                     <CssParameter name="stroke">#2d5da1</CssParameter>
                     <CssParameter name="stroke-width">1.5</CssParameter>
                   </Stroke>
                 </Mark>
                 <Rotation>
                    <ogc:PropertyName>GRAY_INDEX</ogc:PropertyName>
                 </Rotation>
               </Graphic>
               <VendorOption name="conflictResolution">true</VendorOption>
             </TextSymbolizer>
           </Rule>
         </FeatureTypeStyle>
       </UserStyle>
     </NamedLayer>
   </StyledLayerDescriptor>

In a geoserver version 2.7.1 that I use for other projects it works
properly.

When i call the layer with this WMS:
127.0.0.1/geoserver/wind/wms?port=8181&LAYERS=id1359s011011r000-europe&TRANSPARENT=TRUE&VERSION=1.1.0&TIME=2016-04-29T10%3A06%3A00.000Z&TILED=true&SERVICE=WMS&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A4258&BBOX=29,33,74,78&WIDTH=256&HEIGHT=256

I have this error:
http://paste.ubuntu.com/17849610/

and in wms file i see



Does anyone has suggestions about this problem?

Thank you for your help.
Best regards.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to