Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

52North/WPS-Extension-Skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED

This project is no longer maintained and will not receive any further updates. If you plan to continue using it, please be aware that future security issues will not be addressed.

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

Contributors 3

  •  
  •  
  •  

Languages