|
|
Actions
Actions are Python scripts that define processes that features can be passed through.
Introduction
Actions are the way you process features. If you want to add a new processing algorithm, you're going to be adding an action.
Details
Actions live in the Action/ directory. They take the form of a file named .py, which you reference as the class= in your config file, and a class inside of that subclassed from WebProcessingServer.Action.Action, which is the 'function' in your config. the class must have one method, 'action', which is passed a 'request' object. The request object has a 'features' property which contains a list of PythonGeoInterface features.
The action function is also passed any key/value params sent as part of the request.
Actions
- Shapely
- Routing
- Simplify
- Reproject
Sign in to add a comment
