[Pywps-dev] Passing a Json to WPS service

Lorenzo Bottaccioli lorenzo.bottaccioli at gmail.com
Sun May 29 15:29:01 PDT 2016


Hi List,

I'm trying to pas a geoJson file to the area process of the demo of PYWPS4.

The file is located in /home/lorenzo/prova.geojson but I have tried with
this URL

"localhost:5000/wps?service=WPS&request=execute&identifier=area&version=1.0.0&datainputs=layer=file///home/lorenzo/prova.geojson"

but I get this error:

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.opengis.net/ows/1.1
 ../../../ows/1.1.0/owsExceptionReport.xsd" version="1.0.0">
<ows:Exception exceptionCode="NoApplicableCode" locator="">
<ows:ExceptionText>Service error: near "collections": syntax
error</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport

 Which is the correct way to do so?

best
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160530/8e8344fb/attachment.html>


More information about the pywps-dev mailing list