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: hhttp://geoprocessing.demo.52north.org:8080/wps-js-0.1.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
Topic attachments
I Attachment Action Size Date Who Comment
PNGpng 1.png manage 22.1 K 2013-10-23 - 12:16 BenjaminPross  
PNGpng 2.png manage 37.2 K 2013-10-23 - 12:15 BenjaminPross  
PNGpng 3.png manage 35.3 K 2013-10-23 - 10:51 BenjaminPross  
PNGpng 4.png manage 37.6 K 2013-10-23 - 10:51 BenjaminPross  
PNGpng 4b.png manage 37.9 K 2013-10-23 - 10:59 BenjaminPross  
PNGpng 5.png manage 46.4 K 2013-10-23 - 10:59 BenjaminPross  
PNGpng 6.png manage 46.8 K 2013-10-23 - 10:51 BenjaminPross  
PNGpng 7.png manage 45.9 K 2013-10-23 - 10:51 BenjaminPross  
Tags:
client1Add my vote for this tag javascript1Add my vote for this tag create new tag
, view all tags
Topic revision: r7 - 2015-07-22 - 13:33:19 - BenjaminPross

 
  • Search: 
This site is powered by the TWiki collaboration platform Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback