The function module integrates functions into the GeoTools filter function system. Such functions are executed against feature objects and can be used in styles or for custom filter processing.
- class geoscript.function.Function¶
A function to be executed against a feature. The fn is the function to execute. The arguments of fn are feature attributes.>>> def foo(the_geom): ... return the_geom.buffer(10) >>> f = Function(foo)