[Geoserver-users] [Geoserver-devel] invertQuery (queryBuffer) are not called in chained process

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 <ma.cardenete.dev@anonymised.com> 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"?>



rif_sld_301006

rif_sld_301006

rif_sld_301006 Mosca del olivo (Bactrocera oleae) - Nivel de ataque: Numero de moscas por trampa y dia coverage

<ogc:Function name=“gs:BarnesSurface”>
<ogc:Function name=“parameter”>
ogc:Literaldata</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralvalueAttr</ogc:Literal>
ogc:LiteralNU_VALOR</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalscale</ogc:Literal>
ogc:Literal700</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalconvergence</ogc:Literal>
ogc:Literal0.5</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:Literalpasses</ogc:Literal>
ogc:Literal2</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralminObservations</ogc:Literal>
ogc:Literal0</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralmaxObservationDistance</ogc:Literal>
ogc:Literal400000</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralpixelsPerCell</ogc:Literal>
ogc:Literal2</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralqueryBuffer</ogc:Literal>
ogc:Literal1000000</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteraloutputBBOX</ogc:Literal>
<ogc:Function name=“env”>
ogc:Literalwms_bbox</ogc:Literal>
</ogc:Function>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteraloutputWidth</ogc:Literal>
<ogc:Function name=“env”>
ogc:Literalwms_width</ogc:Literal>
</ogc:Function>
</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteraloutputHeight</ogc:Literal>
<ogc:Function name=“env”>
ogc:Literalwms_height</ogc:Literal>
</ogc:Function>
</ogc:Function>
</ogc:Function>

</ogc:Function>
<ogc:Function name=“parameter”>
ogc:LiteralcropShape</ogc:Literal>

<ogc:Function name=“collectGeometries”>
<ogc:Function name=“queryCollection”>
ogc:Literalrif:rif_view_contorno_oli</ogc:Literal>
ogc:LiteralGEOMETRY</ogc:Literal>
ogc:LiteralINCLUDE</ogc:Literal>
</ogc:Function>
</ogc:Function>

</ogc:Function>
</ogc:Function>




ogc:PropertyNameGEOMETRY</ogc:PropertyName>

1











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
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel