GDAL-VECTOR-SELECT(1) GDAL GDAL-VECTOR-SELECT(1) >>> (NAME) gdal-vector-select - >>>>>> >>>>>>>>>>>> >> >>>>>> >> >> >>>>>>>>>>> >>>>>> >> >>>> 3.11 >>>>> >>. >>>>> >>>>> (SYNOPSIS) Usage: gdal vector select [OPTIONS] Select a subset of fields from a vector dataset. Positional arguments: -i, --input Input vector datasets [required] [not available in pipelines] -o, --output Output vector dataset [required] [not available in pipelines] --fields Fields to select (or exclude if --exclude) [may be repeated] [required] Common Options: -h, --help Display help message and exit --json-usage Display usage as JSON document and exit --config = Configuration option [may be repeated] -q, --quiet Quiet mode (no progress bar or warning message) [not available in pipelines] Options: -l, --layer, --input-layer Input layer name(s) [may be repeated] [not available in pipelines] -f, --of, --format, --output-format Output format ("GDALG" allowed) [not available in pipelines] --co, --creation-option = Creation option [may be repeated] [not available in pipelines] --lco, --layer-creation-option = Layer creation option [may be repeated] [not available in pipelines] --overwrite Whether overwriting existing output dataset is allowed [not available in pipelines] --update Whether to open existing dataset in update mode [not available in pipelines] --overwrite-layer Whether overwriting existing output layer is allowed [not available in pipelines] --append Whether appending to existing layer is allowed [not available in pipelines] Mutually exclusive with --upsert --output-layer Output layer name --skip-errors Skip errors when writing features [not available in pipelines] --active-layer Set active layer (if not specified, all) --exclude Exclude specified fields Mutually exclusive with --ignore-missing-fields --ignore-missing-fields Ignore missing fields Mutually exclusive with --exclude Advanced Options: --if, --input-format Input formats [may be repeated] [not available in pipelines] --oo, --open-option = Open options [may be repeated] [not available in pipelines] --output-oo, --output-open-option = Output open options [may be repeated] [not available in pipelines] --upsert Upsert features (implies 'append') [not available in pipelines] Mutually exclusive with --append >>>>>>> (DESCRIPTION) >>>>> gdal vector select >>>>>>>> >>>> >>>>>> >>>>>>>>>>>> >> >>>>>> >>>>>>> >>>. >>>>>> select >>>>>>>> >> >>>>> >>>>>>>> >> gdal vector pipeline >> >>> >>>. >>>>> GDALG (>>>>>>>>>>> >>>> / >>>>>>) (GDALG OUTPUT (ON-THE-FLY / STREAMED DATASET)) >>> >>>>>> >> >>>>>>>>>> >> >>>>> >> >>>> >> >>>> JSON >> >>>>>>> >> >>>> >>>>> GDALG >>>>>>>> >>>>>>. >>>> >>>> >> >>>>>>> >>> >> >>>>> >> >>>>>>>>>>> >>>>>> >> >>>>>>> >> >>>>>> GDALG: GDAL Streamed Algorithm >>> >>> > >> >>>> >>>>>>>> >> >> >>>> >>>> (on-the-fly) / >>>>>> (streamed) >>>>> >>>>. >>>>>>>>> >>>> >>>>>> (PROGRAM-SPECIFIC OPTIONS) --exclude >>>>> >>>>>>>> >> >> >>>>>>> >>>>> >>>>>> >> >>> >>>>>> >>>>>> >>>>> >> >> >>>>>> >> >> --fields >>>> >>>>>>>. --fields >>>>>> >> >>>>>>> >>>> >>>>> >> >> >>>>>> >> >> >>> >>>>>>> >>>> >>> >>> >> >>>> >>>> (>> >>>>>> >>> >> >>>>> >> --exclude >>>>> >>> >>>>). >>>>>>> >>>>> >> >>>>> >>>>>> >>>>>> >> >>>>> >>>>> (double-quote) >>>>> >>>> >> >>>>> >>>>>> >> >>>>> > >>>>> >>>>> >>>>> > >>>>>>>>> >>>>> >> >>> >> >>>> >>>> >> >>>>>>> >>>>> >>>>. >>>> >> >>>>> >>>> >>>>>>>> >>>> >>> >>>>>>>>>>> >>>>>> >>>> >>>>. >>>> >>>>>> >>> >>>>>> regular_field> a_field_with space, and comma > a field with " double quote >> >> >>>>> >>>>>>: --fields "regular_field,\"a_field_with space, and comma\",\"a field with \\\" double quote\"" >> >>>> >>> >>> >>>>> >>> >> >>>>> >>> >>> >>>>> >>>> >> >>> >>>>>> >>>>>>. >>>>>>> >>>>> >>> >>>>>>>>> >> >>> >>>>> >>>> >>>>. >>> >>>> >>>> >>> >>> >>>>> >>>> >>>> >>>>> >>>>>> >>>>> >>>> >> _ogr_geometry_ >>>> >>>>>> >>>> >>>>> >>>>>>>>>>> >>>>>>> >>>. >>>>> >>> >>>> >>>>> >> >>>> >>>>>> >>>> >> >>>> >>> >>>>>>. --ignore-missing-fields >>>>>> >>>>>>>> >>> >>>> >>>>>>>> >>>> --fields >> >>>>(>>>) >>>>> >>>> >>>>>> >>>>> >>>>> >>>> >>> > >>>>>> >>>>> >>>>>>. >>>>> >>>>> --ignore-missing-fields> >>>> >> >>>>> >>>> >>> > >>>>>>> >>>>>>> >>>>> >>>>>> >>>>> >>>>>>>. >>>>>>>>> >>>>>>>>> (STANDARD OPTIONS) --active-layer >>>>> >>>> >>>>. >>>>>> >> >>> >>>>> >>>>> >>>> >>>> >>>>>>> >> >> >>> >> >>>> >>> >>> >>> >>>>>> >>>> >>>>>>>. >>>> >>>>>>> >>>>>> >>>>>>> >>>. >>> >>> >>>>> >>>> >>>>> >>>>> >>>>>>> >>> >>>>>> >>>> >>>>>> >>>>. --append >>> >>>>>> > >>>>> >>>>> >> >>>>(>>>) >>>>> >>>> >>> >> >>>. >>> >>>>> >> >>>>> >> >>>>>>>>>>> >>>>> >>>> >>>> >>>>>> >>>>> >> >> >>> >>>>> >>>>>>. --co, --creation-option = >>>>>> >> >>>>>>> >> >> >>> >>>>> >>>>>>> >>>> >>>>>>>>>>> >>>>> >> >>>>>>>>> >>>> >>>>> >>>>>>>>> >>>> >>>>>>>> >>>>>>> >>>>. >>>> >>>>>> >>>>>> GeoPackage >> >>>>>>>>> >>>>> >>>> >>>>> >>>> >>>>>>>> >>>>>>. >>>>>>>> >>>>> >>>. >>>>>>>>> >>>> >>>>>>>>>>> >>>>> >>>> >> >>>>>> >>>> >>>>>> >>>> > >>>> >> >>>>>>>> >>>> >>> >>>>> >>>>> >>>>>>. >>>>>> >> >>>>>>>>> >>>>>>>>>>>> >>>> >> >>>> >> >>>>>>> >> >>>>> >> >>>>> --formats >>>>>> >>>> >>> >>>>>>> >>>>> >>>> >>>> >>>>>>> >>>>>> >>>>>>>>> >>>> >>>>>> >>>. >>>> >>>>>>>>> >>>> >>>> >> >>>>> >> >>>>>>> >>>> >>>> Vector drivers >>>>>> >>>>. >>>> >>>>> >>>>> >> >>>>>>>>> >>>> >>>>>>>>>>> >> >>>>>>>>> >>>> >>>> >>>>>> >>>>>. --if, --input-format >>> >>>>/>>>>>>> >> >>>> >>>> >>> >>>> >>>>(>>>) >>>>> >>>> >>>. >>>>>> >>> >>>>> >> >>>>> >> >>>>> >>> >> >>>>>> >> >>>>> >>>>>> >>>>>> >> >>>>>> >>>>>> >>>>> >>>> >>>>>>>> >>>>>>>> >>>> >>>>>> >>>>> >> >>>>>>> >>>. >>> >>>>> >>>>>>>> >>>>> >>> >>>>> >>> >> >>> >>>>>> >>>>>> >>>> >>>>. >>>> >>>>> >>>>> >> >>> >>>>> >> >>>>>>>> >> >> >>> >>>> >>>>>>>>>>> >>>>> >>>>>>>. >>>>>>>> >>>> >>>>>>>> >>>>>>>>>>>>> >>>> >>>>> >>>> >>>>>. >>>>>>>> >>>>> >>>. --input-layer >>> >> >> >>> >>>> >> >>>> >>>>>> >>>> >>>>>>. >>>>>> >>>>>>>> >>>> >>>>>>> >>>>>> >>>>>> >>. >>>> >>>>>> > >>>>> >>>> >>>>>>> >>> >>> >>>>>> >> >>>>>>>>>> >> --active-layer >>>>>>> >>>>. --lco, --layer-creation-option = >>>>>> >> >>>>>>> >> >> >>> >>>>> >>>>>>> >>>> >>>> >>>>> >> >>>>>>>>> >>>> >>>>> >>>>>>> >>>> >>>>>>>> >>>>>>> >>>>. >>>> >>>>>> >>>>>> GeoPackage >> >>>>>>>>> >>>> >>>> >>>> >>>>> >>>>> >>>>> >> >>> >>>> >>>>>> >>>>> >>>>> >> >>>>>>> > >>>> >>>>>>>> >>>>>>. >>>>>>>> >>>>> >>>. >>>>>>>>> >>>> >>>> >>>>> >>>> >> >>>>>> >>>> >>>>>> >>>> > >>>> >> >>>>>>>> >>>> >>> >>>>> >>>> >>>>>>> >>>>>>. >>>>>> >> >>>>>>>>> >>>>>>>>>>>> >>>> >> >>>> >> >>>>>>> >> >>>>> >> >>>>> --formats >>>>>> >>>> >>> >>>>>>> >>>>> >>>> >>>> >>>>>>> >>>>>> >>>>>>>>> >>>> >>>>>> >>>. >>>> >>>>>>>>> >>>> >>>> >> >>>>> >> >>>>>>> >>>> >>>> Vector drivers >>>>>> >>>>. >>>> >>>>> >>>>> >> >>>>>>>>> >>>> >>>> >> >>>>>>>>> >>>> >>>>>>>>>>> >>>>>> >>>>>. --oo, --open-option = >>>>> >>> >>>> >>>>>>>>>>> (>>>> >>>>). >>>>>>>> >>>>> >>>. -f, --of, --format, --output-format >>>>> >>>> >>>>>> >>>>> >>>> >>>>>>>. >>>>>> >>>> >> >>>>>>> >> >>>> >>>>> >>> >> >>> >>>>: gdal --formats | grep vector | grep rw | sort --output-layer >>> >>>>>>> >> >>>> >>>>>> >> >>>>> >> >> >>>>> >>>>>> >>. >>> >>>> >>>>> >>> >>>>>>>> >>>>> >>>>> >>> >>>>>>>> >>>>> >>>>> >>>. --output-open-option, --output-oo = >> >>>> 3.12 >>>>> >>. >>>>> >>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>>> (>>>> >>>>). >>>>>>>> >>>>> >>>. --overwrite >> >>>>>> >>>>> >>>>>> >>>> >> >>>>>>>>>>> >>> >>>>> >> >>>>>>> >>>. >> >>> >>> >>>>> >>>>>> >>>>>>>> >>> >>>> >> >>>>>>>>>>> >>> >> >>> >>>> >>>>> >>>>> gdal >> >>> >>>>> >>>>>>. --overwrite-layer >>> >>>>>>> >>>> >>>>>> >>>>> >>>>> >>>> >>> >> >>>. --skip-errors >> >>>> 3.12 >>>>> >>. >>> >>>>>> >>>>>>> >>>>> >>>>> >>>>>(>>) >>>>>> >>>>> >>>> >> >>>. >>>> >>>>> >>>>> >> >>> >>>>> >>>>>> >>>> >>>>>> >> >> >> >>>>> >> >> >>>> >>>>> >>>>>>> >> >>>> >>> >>>>> >>> >>>>>>> >> >>>>>>>>>> >>>> >>>> >>>> >>>> >>>. --update >>> >>>>>>>>>>> >>>>> >>>>> >> >>>> >>>>>>>>>>> >>> >>> >> >>>. --upsert >> >>>> 3.12 >>>>> >>. >>>>>>> >> --append >> >> >> >> >>> >>>>> >> OGRLayer::CreateFeature()> >> >>>>>> OGRLayer::UpsertFeature() >>>> >>> >> >>>>>>>>>>> >>>>> >>>>>>> >>>>>>. >>> >>>>> >> >>> >>>> >>>> >> >>> >>>>>> >>>>>>>>>> >>> >>>: GPKG -- GeoPackage vector> Elasticsearch: Geographically Encoded Objects for Elasticsearch > MongoDBv3 (>>>>>>>>>> >> upsert >> >>>>>>>>>> >>>>>>>> >>>>>> GDAL_DCAP_UPSERT >> >>>>> >>>>>>>). >>>>>> upsert >> >>>> >>>>> >>>> FID >>>>> >>>>> (> >> >>>>> >> >>> >>>> FID >> >>>> >>>> >>>>>)> >> >> >> >>>>> >>>>> >>>> >>>>>>>>>>> >>>>> >>>>> >>>>>>> >>>>>>. >>>>> >>>>> >>> >> >>>>>>> >>>> >>> >>>>>> FID >> >>>>>>>> >>>> > >>>> >>>>>> >>>>>. >>>> >>>>>> GPKG> >>>>>> >>>>> >>> >> >>>>>>>>>>> >>>>>> >> FID >>>>> >>>>> >>>> >> >>>> >>>>> >>> >>>> >>>> (>>>>>>> >> >>>>> --unset-fid >> gdal vector edit >>>> >>>>>> >>>>> FID >>>>> >>>> >>>>>>> >>>)> >>>>> >> >>>>> >> >>>> UNIQUE >>>> >>>>> >>>> >> >>>> >>>> >>>> >>>> >>>>>. >>>>> >>>> (EXIT STATUS) >>>>>> >> >>>> >>>>>> >> >>>>> 0 > >> >>>> >>>> >>> >>>>> >>> >>> >> >>>>>>>>>>> (>>>>>> >>>>>>>>>>>>> >> >> >>>>> >>>>> >>>> >>>>>>>> >> >>>>> >>>>> >>>>>>>>>>> >> >>> >>>>> >>>>>> >>). >>>>>>> (EXAMPLES) >>>> >: >>>>>> >>>> EAS_ID > >>>> >>>>> >> >> Shapefile $ gdal vector select in.shp out.gpkg "EAS_ID,_ogr_geometry_" --overwrite >>>> >: >>> >>>>>>> >>>> >> >> >>>> $ gdal vector select in.shp out.gpkg --exclude "name,surname,address" --overwrite >>>>>>>>> (AUTHORS) Even Rouault >>>>>>>> > >>>>> (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-SELECT(1)