You may wish to ask on the user list Miguel - the devel list is for those
working on making you the next GeoServer release.
Actually if you have a moment to test 2.6-RC1 we would love some feedback.
Jody Garnett
On Mon, Sep 1, 2014 at 3:47 AM, Miguel A. Cardenete <
[email protected]> wrote:
> I'm working on a map of statistical process using geoserver. (Render
> Trasformations)
> All Processes are defined in SLD:
>
> I want to generate the BarnesSurface and cut using cropCoverage process
>
> SLD Style:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld"
> 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
> http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
> xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
> <NamedLayer>
> <Name>rif_sld_301006</Name>
> <UserStyle>
> <Name>rif_sld_301006</Name>
> <Title>rif_sld_301006</Title>
> <Abstract>Mosca del olivo (Bactrocera oleae) - Nivel de ataque:
> Numero
> de moscas por trampa y dia</Abstract>
> <FeatureTypeStyle>
> <Transformation>
> <ogc:Function name="ras:CropCoverage">
> <ogc:Function name="parameter">
> <ogc:Literal>coverage</ogc:Literal>
>
> <ogc:Function name="gs:BarnesSurface">
> <ogc:Function name="parameter">
> <ogc:Literal>data</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>valueAttr</ogc:Literal>
> <ogc:Literal>NU_VALOR</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>scale</ogc:Literal>
> <ogc:Literal>700</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>convergence</ogc:Literal>
> <ogc:Literal>0.5</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>passes</ogc:Literal>
> <ogc:Literal>2</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>minObservations</ogc:Literal>
> <ogc:Literal>0</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>maxObservationDistance</ogc:Literal>
> <ogc:Literal>400000</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>pixelsPerCell</ogc:Literal>
> <ogc:Literal>2</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>queryBuffer</ogc:Literal>
> <ogc:Literal>1000000</ogc:Literal>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>outputBBOX</ogc:Literal>
> <ogc:Function name="env">
> <ogc:Literal>wms_bbox</ogc:Literal>
> </ogc:Function>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>outputWidth</ogc:Literal>
> <ogc:Function name="env">
> <ogc:Literal>wms_width</ogc:Literal>
> </ogc:Function>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>outputHeight</ogc:Literal>
> <ogc:Function name="env">
> <ogc:Literal>wms_height</ogc:Literal>
> </ogc:Function>
> </ogc:Function>
> </ogc:Function>
>
> </ogc:Function>
> <ogc:Function name="parameter">
> <ogc:Literal>cropShape</ogc:Literal>
>
> <ogc:Function name="collectGeometries">
> <ogc:Function name="queryCollection">
> <ogc:Literal>rif:rif_view_contorno_oli</ogc:Literal>
> <ogc:Literal>GEOMETRY</ogc:Literal>
> <ogc:Literal>INCLUDE</ogc:Literal>
> </ogc:Function>
> </ogc:Function>
>
>
> </ogc:Function>
> </ogc:Function>
> </Transformation>
> <Rule>
> <RasterSymbolizer>
> <Geometry>
> <ogc:PropertyName>GEOMETRY</ogc:PropertyName>
> </Geometry>
> <Opacity>1</Opacity>
> <ColorMap type="intervals">
> <ColorMapEntry color="#8400A8" quantity="0.000001" />
> <ColorMapEntry color="#38A800" quantity="2.5" />
> <ColorMapEntry color="#FFFF00" quantity="5" />
> <ColorMapEntry color="#FF0000" quantity="1000" />
> </ColorMap>
> </RasterSymbolizer>
> </Rule>
> </FeatureTypeStyle>
> </UserStyle>
> </NamedLayer>
> </StyledLayerDescriptor>
>
> When I zoom the resulting raster image becomes unstable and disappears and
> this happens because they are not taking into account all external points
> (out of bbox) in calculation.
>
> I have debugged the code and when I call gs:BarnesSurface function in
> standalone way funtion BarnesSurfaceProcess.invertQuery() is calling. But
> when I chained functions CropCoverage and BarnesSurface, invertQuery
> function is nos called.
>
> the invertQuery function is used to expand the input BBOX rewriting the
> input query, but in chained process is ignored?? bug??
> Any fix or hack?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/invertQuery-queryBuffer-are-not-called-in-chained-process-tp5159398.html
> Sent from the GeoServer - Dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users