gdal vector

Added in version 3.11.

Entry point for vector commands

Synopsis

Usage: gdal vector <SUBCOMMAND> [OPTIONS]
where <SUBCOMMAND> is one of:
  - clip:      Clip a vector dataset.
  - concat:    Concatenate vector datasets.
  - convert:   Convert a vector dataset.
  - edit:      Edit metadata of a vector dataset.
  - filter:    Filter a vector dataset.
  - geom:      Geometry operations on a vector dataset.
  - grid:      Create a regular grid from scattered points.
  - info:      Return information on a vector dataset.
  - pipeline:  Process a vector dataset.
  - rasterize: Burns vector geometries into a raster.
  - reproject: Reproject a vector dataset.
  - select:    Select a subset of fields from a vector dataset.
  - sql:       Apply SQL statement(s) to a dataset.

Common Options:
  -h, --help              Display help message and exit
  --json-usage            Display usage as JSON document and exit
  --config <KEY>=<VALUE>  Configuration option [may be repeated]

Options:
  --drivers               Display vector driver list as JSON document and exit

Available sub-commands

Examples

Example 1: Getting information on the file poly.gpkg (with JSON output)

$ gdal vector info poly.gpkg

Example 2: Converting file poly.gpkg to Esri File Geodatabase

$ gdal vector convert --format=OpenFileGDB poly.gpkg poly.gdb