wps-js

About

wps-js is a Javascript library to build client application for OGC Web Processing Service (WPS) implementations.

wps-js is developed within the project GeoViQua.

Download and Contribute

Source code and developer documentation is available on GitHub: https://github.com/52North/wps-js

Feel free to leave feature requests and bug reports as GitHub issues (https://github.com/52North/wps-js/issues) and ask for help on the mailing list or forum (http://geoprocessing.forum.52north.org/).

Releases

See https://github.com/52North/wps-js/releases/

Demo

Live demo: 1

Documentation

Execute a WPS process

  • Start by selecting a WPS from the topmost drop box:
    1.png

  • Once you have done that, the available processes will be listed in the second drop box:
    2.png

  • Selecting a process from the drop box will create a form depending on the inputs and outputs:
    • For complex input data an expandable textfield an a drop box containing available formats (schema/mime type/encoding) is created (see "Data" element below)
    • Also a checkbox will be created, with which you can specify whether the data will be submitted inline the request or as reference.
    • For literal input data a simple textfield is created. If there are allowed values specified for the input, a drop box containing these values will be created instead.
    • Mandatory input data will be marked with an asterisk
    • For complex output data also a format drop box is created and a checkbox to specify whether to request this specific output (WPS processes can have multiple outputs and you might not want to request all at once)
      3.png

  • Here is an example of a form filled with real values, the complex input data will be send by reference:
    4.png

  • Another example where the complex input data will be send inline:
    4b.png

  • After a click on execute, almost instantaneous a new element should occur, containing initial information about the process.
  • The information should be available fast as the WPS will be requested in an asynchronous fashion.
    5.png
  • A click on the refresh button will show status updated in the process information element (if the process supports this):
    6.png

  • After the process has finished successfully a download link will be shown:
    7.png

I Attachment Action Size DateSorted ascending Who Comment
3.pngpng 3.png manage 35 K 23 Oct 2013 - 10:51 BenjaminPross  
4.pngpng 4.png manage 37 K 23 Oct 2013 - 10:51 BenjaminPross  
6.pngpng 6.png manage 46 K 23 Oct 2013 - 10:51 BenjaminPross  
7.pngpng 7.png manage 45 K 23 Oct 2013 - 10:51 BenjaminPross  
4b.pngpng 4b.png manage 37 K 23 Oct 2013 - 10:59 BenjaminPross  
5.pngpng 5.png manage 46 K 23 Oct 2013 - 10:59 BenjaminPross  
2.pngpng 2.png manage 37 K 23 Oct 2013 - 12:15 BenjaminPross  
1.pngpng 1.png manage 22 K 23 Oct 2013 - 12:16 BenjaminPross  
This topic: Geoprocessing > WebHome > Wps-js
Topic revision: 22 Jul 2015, BenjaminPross
Legal Notice | Privacy Statement


This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback