Hi all:
| <br><br><br><br><br>I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface<br><br><br><br>[<img src="http://i.stack.imgur.com/77y1z.png" style="margin: 0px; padding: 0px; border-width: 0px; max-width: 630px;">](http://i.stack.imgur.com/77y1z.png)<br><br><br><br>The SLD file is below:<br><br><br><br>```<br><?xml version="1.0" encoding="ISO-8859-1"?><br><StyledLayerDescriptor version="1.0.0"<br> xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"<br> xmlns="http://www.opengis.net/sld"<br> xmlns:ogc="http://www.opengis.net/ogc"<br> xmlns:xlink="http://www.w3.org/1999/xlink"<br> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><br> <NamedLayer><br> <Name>CropCoverage</Name><br> <UserStyle><br> <Title>Crop Coverage</Title><br> <FeatureTypeStyle><br> <Transformation><br> <ogc:Function name="gs:CropCoverage"><br> <!-- crop coverage --><br> <ogc:Function name="parameter"><br> <ogc:Literal>coverage</ogc:Literal><br><br> <ogc:Function name="gs:BarnesSurface"><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>data</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>valueAttr</ogc:Literal><br> <ogc:Literal>o3_8h</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>scale</ogc:Literal><br> <ogc:Literal>300000</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>convergence</ogc:Literal><br> <ogc:Literal>0.2</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>passes</ogc:Literal><br> <ogc:Literal>3</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>minObservations</ogc:Literal><br> <ogc:Literal>1</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>maxObservationDistance</ogc:Literal><br> <ogc:Literal>300000</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>pixelsPerCell</ogc:Literal><br> <ogc:Literal>10</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>queryBuffer</ogc:Literal><br> <ogc:Literal>1100000</ogc:Literal><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>outputBBOX</ogc:Literal><br> <ogc:Function name="env"><br> <ogc:Literal>wms_bbox</ogc:Literal><br> </ogc:Function><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>outputWidth</ogc:Literal><br> <ogc:Function name="env"><br> <ogc:Literal>wms_width</ogc:Literal><br> </ogc:Function><br> </ogc:Function><br><br> <ogc:Function name="parameter"><br> <ogc:Literal>outputHeight</ogc:Literal><br> <ogc:Function name="env"><br> <ogc:Literal>wms_height</ogc:Literal><br> </ogc:Function><br> </ogc:Function><br><br> </ogc:Function><br><br> </ogc:Function><br> <ogc:Function name="parameter"><br> <ogc:Literal>cropShape</ogc:Literal><br> <ogc:Function name="env"><br> <ogc:Literal>shape</ogc:Literal><br> <ogc:Literal><br> POLYGON((12679220.5449551 4733685.69206447,12898591.968062 4713152.82010571,13058134.8212306 4439899.46114607,13030214.821926 4052340.79528089,12735060.5435642 4028261.06778929,12483780.5498236 4076471.69742768,12180649.1288033 4330580.49744829,12264409.1267168 4525151.37667656,12264409.1267168 4525151.37667656,12364123.4099472 4728548.57087371,12364123.4099472 4728548.57087371,12679220.5449551 4733685.69206447))<br> </ogc:Literal><br> </ogc:Function><br> </ogc:Function><br> </ogc:Function><br> </Transformation><br> <Rule><br> <Name>rule1</Name><br> <RasterSymbolizer></RasterSymbolizer><br> </Rule><br> </FeatureTypeStyle><br> </UserStyle><br> </NamedLayer><br></StyledLayerDescriptor><br><br>```<br><br><br><br>The Error Info is below:<br><br><br><br>Error rendering coverage on the fast path java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException Failed to evaluate the process function, error is: java.lang.RuntimeException: java.io.IOException java.lang.RuntimeException: java.io.IOException java.io.IOExceptionorg.postgresql.util.PSQLException: ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry ERROR: parse error - invalid geometry 建议:"POLYGON ((- " <-- parse error at position 12 within geometry<br><br><br><br>Where Error??????<br><br><br><br> |
| - |