Hi,

I was trying to union two geometries using the given request below , but the
response from GeoServer seems to return me a Multipolyon with the same two
input geometries rather than the union geometry. Can you please provide me
some pointers on the issue ?

*Response:*
*
*
*MULTIPOLYGON (((258704.0312 331796.18740000017, 258697.20299999975
331788.09369999915, 258694.95309999958 331785.65619999915, 258685.3125
331775.28130000085, 258676 331765.3125, 258672.29690000042
331761.31240000017, 258652.9062 331741.49990000017, 258652.375
331740.96869999915, 258649.29690000042 331743.18740000017,
258648.29690000042 331744.5, 258647.20309999958 331745.5939000007,
258646.29679999966 331746.40630000085, 258643.6563 331748.18740000017,
258633.5 331754.8125, 258633 331755.09369999915, 258623.0938
331761.09369999915, 258615.5937 331765.18759999983, 258611.70299999975
331767.31240000017, 258601.99990000017 331772.31240000017,
258597.50009999983 331774.09380000085, 258593.00009999983 331775.8125,
258588.17190000042 331777.65630000085, 258615.79700000025 331827.1875,
258627.06240000017 331847.31240000017, 258649.70320000034 331831.6875,
258682.99990000017 331808.90630000085, 258702.9063 331796.18740000017,
258704.0312 331796.18740000017)), ((258580.85929999966 331648.21880000085,
258582.5937 331647.5, 258586.0938 331645.68740000017, 258596.79690000042
331640.00009999983, 258613.70320000034 331630.18740000017, 258634.9062
331617.6875, 258635.5938 331617.31259999983, 258642 331613.90619999915,
258645.0938 331612.09380000085, 258648.0937 331610.09369999915,
258653.20309999958 331605.90630000085, 258664.95299999975 331597.3125,
258668.70309999958 331594.31240000017, 258672.4062 331591.49990000017,
258676.20299999975 331588.81240000017, 258678.50009999983 331587.3125,
258682.5938 331584.99990000017, 258691.70309999958 331580.49990000017,
258700.00009999983 331576.40619999915, 258702.20309999958
331575.59380000085, 258704.2187 331574.74990000017, 258703.29690000042
331572.81240000017, 258702.79690000042 331571.90619999915,
258701.29700000025 331569.74990000017, 258700.29679999966
331568.40630000085, 258699.29679999966 331567.31240000017, 258697.5
331565.8125, 258696.70309999958 331565.09380000085, 258693.99990000017
331561.68759999983, 258691.29690000042 331558.31259999983,
258690.70309999958 331557.59380000085, 258689.50009999983
331556.18759999983, 258688.20320000034 331554.90619999915,
258686.79690000042 331553.6875, 258682.20320000034 331551, 258677.0938
331548.31259999983, 258671.29690000042 331545.5, 258668.00009999983
331544.00009999983, 258662.0938 331541.59380000085, 258655.99990000017
331539.40619999915, 258648.0937 331535.4375, 258637 331530.31240000017,
258635.5938 331529.09369999915, 258632 331526.49990000017,
258626.79690000042 331523.09369999915, 258621.4063 331519.40630000085,
258616.3437 331517.75, 258614.9062 331517.68759999983, 258613.70320000034
331517.90619999915, 258612.49990000017 331518.18759999983,
258611.29690000042 331518.59369999915, 258610.0937 331519.15630000085,
258609.00009999983 331519.90630000085, 258608.20320000034 331520.6875,
258605.5937 331523.3125, 258602.79679999966 331525.59380000085, 258599.9063
331527.90619999915, 258598.00009999983 331529.18759999983, 258595
331531.1875, 258573.5 331545, 258568.4063 331547.31259999983,
258559.70320000034 331550.90630000085, 258545.0937 331556.81240000017,
258542.0938 331558.09380000085, 258530.9063 331562.90630000085,
258529.79700000025 331563.49990000017, 258526.10929999966 331565.2185999993,
258520.09389999975 331568, 258511.50009999983 331572.40630000085,
258513.0937 331574.09380000085, 258515.79690000042 331577.59369999915,
258535.0937 331598.5, 258542.0938 331606.31240000017, 258546.0937
331610.90630000085, 258550.20309999958 331615.18759999983,
258554.29679999966 331619.18740000017, 258564.20320000034
331628.59380000085, 258565.29679999966 331629.68740000017, 258569.4063
331634.31259999983, 258573.45299999975 331639.09380000085,
258580.85929999966 331648.21880000085)))*


*Request:*

<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>
JTS:union
</ows:Identifier>
 <wps:DataInputs>
<wps:Input>
<ows:Identifier>
 geom
