Matteo Velludini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A2a23be6b-ab66-4057-a720-af1d6b6856c1
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMDQzNzA5OGY2ODQ2NGNhMDhhMDQ4YTM3N2I1MmQyODUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-11071?atlOrigin=eyJpIjoiMDQzNzA5OGY2ODQ2NGNhMDhhMDQ4YTM3N2I1MmQyODUiLCJwIjoiaiJ9
 ) GEOS-11071 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11071?atlOrigin=eyJpIjoiMDQzNzA5OGY2ODQ2NGNhMDhhMDQ4YTM3N2I1MmQyODUiLCJwIjoiaiJ9
 ) There is an issue with geo:buffer process when passing geometry as json ( 
https://osgeo-org.atlassian.net/browse/GEOS-11071?atlOrigin=eyJpIjoiMDQzNzA5OGY2ODQ2NGNhMDhhMDQ4YTM3N2I1MmQyODUiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.23.1 Assignee: Unassigned Attachments: 
geo-buffer error.txt, geo-buffer-ui-setup.png Created: 12/Jul/23 6:52 PM 
Environment:

reproduced on

* 2.24-SNAPSHOT
* Git Revision4970f490d89b1677141508083850656116d83fcd

Priority: High Reporter: Matteo Velludini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A2a23be6b-ab66-4057-a720-af1d6b6856c1
 )

when running this wps body for *geo:buffer* wps process

<?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>geo:buffer</ows:Identifier>
 <wps:DataInputs>
   <wps:Input>
     <ows:Identifier>geom</ows:Identifier>
     <wps:Data>
       <wps:ComplexData mimeType="application/wkt"><![CDATA[{

   "coordinates": [

     [-103.78679397411443, 44.43389608140793],

     [-103.75400665111638, 44.437082978008355]

   ],

   "type": "LineString"

 }]]></wps:ComplexData>
     </wps:Data>
   </wps:Input>
   <wps:Input>
     <ows:Identifier>distance</ows:Identifier>
     <wps:Data>
       <wps:LiteralData>100</wps:LiteralData>
     </wps:Data>
   </wps:Input>
   <wps:Input>
     <ows:Identifier>quadrantSegments</ows:Identifier>
     <wps:Data>
       <wps:LiteralData>0</wps:LiteralData>
     </wps:Data>
   </wps:Input>
   <wps:Input>
     <ows:Identifier>capStyle</ows:Identifier>
     <wps:Data>
       <wps:LiteralData>Round</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>

it does not work and fails

using wkt it works

LINESTRING (30 10, 10 30, 40 40)

error stack trace attached

( 
https://osgeo-org.atlassian.net/browse/GEOS-11071#add-comment?atlOrigin=eyJpIjoiMDQzNzA5OGY2ODQ2NGNhMDhhMDQ4YTM3N2I1MmQyODUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11071#add-comment?atlOrigin=eyJpIjoiMDQzNzA5OGY2ODQ2NGNhMDhhMDQ4YTM3N2I1MmQyODUiLCJwIjoiaiJ9
 )

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#100231- 
sha1:2d13be9 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to