<div dir="ltr">Hi list,<div><div>I'm developing a client wps modifying the example WPSDemo.js fromĀ </div><div><a href="http://suite.opengeo.org/4.1/processing/wpsclient/index.html">http://suite.opengeo.org/4.1/processing/wpsclient/index.html</a> .</div>
<div>I'm using zoo-proyect as wps server.</div><div>I'm trying to invoke the buffer process implemented in GRASS GIS gives me the following error:</div><div><br></div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap">POST <a href="http://localhost:9080/proxy/?url=http%3A%2F%2Flocalhost%2Fcgi-bin%2Fzoo_loader.cgi%3F" class="" title="http://localhost:9080/proxy/?url=http%3A%2F%2Flocalhost%2Fcgi-bin%2Fzoo_loader.cgi%3F" style="color:rgb(84,84,84)">http://localhost:9080/proxy/?url=http%3A%2F%2Flocalhost%2Fcgi-bin%2Fzoo_loader.cgi%3F</a> 501 (Not Implemented)</span><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"> </span><br>
</div><div><div><br></div><div>The query POST is:</div><div><br></div><div><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"><wps:Execute xmlns:wps="</span><a href="http://www.opengis.net/wps/1.0.0" class="" title="http://www.opengis.net/wps/1.0.0" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/wps/1.0.0</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">" version="1.0.0" service="WPS" xsi:schemaLocation="</span><a href="http://www.opengis.net/wps/1.0.0" class="" title="http://www.opengis.net/wps/1.0.0" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/wps/1.0.0</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap"> </span><a href="http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" class="" title="http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">" xmlns:xsi="</span><a href="http://www.w3.org/2001/XMLSchema-instance" class="" title="http://www.w3.org/2001/XMLSchema-instance" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.w3.org/2001/XMLSchema-instance</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">"><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">v_buffer</ows:Identifier><wps:DataInputs><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">input</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Or data source for direct OGR access</ows:Title><wps:Data><wps:ComplexData mimeType="text/xml"><![CDATA[<wfs:FeatureCollection xmlns:wfs="</span><a href="http://www.opengis.net/wfs" class="" title="http://www.opengis.net/wfs" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/wfs</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">"><gml:featureMember xmlns:gml="</span><a href="http://www.opengis.net/gml" class="" title="http://www.opengis.net/gml" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/gml</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">"><feature:features xmlns:feature="</span><a href="http://mapserver.gis.umn.edu/mapserver" class="" title="http://mapserver.gis.umn.edu/mapserver" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://mapserver.gis.umn.edu/mapserver</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">" fid="OpenLayers_Feature_Vector_248"><feature:geometry><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates decimal="." cs="," ts=" ">-6383273.5489707,1396657.4552779 -4230806.8327598,26905.908598173 -6246298.3943028,-442723.19312058 -6383273.5489707,1396657.4552779</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></feature:geometry></feature:features></gml:featureMember></wfs:FeatureCollection>]]></wps:ComplexData></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">layer</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">cats</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Example: 1,3,7-9,13</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">where</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Example: income 1000 and inhab :: 10000</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">type</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Feature type</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">distance</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Buffer distance along major axis in map units</ows:Title><wps:Data><wps:LiteralData>195678.7923828125</wps:LiteralData></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">minordistance</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Buffer distance along minor axis in map units</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">angle</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Angle of major axis in degrees</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">bufcolumn</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Name of column to use for buffer distances</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">scale</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Scaling factor for attribute column values</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">tolerance</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Maximum distance between theoretical arc and polygon segments as multiple of buffer</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">-s</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Make outside corners straight</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">-c</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Dont make caps at the ends of polylines</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">-t</ows:Identifier><ows:Title xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">Transfer categories and attributes</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input></wps:DataInputs><wps:ResponseForm><wps:RawDataOutput mimeType="text/xml"><ows:Identifier xmlns:ows="</span><a href="http://www.opengis.net/ows/1.1" class="" title="http://www.opengis.net/ows/1.1" target="_blank" style="color:rgb(84,84,84);text-decoration:none;font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">http://www.opengis.net/ows/1.1</a><span style="color:rgb(48,57,66);font-family:'dejavu sans mono',monospace;font-size:11px;white-space:pre-wrap">">output</ows:Identifier></wps:RawDataOutput></wps:ResponseForm></wps:Execute></span><br>
</div><div><br></div><div>Thanks in advanced</div></div></div><div><br></div><div>P.</div><br>
</div>