Davy Jones ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=62544a44410206006e95dc9f ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMjMyOTEzZGRkNWNhNDdkMTg4MGQxZDU0NTc0NDQ5NjIiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-10530?atlOrigin=eyJpIjoiMjMyOTEzZGRkNWNhNDdkMTg4MGQxZDU0NTc0NDQ5NjIiLCJwIjoiaiJ9 ) GEOS-10530 ( https://osgeo-org.atlassian.net/browse/GEOS-10530?atlOrigin=eyJpIjoiMjMyOTEzZGRkNWNhNDdkMTg4MGQxZDU0NTc0NDQ5NjIiLCJwIjoiaiJ9 ) ras:RasterZonalStatistics (WPS) failing ( https://osgeo-org.atlassian.net/browse/GEOS-10530?atlOrigin=eyJpIjoiMjMyOTEzZGRkNWNhNDdkMTg4MGQxZDU0NTc0NDQ5NjIiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.20.4 Assignee: Unassigned Components: WPS Created: 05/Jun/22 11:29 PM Environment: Ubuntu 20, ram 8gb local system Priority: Highest Reporter: Davy Jones ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=62544a44410206006e95dc9f ) Hi Guys not sure this is a bug or mistake from my end I’m a college student and new GIS trying to build a web application I’m almost near to my goal, except that I want max, min and avg value present with in a polygon inside raster data. but getting below exception Please let me know if I went wrong Thanks Request *curl -u admin:geoserver -H 'Content-type: xml' -XPOST -d@'req.xml'* *http://localhost:8080/geoserver/wps* ( http://localhost:8080/geoserver/wps ) input <?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:Identifierras:RasterZonalStatistics</ows:Identifier> wps:DataInputs wps:Input ows:Identifierdata</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:IdentifierCOG:test</ows:Identifier> wcs:DomainSubset <ows:BoundingBox crs="http://www.opengis.net/gml/srs/epsg.xml#4326"> ows:LowerCorner-99.01972656250078 23.84564988765935</ows:LowerCorner> ows:UpperCorner-98.91972656250078 23.94564988765935</ows:UpperCorner> </ows:BoundingBox> </wcs:DomainSubset> <wcs:Output format="image/tiff"/> </wcs:GetCoverage> </wps:Body> </wps:Reference> </wps:Input> wps:Input ows:Identifierzones</ows:Identifier> wps:Data <wps:ComplexData mimeType="application/json"><![CDATA[{"type":"Polygon","coordinates":[ [ [ -98.77116828334096, 25.285783476021 ], [ -98.76800711886617, 25.288453505904506 ], [ -98.76715612186572, 25.286032301541933 ], [ -98.76841602614023, 25.283338092197052 ], [ -98.77162006200044, 25.282733262691647 ], [ -98.77372701910794, 25.28328295959541 ], [ -98.77552015767421, 25.28481792667873 ], [ -98.77486036705271, 25.28724187480997 ], [ -98.77414432917355, 25.288814911683534 ], [ -98.77312107494652, 25.290080046267068 ], [ -98.7716769094575, 25.2897337312157 ], [ -98.77088378882736, 25.286544185883763 ], [ -98.77116828334096, 25.285783476021 ] ] ]}]]></wps:ComplexData> </wps:Data> </wps:Input> wps:Input ows:Identifierclassification</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:IdentifierCOG:test</ows:Identifier> wcs:DomainSubset <ows:BoundingBox crs="http://www.opengis.net/gml/srs/epsg.xml#4326"> ows:LowerCorner-99.01972656250078 23.84564988765935</ows:LowerCorner> ows:UpperCorner-98.91972656250078 23.94564988765935</ows:UpperCorner> </ows:BoundingBox> </wcs:DomainSubset> <wcs:Output format="image/tiff"/> </wcs:GetCoverage> </wps:Body> </wps:Reference> </wps:Input> </wps:DataInputs> wps:ResponseForm <wps:RawDataOutput mimeType="application/json"> ows:Identifierstatistics</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute> error <?xml version="1.0" encoding="UTF-8"?><wps:ExecuteResponse xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" service="WPS" serviceInstance="http://localhost:8080/geoserver/ows?" version="1.0.0"><wps:Process wps:processVersion="1.0.0">ows:Identifierras:RasterZonalStatistics</ows:Identifier>ows:TitleRaster Zonal Statistics</ows:Title>ows:AbstractComputes statistics for the distribution of a certain quantity in a set of polygonal zones.</ows:Abstract></wps:Process><wps:Status creationTime="2022-06-05T21:12:49.898Z">wps:ProcessFailed<ows:ExceptionReport version="1.1.0"><ows:Exception exceptionCode="NoApplicableCode">ows:ExceptionTextFailed to retrieve value for input data org.geotools.coverage.grid.InvalidGridGeometryException: Unspecified image's size. Unspecified image's size.</ows:ExceptionText></ows:Exception></ows:ExceptionReport></wps:ProcessFailed></wps:Status></wps:ExecuteResponse> ( https://osgeo-org.atlassian.net/browse/GEOS-10530#add-comment?atlOrigin=eyJpIjoiMjMyOTEzZGRkNWNhNDdkMTg4MGQxZDU0NTc0NDQ5NjIiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-10530#add-comment?atlOrigin=eyJpIjoiMjMyOTEzZGRkNWNhNDdkMTg4MGQxZDU0NTc0NDQ5NjIiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100200- sha1:2895363 )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel