[QGIS-Developer] REST API for QGIS processing tool

David Marteau dmarteau at 3liz.com
Tue Mar 23 12:59:53 PDT 2021


Juste a few things:

- py-qgis-wps does not require pyProj directly, you have to check which 
dependency needs it and eventually install it for your platform.

- You should always install custom python package in a venv otherwise 
you may break your installation.

Please open an issue on https://github.com/3liz/py-qgis-wps to continue 
this discussion as it is not related to qgis directly.

Le 23/03/2021 à 20:47, Prem Kumar a écrit :

> Hi David,
>
> While installing the service from source code files using given 
> instructions, further details of the exception I have encountered.
> image.png
>
>  Complete output from command python setup.py egg_info:
>     ERROR: Minimum supported PROJ version is 7.2.0, installed version 
> is 4.9.3. For more information see: https://pyproj4.github.io/py 
> <https://pyproj4.github.io/py>  proj/stable/installation.html
>
>     ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in 
> /tmp/pip-build-qejkjny8/pyproj/
> image.png
>
> After several attempts of troubleshooting, I could bypass this issue 
> with "*pip3 install pyproj==1.9.6 -e ." * ..... not sure this is the 
> correct way or not. However, after installation from source files 
> directory, I could not either run the runwps.sh 
> <https://github.com/3liz/py-qgis-wps/blob/master/runwps.sh> file or 
> *wpsserver *from command line as the terminal unable to recognize 
> wpsserver command.
>
> *./runwps.sh: line 15: exec: wpsserver: not found*
> *
> *
> Please suggest. Thanks.
>
> -Prem
>
> On Mon, Mar 22, 2021 at 11:19 PM David Marteau <dmarteau at 3liz.com 
> <mailto:dmarteau at 3liz.com>> wrote:
>
>
>     Le 22/03/2021 à 18:26, Prem Kumar a écrit :
>>     Hi Team,
>>
>>     Im afraid to make a comment but the installation instructions in
>>     the github are not specifically referring the integration of
>>     service and the qgis installation and its modules. I have tried
>>     installing py-qgs-wps on linux machine using archive tar file and
>>     ended up incompatibility issue between python version - qgis
>>     installation and the service.
>>
>>     If it’s not more of an effort, can you please guide me to any
>>     installation instructions? Thanks
>     Can you be more specific about the error your are facing ? if
>     that's about py-qgs-wps then you should open an issue on github.
>>
>>     -Prem
>>
>>     On Thu, 25 Feb 2021 at 7:44 PM, Prem Kumar <prem.netgis at gmail.com
>>     <mailto:prem.netgis at gmail.com>> wrote:
>>
>>         HI Nyall and René-Luc,
>>
>>         Thank you very much for the pointers, much appreciated. Looks
>>         to me, a lot to learn some good stuff. Will let you know how
>>         it goes.
>>
>>         -Prem
>>
>>         On Thu, Feb 25, 2021 at 6:59 PM René-Luc Dhont
>>         <rldhont at gmail.com <mailto:rldhont at gmail.com>> wrote:
>>
>>
>>             Le 24/02/2021 à 23:27, Nyall Dawson a écrit :
>>             >
>>             > Look into the "WPS" standard. There's even an existing
>>             server for
>>             > this: https://github.com/3liz/py-qgis-wps
>>             <https://github.com/3liz/py-qgis-wps>
>>
>>             Thanks Nyall to pointing it.
>>
>>             Prem, If you are interested in a REST API, implementing
>>             the OGC API
>>             Processes standard is  being considered for py-qgis-wps
>>             * https://github.com/opengeospatial/ogcapi-processes/
>>             <https://github.com/opengeospatial/ogcapi-processes/>
>>             * https://ogcapi.ogc.org/processes/
>>             <https://ogcapi.ogc.org/processes/>
>>
>>             py-qgis-wps is based on Tornado and any contributions are
>>             welcome.
>>             https://github.com/3liz/py-qgis-wps
>>             <https://github.com/3liz/py-qgis-wps>
>>
>>             René-Luc
>>
>>             >
>>             > Nyall
>>             >
>>             > _______________________________________________
>>             > QGIS-Developer mailing list
>>             > QGIS-Developer at lists.osgeo.org
>>             <mailto:QGIS-Developer at lists.osgeo.org>
>>             > List info:
>>             https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>             <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>             > Unsubscribe:
>>             https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>             <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>             _______________________________________________
>>             QGIS-Developer mailing list
>>             QGIS-Developer at lists.osgeo.org
>>             <mailto:QGIS-Developer at lists.osgeo.org>
>>             List info:
>>             https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>             <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>             Unsubscribe:
>>             https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>             <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>
>>     _______________________________________________
>>     QGIS-Developer mailing list
>>     QGIS-Developer at lists.osgeo.org  <mailto:QGIS-Developer at lists.osgeo.org>
>>     List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer  <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>     Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer  <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>     Unsubscribe:
>     https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210323/3c40a474/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7219 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210323/3c40a474/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 18341 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210323/3c40a474/attachment-0003.png>


More information about the QGIS-Developer mailing list