GPKGLoader
Vector loader for geopackages
Implements the VectorLoader protocol.
| PARAMETER | DESCRIPTION |
|---|---|
path
|
Path to the geopackage (.gpkg file)
TYPE:
|
epsg_code
|
EPSG code
TYPE:
|
layer_name
|
Layer name
TYPE:
|
from_config
classmethod
Creates a GPKG loader from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
GPKGLoader
|
GPKG loader |
GPKGLoaderConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of GPKGLoader
Example
You can create the configuration from a config file.
package: 'aviary'
name: 'GPKGLoader'
config:
path: 'path/to/my_gpkg.gpkg'
epsg_code: 25832
layer_name: 'my_layer'
| ATTRIBUTE | DESCRIPTION |
|---|---|
path |
Path to the geopackage (.gpkg file)
TYPE:
|
epsg_code |
EPSG code
TYPE:
|
layer_name |
Layer name
TYPE:
|