ClipProcessor
Vector processor that clips a layer
Implements the VectorProcessor protocol.
| PARAMETER | DESCRIPTION |
|---|---|
layer_name
|
Layer name
TYPE:
|
mask_layer_name
|
Mask layer name
TYPE:
|
new_layer_name
|
New layer name
TYPE:
|
from_config
classmethod
Creates a clip processor from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ClipProcessor
|
Clip processor |
ClipProcessorConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of ClipProcessor
Create the configuration from a config file
- Use null instead of None
Example
You can create the configuration from a config file.
package: 'aviary'
name: 'ClipProcessor'
config:
layer_name: 'my_layer'
mask_layer_name: 'my_mask_layer'
new_layer_name: 'my_new_layer'
| ATTRIBUTE | DESCRIPTION |
|---|---|
layer_name |
Layer name
TYPE:
|
mask_layer_name |
Mask layer name
TYPE:
|
new_layer_name |
New layer name - defaults to None
TYPE:
|