I've created a python wps service in the zoo-project framework, which is used to calculate a Line of Sight based in on a start point, an end point and a start point height. The service works fine if i send a URL like the following:
I want to get the wps to work with qgis, but after connecting using the WPS-Client plug-in I first got an error saying that the inputs had to be gml (it was originally geojson). After changing my datatype to gml, as in:
mimeType = text/xml encoding = UTF-8 schema = http://schemas.opengis.net/gml/3.1.0/base/feature.xsd
it still doen't work. I can't choose a GML layer, which is in the layers panel as input, but I can chose a newly created scratch layer.
In my function I use psycopg2 to connect to a db and input a point as gml into the ST_GeomFromGML function
Anyone have an idea to where I'm failing?