Hi, I noticed that in GeoServer version 2.21.1 the WPS ReprojectGeometry does not work as it should.
In version 2.18.2, if I passed a geometry in application/json format with coordinate system 3857 and transformed it into coordinate system 3003, everything worked fine. In version 2.21.1, I get the error "Failed to retrieve value for input geometry" instead. The entered parameters are: Input Geometry (TEXT / application/json): {"coordinates": [1262204.6480731154,5710619.937814053], "type": "Point"} sourceCRS: EPSG: 3857 targetCRS: EPSG: 3003 result (Checked Generate): application/json This is the request payload xml: <?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>gs:ReprojectGeometry</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>geometry</ows:Identifier> <wps:Data> <wps:ComplexData mimeType="application/json"><![CDATA[{"coordinates":[1262204.6480731154,5710619.937814053],"type":"Point"}]]></wps:ComplexData> </wps:Data> </wps:Input> <wps:Input> <ows:Identifier>sourceCRS</ows:Identifier> <wps:Data> <wps:LiteralData>EPSG:3857</wps:LiteralData> </wps:Data> </wps:Input> <wps:Input> <ows:Identifier>targetCRS</ows:Identifier> <wps:Data> <wps:LiteralData>EPSG:3003</wps:LiteralData> </wps:Data> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput mimeType="application/json"> <ows:Identifier>result</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users