pywps

Download Pywps

If you can't read please download the document

Upload: jachym-cepicky

Post on 30-May-2015

1.136 views

Category:

Documents


2 download

DESCRIPTION

About current state of PyWPS

TRANSCRIPT

  • 1. PyWPS Jachym Cepicky [email_address] http://bnhelp.cz

2. PyWPS

  • Implementation of OGC Web Processing Service (OGC WPS) on the server-side

3. Started 2006 4. Python-based 5. Support for GRASS GIS, GDAL, PROJ4, R, ... 6. What is PyWPS not

  • PyWPS is no analytical tool or engine. It does not perform any type of geospatial calculation.

7. PyWPS is not special XML parser or generator. It does not validate your GMLs against given schemas (yet), it does not build GML from Python objects. 8. It is not complicated. Or, it should not be. 9. Shortly about OGC WPS

  • Protocol similar to WMS
  • GetCapabilities -> List of Processes

10. DescribeProcesses -> Selected proces specification (In- and Outputs) 11. Execute -> Performs calculation, returns result KVP vs XML

  • service=WPS&request=GetCapabilities&version=1.0.0

12. 13. 14. 1.0.0 15. 16. 17. PyWPS Featuers

  • Python-based (< 3.0)

18. WPS 1.0.0 19. No processes within the distribution -> User has to code custom ones 20. On-the-fly creation of GRASS temporary Location/Mapset, if the process does require GRASS modules 21. Support for Java libraries (Sextant, ) 22. WSDL/SOAP interface 23. PyWPS Architecture Processes 24. PyWPS Architecture

  • PyWPS is just thin layer (wrapper) between Internet and processing tool

25. As processing tool, various popular GIS programs can be used, for example:

  • GRASS GIS

26. GDAL/OGR 27. Proj4 28. Shapely, R, ... The process is to be desgined by the user - programator, who will setup PyWPS 29. News from SVN

  • Runs with Jython (Java implementation of Python interpreter) -> Direct access to Java world (Used in Humboldt project)

30. Support for GRASS 7 WPS interface (Sren Gebert) 31. WSDL/Soap bindings (Jorge de Jesus) -> PyWPS 3.2 32. Orchestrization of processes using Taverna 33. PyWPS 4.0 ideas

  • Be Python 3 ready - use Python 2.7 (currently, it should work on Python 2.4+)

34. Use lxml for XML parsing AND writing 35. Bring assynchronous calls to windows 36. In the debug mode, validate input XMLs against schemas. 37. Prepare for WPS 2.0 38. More closer integration with GRASS GIS 39. License change 40. Process concept

  • Use XML conofiguration?

Jython issue (lxml is CPython-based) 41. Links

  • Main pagehttp://pywps.wald.intevation.org

42. Wikihttp://wiki.rsg.pml.ac.uk/pywps/ 43. http://opengeospatial.org/standards/wps 44. Supportes

  • HelpService Remote Sensing s.r.o.http://bnhelp.cz

45. Netmar projecthttp://netmar.nersc.no/ 46. Prezem projecthttp://prezem.cz 47. Humboldt project http://esdi-humboldt.eu 48. Examples in the real world http://geo.sazp.sk 49. Examples in the real world http://povoden.kraj-lbc.cz 50. Examples in the real world http://dev.bnhelp.cz/inspire/client 51. Projects using PyWPS

  • Prezem (precision farming)http://prezem.cz

52. Humboldthttp://esdi-humboldt.eu 53. Netmarhttp://netmar.nersc.no/ 54. 55. PyWPS is used for various INSPIRE-related tasks (e.g. Transformation service) among others at JRC Ispra.