</ows:Identifier>
<wps:Data>
 <wps:ComplexData mimeType="application/wkt">
POLYGON((258704.0312 331796.18740000017,258697.20299999975
331788.09369999915,258694.95309999958 331785.65619999915,258685.3125
331775.28130000085,258676 331765.3125,258672.29690000042
331761.31240000017,258652.9062 331741.49990000017,258652.375
331740.96869999915,258649.29690000042 331743.18740000017,258648.29690000042
331744.5,258647.20309999958 331745.5939000007,258646.29679999966
331746.40630000085,258643.6563 331748.18740000017,258633.5
331754.8125,258633 331755.09369999915,258623.0938
331761.09369999915,258615.5937 331765.18759999983,258611.70299999975
331767.31240000017,258601.99990000017 331772.31240000017,258597.50009999983
331774.09380000085,258593.00009999983 331775.8125,258588.17190000042
331777.65630000085,258615.79700000025 331827.1875,258627.06240000017
331847.31240000017,258649.70320000034 331831.6875,258682.99990000017
331808.90630000085,258702.9063 331796.18740000017,258704.0312
331796.18740000017))
 </wps:ComplexData>
</wps:Data>
</wps:Input>
 <wps:Input>
<ows:Identifier>geom</ows:Identifier>
<wps:Data>
 <wps:ComplexData mimeType="application/wkt">
POLYGON((258580.85929999966 331648.21880000085,258582.5937
331647.5,258586.0938 331645.68740000017,258596.79690000042
331640.00009999983,258613.70320000034 331630.18740000017,258634.9062
331617.6875,258635.5938 331617.31259999983,258642
331613.90619999915,258645.0938 331612.09380000085,258648.0937
331610.09369999915,258653.20309999958 331605.90630000085,258664.95299999975
331597.3125,258668.70309999958 331594.31240000017,258672.4062
331591.49990000017,258676.20299999975 331588.81240000017,258678.50009999983
331587.3125,258682.5938 331584.99990000017,258691.70309999958
331580.49990000017,258700.00009999983 331576.40619999915,258702.20309999958
331575.59380000085,258704.2187 331574.74990000017,258703.29690000042
331572.81240000017,258702.79690000042 331571.90619999915,258701.29700000025
331569.74990000017,258700.29679999966 331568.40630000085,258699.29679999966
331567.31240000017,258697.5 331565.8125,258696.70309999958
331565.09380000085,258693.99990000017 331561.68759999983,258691.29690000042
331558.31259999983,258690.70309999958 331557.59380000085,258689.50009999983
331556.18759999983,258688.20320000034 331554.90619999915,258686.79690000042
331553.6875,258682.20320000034 331551,258677.0938
331548.31259999983,258671.29690000042 331545.5,258668.00009999983
331544.00009999983,258662.0938 331541.59380000085,258655.99990000017
331539.40619999915,258648.0937 331535.4375,258637
331530.31240000017,258635.5938 331529.09369999915,258632
331526.49990000017,258626.79690000042 331523.09369999915,258621.4063
331519.40630000085,258616.3437 331517.75,258614.9062
331517.68759999983,258613.70320000034 331517.90619999915,258612.49990000017
331518.18759999983,258611.29690000042 331518.59369999915,258610.0937
331519.15630000085,258609.00009999983 331519.90630000085,258608.20320000034
331520.6875,258605.5937 331523.3125,258602.79679999966
331525.59380000085,258599.9063 331527.90619999915,258598.00009999983
331529.18759999983,258595 331531.1875,258573.5 331545,258568.4063
331547.31259999983,258559.70320000034 331550.90630000085,258545.0937
331556.81240000017,258542.0938 331558.09380000085,258530.9063
331562.90630000085,258529.79700000025 331563.49990000017,258526.10929999966
331565.2185999993,258520.09389999975 331568,258511.50009999983
331572.40630000085,258513.0937 331574.09380000085,258515.79690000042
331577.59369999915,258535.0937 331598.5,258542.0938
331606.31240000017,258546.0937 331610.90630000085,258550.20309999958
331615.18759999983,258554.29679999966 331619.18740000017,258564.20320000034
331628.59380000085,258565.29679999966 331629.68740000017,258569.4063
331634.31259999983,258573.45299999975 331639.09380000085,258580.85929999966
331648.21880000085))
 </wps:ComplexData>
</wps:Data>
</wps:Input>
 </wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput schema="http://localhost:9999/geoserver/wfs?";
mimeType="application/wkt" encoding="UTF-8">
 <ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1
">result</ows:Identifier>
 </wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>

-- 
Thanks and Warm Regards
Debasish Sahu
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to