Skip to content

WPS skeleton project for extensions (Algorithms, Generators, Parsers)

License

Notifications You must be signed in to change notification settings

bpross-52n/WPS-Extension-Skeleton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

52°North WPS Skeleton Project

You can use this project skeleton to develop WPS extension processes (algorithms), parsers for process inputs and generators of process outputs using Java.

More information is available at the 52°North Geoprocessing Community.

Adding a Java Algorithm to your WPS instance

There are two steps which you need to fulfill

  1. Copy the resulting jar to (WPS-deployment-directory)/WEB-INF/lib
  2. Add your new Algorithms to the WPS config (in (WPS-deployment-directory)/config/wps_config.xml)

The second step could look like:

...
<Repository name="LocalAlgorithmRepository"
	className="org.n52.wps.server.LocalAlgorithmRepository" active="true">
	<Property name="Algorithm" active="true">org.n52.wps.extension.ExtensionAlgorithm</Property>
	<Property name="Algorithm" active="true">org.n52.wps.extension.AnnotatedExtensionAlgorithm</Property>
	<Property name="Algorithm" active="true">org.n52.wps.server.algorithm.SimpleBufferAlgorithm</Property>
  ...
</Repository>
...

Only if you are using WPS 3.2.0 and later

If you add the fully qualified name of you algorithm to the file:

/META-INF/services/org.n52.wps.server.IAlgorithm

and drop the jar to (WPS-deployment-directory)/WEB-INF/lib, your algorithm will be added to the WPS automatically.

About

WPS skeleton project for extensions (Algorithms, Generators, Parsers)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%