<div dir="ltr">Hi,<div><br></div><div>yeah, it was working, I used that several times, BUT</div><div><br></div><div>1 - use codified version of the url</div><div>2 - omit [] brackets (it should work, but just for the case)</div><div>3 - if you are brave enough, try to debug what the problem could be in the source code level</div><div>4 - To me, this is kinnda "adnvanced" request, you should go with POST request, gives you more save input parsing</div><div>5 - Yes, there seems to be bug in execute get parser, the escaped values are unescaped, attributes of the input parameter are going to look like </div><div><br></div><div> [u'xlink:href=<a href="http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=tiger__demrepro&FORMAT=image/tiff" target="_blank">http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=tiger__demrepro&FORMAT=image/tiff</a>']</div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">and next statemenet</span></div><div><span style="line-height:1.5"><br></span></div><div><a href="https://github.com/geopython/pywps/blob/pywps-3.2/pywps/Parser/Execute.py#L593">https://github.com/geopython/pywps/blob/pywps-3.2/pywps/Parser/Execute.py#L593</a><br></div><div><br></div><div>does not work</div><div><br></div><div>2 options:</div><div><br></div><div>1 - go with POST request</div><div>2 - I've created ticket <a href="https://github.com/geopython/pywps/issues/79">https://github.com/geopython/pywps/issues/79</a> hope to get to it</div><div><br></div><div>J</div><br><div class="gmail_quote"><div dir="ltr">po 15. 2. 2016 v 21:45 odesílatel pablo zader <<a href="mailto:pzader@gmail.com" target="_blank">pzader@gmail.com</a>> napsal:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi list<div><br></div><div>pywps supports input parameters in the Execute call, through WMC adn WFS? </div><div><br></div><div>I am try severals forms, but does not work:</div><div><br></div><div><div><br></div><div><b>Uncodified the query WCS:</b></div><div><br></div><div><a href="http://localhost/cgi-bin/grass.cgi?request=Execute&service=WPS&version=1.0.0&identifier=r.getslope&datainputs=dem=[Reference@xlink:href=" target="_blank">http://localhost/cgi-bin/grass.cgi?request=Execute&service=WPS&version=1.0.0&identifier=r.getslope&datainputs=dem=[Reference@xlink:href=</a></div><div><a href="http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=tiger__demrepro&FORMAT=image/tiff]&responsedocument=slope=@asreference=True" target="_blank">http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=tiger__demrepro&FORMAT=image/tiff]&responsedocument=slope=@asreference=True</a></div><div><br></div><div><ExceptionReport xmlns="<a href="http://www.opengis.net/ows/1.1" target="_blank">http://www.opengis.net/ows/1.1</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" version="1.0.0" xsi:schemaLocation="<a href="http://www.opengis.net/ows/1.1" target="_blank">http://www.opengis.net/ows/1.1</a> <a href="http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" target="_blank">http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd</a>"></div><div><Exception exceptionCode="InvalidParameterValue" locator="request"/></div><div></ExceptionReport></div><div><br></div><div><br></div><div><b>Codifed the query WCS:</b></div><div><br></div><div><a href="http://localhost/cgi-bin/grass.cgi?request=Execute&service=WPS&version=1.0.0&identifier=r.getslope&datainputs=dem=[Reference@xlink:href=" target="_blank">http://localhost/cgi-bin/grass.cgi?request=Execute&service=WPS&version=1.0.0&identifier=r.getslope&datainputs=dem=[Reference@xlink:href=</a></div><div>http%3A%2F%2Flocalhost%3A8080%2Fgeoserver%2Fwcs%3FSERVICE%3DWCS%26VERSION%3D2.0.1%26REQUEST%3DGetCoverage%26COVERAGEID%3Dtiger__demrepro%26FORMAT%3Dimage%2Ftiff]&responsedocument=slope=@asreference=True</div><div><br></div><div><ExceptionReport xmlns="<a href="http://www.opengis.net/ows/1.1" target="_blank">http://www.opengis.net/ows/1.1</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" version="1.0.0" xsi:schemaLocation="<a href="http://www.opengis.net/ows/1.1" target="_blank">http://www.opengis.net/ows/1.1</a> <a href="http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" target="_blank">http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd</a>"></div><div><Exception exceptionCode="InvalidParameterValue" locator="request"/></div><div></ExceptionReport></div><div><br></div><div>The /var/log/apache2/error.log</div><div><br></div><div>[Mon Feb 15 17:42:31 2016] [error] [client 127.0.0.1] PyWPS InvalidParameterValue: Locator: request; Value: None</div><div><br></div><div>Thanks in advanced</div><div><br></div><div>Pablo<br clear="all"><div><br></div>
</div></div></div>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pywps-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pywps-dev</a></blockquote></div></div>