Hello, I have a question regarding how to properly configure Geoserver to implement a Web Processing Service. Specifically, I would like to do the ras:CropCoverage. This is the xml that I have generated where both the raster and polygon are in the correct projection. WGS 84. I keep receiving an error that PostgreSQL ran out of memory which is kind of surprising as the area of the raster that needs to be clipped is fairly small.
This is the error I found in Geoserver. ras:CropCoverageCrop CoverageReturns the portion of a raster bounded by a given geometry.Failed to retrieve value for input coverage java.io.IOException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. org.postgresql.util.PSQLException: Ran out of memory retrieving query results. Ran out of memory retrieving query results. Java heap space Is there a way to write view the SQL code used to connect to PostgreSQL or write your own and wrap it in a WPS? ?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0" service="WPS" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns=" http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs " xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows=" http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml " xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs=" http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink " xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"> <ows:Identifier>ras:CropCoverage</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>coverage</ows:Identifier> <wps:Reference mimeType="image/tiff" xlink:href="http://geoserver/wcs " method="POST"> <wps:Body> <wcs:GetCoverage service="WCS" version="1.1.1"> <ows:Identifier>test:glc2000_mosaic</ows:Identifier> <wcs:DomainSubset> <ows:BoundingBox crs=" http://www.opengis.net/gml/srs/epsg.xml#4326"> <ows:LowerCorner>-180.00446428570004 -56.01339243789996</ows:LowerCorner> <ows:UpperCorner>179.99553456229998 89.99553566630004</ows:UpperCorner> </ows:BoundingBox> </wcs:DomainSubset> <wcs:Output format="image/tiff"/> </wcs:GetCoverage> </wps:Body> </wps:Reference> </wps:Input> <wps:Input> <ows:Identifier>cropShape</ows:Identifier> <wps:Data> <wps:ComplexData mimeType="application/wkt"><![CDATA[Polygon((-90.6188 30.857, -91.688 30.259, -90.776 30.259, -90.776 30.857, -90.6188 30.857))]]></wps:ComplexData> </wps:Data> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput mimeType="image/tiff"> <ows:Identifier>result</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute> -- David Haynes, Ph.D. Research Associate Terra Populus Minnesota Population Center 612-626-3933 www.terrapop.org
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users