Skip to content

Instantly share code, notes, and snippets.

@mbertrand
Last active January 23, 2016 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbertrand/ac76e0994f8623d687dc to your computer and use it in GitHub Desktop.
Save mbertrand/ac76e0994f8623d687dc to your computer and use it in GitHub Desktop.
Geoserver WPS problem
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_hospitals"/>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="application/json"><![CDATA[{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
44.3682,
33.3154
],
[
44.3622,
33.321
],
[
44.3566,
33.329
],
[
44.3525,
33.338
],
[
44.3503,
33.3475
],
[
44.3501,
33.3573
],
[
44.3517,
33.367
],
[
44.3552,
33.3761
],
[
44.3604,
33.3845
],
[
44.3671,
33.3916
],
[
44.3751,
33.3973
],
[
44.384,
33.4013
],
[
44.3936,
33.4035
],
[
44.4034,
33.4038
],
[
44.413,
33.4021
],
[
44.4222,
33.3987
],
[
44.4305,
33.3935
],
[
44.4319,
33.3924
],
[
44.4342,
33.3905
],
[
44.4353,
33.3895
],
[
44.4358,
33.3891
],
[
44.4393,
33.3858
],
[
44.4414,
33.3836
],
[
44.442,
33.3829
],
[
44.4431,
33.3818
],
[
44.4489,
33.3739
],
[
44.4532,
33.3651
],
[
44.4556,
33.3556
],
[
44.4562,
33.3458
],
[
44.4548,
33.3361
],
[
44.4515,
33.3268
],
[
44.4466,
33.3184
],
[
44.44,
33.3111
],
[
44.4322,
33.3052
],
[
44.4233,
33.301
],
[
44.4138,
33.2985
],
[
44.4041,
33.298
],
[
44.3944,
33.2994
],
[
44.3851,
33.3026
],
[
44.3767,
33.3076
],
[
44.3694,
33.3142
],
[
44.3687,
33.3149
],
[
44.3682,
33.3154
]
]
]
]
},
"properties": {
"osm_id": "224040662",
"name": "",
"ref": "A86/N11/D383",
"type": "motorway",
"oneway": 1,
"bridge": 0,
"tunnel": 0,
"maxspeed": 0
},
"id": "0"
}
]
}]]></wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:Reproject</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="POST" mimeType="text/xml" xlink:href="http://geoserver/wps">
<wps:Body>
<wps:Execute service="WPS" version="1.0.0">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_hospitals"/>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="application/json"><![CDATA[
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-180.00,
-90.00
],
[
-180.00,
90.00
],
[
180.00,
90.00
],
[
180.00,
-90.00
],
[
-180.00,
-90.00
]
]
]
]
},
"properties": {
},
"id": "0"
}
]
}
]]></wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
</wps:Body>
</wps:Reference>
</wps:Input>
<wps:Input>
<ows:Identifier>targetCRS</ows:Identifier>
<wps:Data>
<wps:LiteralData>EPSG:4326</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>
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Reference method="POST" mimeType="text/xml" xlink:href="http://geoserver/wps">
<wps:Body>
<wps:Execute service="WPS" version="1.0.0">
<ows:Identifier>gs:Reproject</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_hospitals"/>
</wps:Input>
<wps:Input>
<ows:Identifier>targetCRS</ows:Identifier>
<wps:Data>
<wps:LiteralData>EPSG:3857</wps:LiteralData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="text/xml; subtype=wfs-collection/1.1">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
</wps:Body>
</wps:Reference>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="text/xml; subtype=wfs-collection/1.1">
<wfs:FeatureCollection xmlns:feature="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink">
<gml:featureMember>
<feature:feature>
<feature:the_geom>
<gml:MultiPolygon srsDimension="2" srsName="http://www.opengis.net/gml/srs/epsg.xml#3857">
<gml:polygonMember>
<gml:Polygon srsDimension="2">
<gml:exterior>
<gml:LinearRing srsDimension="2">
<gml:posList>4939042.063489978 3937249.25228171 4938381.349607777 3937994.648717866 4937748.687075858 3939058.5721205194 4937301.61231621 3940249.883847157 4937057.306161119 3941522.8342414126 4937025.157159119 3942828.523132339 4937206.400778328 3944116.776199193 4937594.071928101 3945338.072738448 4938173.27262356 3946445.450815687 4938921.7445068015 3947396.3162727207 4939810.724223097 3948154.085420192 4940806.048780496 3948689.5974009754 4941869.468414443 3948982.2409598934 4942960.116504776 3949020.7513806266 4944036.080057028 3948803.6462203036 4945056.010395291 3948339.2826620433 4945980.712168653 3947645.534222711 4946139.553950066 3947498.5643869205 4946394.545037177 3947247.837557978 4946517.154983261 3947119.809612845 4946574.49479421 3947060.2780413222 4946956.315102006 3946624.2407011646 4947190.408859197 3946330.3154617245 4947264.593674337 3946235.333219383 4947378.963319177 3946086.008291519 4948034.144840963 3945041.1550734844 4948506.517826407 3943863.4251021524 4948777.929246588 3942598.1110204696 4948837.948912837 3941293.8585584974 4948684.270303039 3940000.7940058284 4948322.799199986 3938768.5971987243 4947767.426735451 3937644.5941764726 4947039.495561793 3936671.9425234515 4946166.979665785 3935887.9785135672 4945183.409343998 3935322.7887129164 4944126.582652305 3934998.059959064 4943037.112847794 3934926.2509733103 4941956.86764407 3935110.116679537 4940927.360258504 3935542.6030406714 4939988.154082568 3936207.116347233 4939175.342282891 3937078.1568807745 4939097.678165283 3937179.4789093225 4939042.063489978 3937249.25228171</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</feature:the_geom>
</feature:feature>
</gml:featureMember>
</wfs:FeatureCollection>
</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Reference method="POST" mimeType="text/xml" xlink:href="http://geoserver/wps">
<wps:Body>
<wps:Execute service="WPS" version="1.0.0">
<ows:Identifier>gs:Reproject</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_hospitals"/>
</wps:Input>
<wps:Input>
<ows:Identifier>targetCRS</ows:Identifier>
<wps:Data>
<wps:LiteralData>EPSG:900913</wps:LiteralData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="text/xml; subtype=wfs-collection/1.1">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
</wps:Body>
</wps:Reference>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="text/xml; subtype=wfs-collection/1.1">
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns:feature="http://geotools.org" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink">
<gml:boundedBy>
<gml:Envelope srsDimension="2" srsName="http://www.opengis.net/gml/srs/epsg.xml#3857">
<gml:lowerCorner>4940068.384860561 3946746.2748063733</gml:lowerCorner>
<gml:upperCorner>4942097.90678952 3949310.790276588</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<gml:featureMember>
<feature:feature gml:id="0">
<gml:boundedBy>
<gml:Envelope srsDimension="2" srsName="http://www.opengis.net/gml/srs/epsg.xml#3857">
<gml:lowerCorner>4940069.37135999 3946748.3092947262</gml:lowerCorner>
<gml:upperCorner>4942095.872301167 3949309.803777159</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<feature:geometry>
<gml:MultiPolygon srsDimension="2" srsName="http://www.opengis.net/gml/srs/epsg.xml#3857">
<gml:polygonMember>
<gml:Polygon srsDimension="2">
<gml:exterior>
<gml:LinearRing srsDimension="2">
<gml:posList>4942076.014489721 3948161.364982575 4942080.764572992 3948054.409722821 4942081.9435599735 3948027.9975812775 4942084.333299538 3947990.6492830166 4942095.872301167 3947810.0308850068 4942089.134867605 3947614.112416805 4942044.305094888 3947423.2728751167 4941963.105766043 3947244.846116505 4941848.657325739 3947085.6889812406 4941705.357963354 3946951.917788775 4941538.714593021 3946848.673291016 4941355.131226008 3946779.9231161107 4941161.662868153 3946748.3092947262 4940965.744399952 3946755.0467282888 4940774.904858263 3946799.8765010047 4940596.478099652 3946881.07582985 4940437.320964388 3946995.5242701536 4940303.549771922 3947138.823632539 4940200.305274162 3947305.4670028714 4940131.555099257 3947489.0503698853 4940099.941277873 3947682.51872774 4940088.411727419 3947862.989264267 4940085.409254757 3947909.913726739 4940084.36325621 3947929.1747163804 4940082.749123594 3947965.335165819 4940077.9866135605 3948072.5696759503 4940069.37135999 3948266.3827808606 4940079.903651636 3948462.133923964 4940128.422721794 3948652.0690155732 4940213.064009807 3948828.8889566343 4940330.574798446 3948985.7986559747 4940476.439214003 3949116.768161844 4940645.051768791 3949216.7643895806 4940829.932776888 3949281.944540231 4941023.977364834 3949309.803777159 4941219.728507937 3949299.2714855135 4941409.663599546 3949250.7524153558 4941586.483540608 3949166.1111273416 4941743.393239948 3949048.600338703 4941874.362745817 3948902.7359231454 4941974.358973553 3948734.123368358 4942039.539124204 3948549.2423602617 4942067.3983611325 3948355.1977723152 4942076.014489721 3948161.364982575</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</feature:geometry>
</feature:feature>
</gml:featureMember>
</wfs:FeatureCollection>
</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="text/xml; subtype=wfs-collection/1.1">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_hospitals"/>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="text/xml; subtype=wfs-collection/1.1">
<wfs:FeatureCollection xmlns:feature="http://www.geonode.org/" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink">
<gml:featureMember>
<feature>
<feature:the_geom>
<gml:MultiPolygon srsDimension="2" srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:polygonMember>
<gml:Polygon srsDimension="2">
<gml:exterior>
<gml:LinearRing srsDimension="2">
<gml:posList>44.368169745422676 33.31544499785461 44.362234451634556 33.3210404016071 44.35655114741344 33.329026242271304 44.35253500651607 33.33796739489702 44.350340366984845 33.34752025600309 44.35005156758619 33.35731771449451 44.35167970671903 33.36698325953594 44.355162215909566 33.37614544965194 44.360365264282606 33.38445218701457 44.3670889016071 33.39158424836544 44.3750747422713 33.397267552586555 44.38401589489702 33.401283693483926 44.393568756003084 33.40347833301515 44.40336621449451 33.403767132413805 44.41303175953594 33.402138993280964 44.42219394965194 33.39865648409043 44.430500687014565 33.39345343571739 44.43192758701457 33.39235113571739 44.434218210923234 33.39047060748313 44.43531963480875 33.38951034287632 44.4358347270944 33.38906382689392 44.4392646772772 33.38579326307724 44.441367577277205 33.38358856307724 44.4420339908101 33.38287610006087 44.4430613908101 33.38175600006087 44.44894698655903 33.37391805641065 44.453190385285325 33.365082493879974 44.45562851555565 33.35558885818185 44.456167681391044 33.345801984412056 44.45478716295081 33.336097976641035 44.45154001278441 33.326849754445355 44.44655101705171 33.31841272181753 44.44001190006087 33.3111111091899 44.43217395641065 33.30522551344097 44.42333839387997 33.30098211471468 44.413844758181845 33.29854398444435 44.404057884412055 33.29800481860896 44.394353876641034 33.299385337049195 44.385105654445354 33.30263248721559 44.37666862181753 33.30762148294829 44.3693670091899 33.314160599939136 44.36866934055115 33.314921217655964 44.368169745422676 33.31544499785461</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</feature:the_geom>
</feature>
</gml:featureMember>
</wfs:FeatureCollection>
</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="application/json"><![CDATA[
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3857"
}
},
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
4940150.5445,
3941210.8679
]
},
"properties": {
"fid": 28,
"osm_id": "94298797",
"timestamp": "2012-07-20T11:15:39Z",
"name": "جامعة بغداد -- كلية الطب آل",
"type": "hospital"
},
"id": "iraq_hospitals.fid-76c404c7_15266fae1a5_-959"
}]
}]]></wps:ComplexData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="application/json"><![CDATA[{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:3857"
}
},
"features": [
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
4939042.0635,
3937249.2523
],
[
4938381.3496,
3937994.6487
],
[
4937748.6871,
3939058.5721
],
[
4937301.6123,
3940249.8838
],
[
4937057.3062,
3941522.8342
],
[
4937025.1572,
3942828.5231
],
[
4937206.4008,
3944116.7762
],
[
4937594.0719,
3945338.0727
],
[
4938173.2726,
3946445.4508
],
[
4938921.7445,
3947396.3163
],
[
4939810.7242,
3948154.0854
],
[
4940806.0488,
3948689.5974
],
[
4941869.4684,
3948982.241
],
[
4942960.1165,
3949020.7514
],
[
4944036.0801,
3948803.6462
],
[
4945056.0104,
3948339.2827
],
[
4945980.7122,
3947645.5342
],
[
4946139.554,
3947498.5644
],
[
4946394.545,
3947247.8376
],
[
4946517.155,
3947119.8096
],
[
4946574.4948,
3947060.278
],
[
4946956.3151,
3946624.2407
],
[
4947190.4089,
3946330.3155
],
[
4947264.5937,
3946235.3332
],
[
4947378.9633,
3946086.0083
],
[
4948034.1448,
3945041.1551
],
[
4948506.5178,
3943863.4251
],
[
4948777.9292,
3942598.111
],
[
4948837.9489,
3941293.8586
],
[
4948684.2703,
3940000.794
],
[
4948322.7992,
3938768.5972
],
[
4947767.4267,
3937644.5942
],
[
4947039.4956,
3936671.9425
],
[
4946166.9797,
3935887.9785
],
[
4945183.4093,
3935322.7887
],
[
4944126.5827,
3934998.06
],
[
4943037.1128,
3934926.251
],
[
4941956.8676,
3935110.1167
],
[
4940927.3603,
3935542.603
],
[
4939988.1541,
3936207.1163
],
[
4939175.3423,
3937078.1569
],
[
4939097.6782,
3937179.4789
],
[
4939042.0635,
3937249.2523
]
]
]
]
},
"properties": {},
"id": "fid-76c404c7_15266fae1a5_-7a9"
}
]
}]]></wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:BufferFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>distance</ows:Identifier>
<wps:Data>
<wps:LiteralData>0.05</wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="POST" mimeType="text/xml; subtype=wfs-collection/1.0" xlink:href="http://geoserver/wps">
<wps:Body>
<wps:Execute service="WPS" version="1.0.0">
<ows:Identifier>vec:Query</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_roads&amp;CQL_FILTER=osm_id%3D%27224040662%27"/>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
</wps:Body>
</wps:Reference>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:Reproject</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="POST" mimeType="text/xml" xlink:href="http://geoserver/wps">
<wps:Body>
<wps:Execute service="WPS" version="1.0.0">
<ows:Identifier>gs:InclusionFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>first</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_hospitals"/>
</wps:Input>
<wps:Input>
<ows:Identifier>second</ows:Identifier>
<wps:Reference method="POST" mimeType="text/xml" xlink:href="http://geoserver/wps">
<wps:Body>
<wps:Execute service="WPS" version="1.0.0">
<ows:Identifier>gs:BufferFeatureCollection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference method="GET" mimeType="text/xml" xlink:href="http://geoserver/wfs?request=GetFeature&amp;version=1.0.0&amp;typeName=geonode:iraq_roads&amp;CQL_FILTER=osm_id%3D%27224040662%27"/>
</wps:Input>
<wps:Input>
<ows:Identifier>distance</ows:Identifier>
<wps:Data>
<wps:LiteralData>0.05</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>
</wps:Body>
</wps:Reference>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/json">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
</wps:Body>
</wps:Reference>
</wps:Input>
<wps:Input>
<ows:Identifier>targetCRS</ows:Identifier>
<wps:Data>
<wps:LiteralData>EPSG:4326</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>
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment