[Geoserver-devel] [JIRA] (GEOS-11071) There is an issue with geo:buffer process when passing geometry as json

Matteo Velludini created an issue

GeoServer / BugGEOS-11071

There is an issue with geo:buffer process when passing geometry as json

Issue Type:

BugBug

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:

HighHigh

Reporter:

Matteo Velludini

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

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100231-sha1:2d13be9)

Atlassian logo