BoundingBoxLoader
Vector loader for bounding boxes
Implements the VectorLoader protocol.
| PARAMETER | DESCRIPTION |
|---|---|
bounding_box
|
Bounding box
TYPE:
|
epsg_code
|
EPSG code
TYPE:
|
layer_name
|
Layer name
TYPE:
|
from_config
classmethod
Creates a bounding box loader from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
BoundingBoxLoader
|
Bounding box loader |
BoundingBoxLoaderConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of BoundingBoxLoader
Example
You can create the configuration from a config file.
package: 'aviary'
name: 'BoundingBoxLoader'
config:
bounding_box_coordinates:
- 363084
- 5715326
- 363340
- 5715582
epsg_code: 25832
layer_name: 'my_layer'
| ATTRIBUTE | DESCRIPTION |
|---|---|
bounding_box_coordinates |
Bounding box coordinates (x_min, y_min, x_max, y_max) in meters
TYPE:
|
epsg_code |
EPSG code
TYPE:
|
layer_name |
Layer name
TYPE:
|