Vanuatu GIS Feed
banner
vanuatugis.bsky.social
Vanuatu GIS Feed
@vanuatugis.bsky.social
29 followers 3 following 25K posts
The Vanuatu GIS Feed will be used to aggregate site posts. It is monitored, but will probably not be very 'personal'. - @raetlomi.bsky.social Technology Feed @vanuatutech.bsky.social. 231124
Posts Media Videos Starter Packs
GeoServer 2.22.0 WPS error while clipping raster with GeoJSON input
When I try to run a WPS process for clipping a WCS raster data with a GeoJSON data it fails to complete the job. But when I do the same with WKT string as a input it completes successfully. Failed WPS process with JSON input ras:CropCoverage coverage nu:NE2_50M_SR -180.0 -90.0 180.0 90.0 cropShape result Geoserver log error message 08 Dec 14:35:12 ERROR [wps.executor] - Process execution failed org.geoserver.wps.WPSException: Failed to retrieve value for input cropShape at org.geoserver.wps.executor.LazyInputMap.parseInputs(LazyInputMap.java:97) at org.geoserver.wps.executor.LazyInputMap.get(LazyInputMap.java:49) at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.buildProcessArguments(AnnotationDrivenProcessFactory.java:736) at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:616) at org.geoserver.wps.executor.ProcessStartupFilter$ProcessStartupWrapper.execute(ProcessStartupFilter.java:50) at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:224) at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:192) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: org.geotools.geojson.feature.FeatureHandler.(org.locationtech.jts.geom.GeometryFactory) at org.geotools.geojson.DelegatingHandler.createDelegate(DelegatingHandler.java:125) at org.geotools.geojson.geom.GeometryHandler.primitive(GeometryHandler.java:58) at org.json.simple.parser.JSONParser.parse(JSONParser.java:428) at org.json.simple.parser.JSONParser.parse(JSONParser.java:312) at org.geotools.geojson.GeoJSONUtil.parse(GeoJSONUtil.java:278) at org.geotools.geojson.geom.GeometryJSON.parse(GeometryJSON.java:623) at org.geotools.geojson.geom.GeometryJSON.read(GeometryJSON.java:181) at org.geoserver.wps.ppio.GeoJSONPPIO$Geometries.decode(GeoJSONPPIO.java:104) at org.geoserver.wps.ppio.CDataPPIO.decode(CDataPPIO.java:21) at org.geoserver.wps.executor.SimpleInputProvider.getValueInternal(SimpleInputProvider.java:81) at org.geoserver.wps.executor.AbstractInputProvider.getValue(AbstractInputProvider.java:100) at org.geoserver.wps.executor.ValidatingInputProvider.getValue(ValidatingInputProvider.java:39) at org.geoserver.wps.executor.LazyInputMap.parseInputs(LazyInputMap.java:89) ... 10 more Caused by: java.lang.NoSuchMethodException: org.geotools.geojson.feature.FeatureHandler.(org.locationtech.jts.geom.GeometryFactory) at java.base/java.lang.Class.getConstructor0(Class.java:3349) at java.base/java.lang.Class.getConstructor(Class.java:2151) at org.geotools.geojson.DelegatingHandler.createDelegate(DelegatingHandler.java:119) ... 22 more This issue is not seen in GeoServer 2.18.0 when I tested it. I can see a bug for this in GEOS Jira are there any updates on this?
gis.stackexchange.com