export_layer
Export any QGIS layer to GeoJSON, Shapefile, GPKG, or CSV with automatic WKT geometry inclusion for CSV files.
Instructions
Export a layer to GeoJSON, Shapefile, GPKG, or CSV.
format is one of: geojson, shapefile, gpkg, csv - inferred from
path's extension if omitted. CSV exports include geometry as a WKT
column automatically, since GDAL's CSV driver drops geometry by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | ||
| layer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||