Skip to content

GeoViQua/wps-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wps-js

Standalone JavaScript WPS client.

Development

Tomcat configuration

A simple configuration of a Tomcat servlet container to develop wps-js is to point the context of the webapp to the Maven target directory.

<Context 
  docBase="/your/path/to/wps-js/target/wps-js-1.0.0-SNAPSHOT/" 
/>

You can then update the deployed copy by running mvn package -DskiptTests=true.

Proxy

wps-js needs a proxy server to connect to WPS server instances. A simple one is jproxy, see https://github.com/matthesrieke/jprox. wps-js will by default look for a proxy at /wps_proxy/wps_proxy?.

jprox configuration

Make sure you use the following parameters in jprox's web.xml and deploy it as wps_proxy.war to make it work with the default wps-js configuration.

[...]
<param-name>parameterKey</param-name>
<param-value>url</param-value>
[...]
<servlet-mapping>
	<servlet-name>JProxViaParameterServlet</servlet-name>
	<url-pattern>/</url-pattern>
[...]

License

wps-js is published under Apache Software License, Version 2.0

The used libraries are:

About

A standalone JavaScript client for WPS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published