|
Actions
Actions are Python scripts that define processes that features can be passed through.
Featured IntroductionActions are the way you process features. If you want to add a new processing algorithm, you're going to be adding an action. DetailsActions 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
|
► Sign in to add a comment