GDAL-VECTOR-FILTER(1) GDAL GDAL-VECTOR-FILTER(1) >>> (NAME) gdal-vector-filter - >>>>> >>>> (>>>>>>) >> >>>>>>>>>>> >>>>>> >> >>>> 3.11 >>>>> >>. >>>>> >>>>> (SYNOPSIS) Usage: gdal vector filter [OPTIONS] >>>>> >>>> >> >>>>>>>>>>> >>>>>>. >>>>>>>>>>> >>>>> (Positional arguments): -i, --input >>>>>>>>>>>>>>> >>>>>> >>>>> [>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] -o, --output >>>>>>>>>>> >>>>>> >>>>> [>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>>> >>>>> (Common Options): -h, --help >>>>> >>>> >>>>>> > >>>> --json-usage >>>>> >>>> >>>>>>> >> >>>> >>> JSON > >>>> --config = >>>>> >>>>>>>> [>>>>>>>>>] -q, --quiet >>>> >>>>>> (>>>> >>>> >>>>>> >> >>>> >>>>>) [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>> (Options): -l, --layer, --input-layer >>> >>>>(>>>) >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] -f, --of, --format, --output-format >>>> >>>>> (>>>> >>>> "GDALG") [>> >>>> >>>> >> >>>>> >>>>] --co, --creation-option = >>>>> >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --lco, --layer-creation-option = >>>>> >>>>> >>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --overwrite >>> >>>>>>>> >>> >>>>>>>>>>> >>>>> >>>>> >>>> >>> [>> >>>> >>>> >> >>>>> >>>>] --update >>> >>>>>>>>>>> >>>>> >> >>>> >>>>>>>>>>> >>> >>> [>> >>>> >>>> >> >>>>> >>>>] --overwrite-layer >>> >>>>>>>> >>> >>>> >>>>> >>>>> >>>> >>> [>> >>>> >>>> >> >>>>> >>>>] --append >>> >>>>> >> >>>> >>>>> >>>> >>> [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>> >> --upsert --output-layer >>> >>>> >>>>> [>> >>>> >>>> >> >>>>> >>>>] --skip-errors >>>>>>>> >> >>>>> >>>>> >>>>> >>>>> [>> >>>> >>>> >> >>>>> >>>>] --active-layer >>>>> >>>> >>>> (>> >>>> >>> >>>>>> >>>) --bbox >>>> >>>>>>>>>> (Bounding Box) >> >>>> xmin,ymin,xmax,ymax --where |@ >>>>>>>> >>>>>> >> >>>> >>>>>> >> >>>>>>>>>> >>>>>>>>>>> >> >>>>> SQL WHERE --update-extent >>>>>>>>>>> >>>>> >>>> >>>> >>>> >>>> >>>>> >>>>>>>>> >>>>>>> (Advanced Options): --if, --input-format >>>>>>>> >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --oo, --open-option = >>>>>>>>> >>> >>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --output-oo, --output-open-option = >>>>>>>>> >>> >>>> >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --upsert >>> >> >>>>>>>>>>> (Upsert) >>>>> (>>>> 'append') [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>> >> --append >>>>>>> (DESCRIPTION) >>>>> gdal vector filter >>>>>>>> >>>> >>>>> >>>> >> >>>>>>>>>>> >>>>>> >> >>> >>>>> >>>>> >> >> >>> SQL WHERE >>>>>>> >>>. >>>>> filter >>>>>> >>>>>>>> >> >>>>> >> >>>>> >> gdal vector pipeline >>>>>>> >>>. >>>>> GDALG (>>>>>>>>>>> >> >>>> / >>>>>>) >>> >>>>>> >> >>>>>>>>>>> >> >>>>> >> >>>>> >> >>>> JSON >> >>>>>>> >> >>>> >>>>> GDALG >>>>>>>> >>>>>>. >>> >>>> >>>> >>>>>>>> >> >>>>> >> >>>>>>>>>>> >>>>>> >> >>>>>>> >> >>>>>> GDALG: GDAL Streamed Algorithm >>> >>> > >> >>>> >>>>>>>>> >> >> >>>> >> >>>> / >>>>>> >>>>> >>>. >>>>>>>>> >>>>>>> >>>>>> (PROGRAM-SPECIFIC OPTIONS) --bbox ,,, >>>>>>>>>>> >> >>>>>>>>>>> >>>> >> >>>> >>>>> >>>>> >>>. >>> >> >>> >>> >> >>> >>>>>> >> >>>>>> >>>> >>>>> (CRS) >>>>>>>>>>> >>>>> >>>>>. >>>>>>> X > Y >> >>>> >>>>>>> ">>>>>> >> GIS" >>>>>> >>>> X >>> >>>>>>>>> >> >>>>>> >>>> (Easting) > Y >>> >>>>>>>>> >> >>>>>> >>>>> (Northing) >>>. >>>> >>>>> >>>>> >> >>>>> >>>> >>>> >>> >>>>>>>> >> >>>> >>>> >>>>>>>>>> >>>>>>>. --update-extent >>>>>>>>>>> >>>>> >>>> >>>> >>>>> >>> >>>>>(>>). >> >>> >>> >>>>> >>>>> >>>> >>>>>> >>>> >>>>> >>>> >>>> >>> >> >>>>> >>>>>(>>) >>>>> >>>. >>>> >>>>> >>>>> >> >>>>>>> >> >>> >>>>> >>>>>>> >>>>>> >>>> >>>>>>>> >>>>>>>> >>>. --where |@ >>>>>>>> >>>>>> (>>>>> SQL WHERE). >>>>>>>>> >>>>>>>>> (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::UpsertFeature() >>>> >>> >> >>>>>>>>>>> >>>>> >>>>>> >>>>> >> OGRLayer::CreateFeature() >>>>>>> >>>>>>. >>> >>>>>> >> >>> >>>> >>>> >> >>> >>>>>> >>>>>>>>>> >>> >>>: GPKG -- GeoPackage vector> Elasticsearch: Geographically Encoded Objects for Elasticsearch > MongoDBv3 (>>>>>>>>>> >> upsert >> >>>>>>>>>> >>>>>>>>> >>>>>> GDAL_DCAP_UPSERT >> >>>>> >>>>>>>). >>>>>> upsert >> FID >>>>> >>>>>> >> >>>>> >> >>>>> >>> >>>> (> >>> >>>> FID >> >>>> >>>> >>>>>)> >> >>>>> >>>> >>>> >>>>>>>>>>> >>>>> >>>>> >>>>>>> >>>>>>. >>>>> >>>>> >>> >> >>>>>>> >>>> >>> FID >> >>>>>>>> >>>> > >>>> >>>>>> > >>>>> >>>. >>>> >>>>>> GPKG> >> >>>>> >> >> >>>> >> >>> UNIQUE >>>> >>>>> >>>> >> >>>> >>>> >>>> >>>> >>>>>> >>>>> >>>>> upsert >>>> >>>>>> >> FID >>>>> >>>>> >>>> >> >>>> >>>>> >>> >>> >>>> >>>> (>>>>> --unset-fid >> gdal vector edit >>>>>>>> >>>> >>>>>> >>>>> FID >>>>> >>>> >>>>>>> >>>). >> >>>>> >>>>> (RETURN STATUS CODE) >>>>>> >> >>>> >>>>>> >> >>>>> 0 > >> >>>> >>>> >>> >>>>> >>>>>> >>>>>>>>>>> (>>>>>> >>>>>>>>>>>>> >> >> >>>> >>>>> >>>>> >>>>>>> >> >>>>> >>>>> >>>> >> >>> >>>>> >>>>>>>). >>>>>>> (EXAMPLES) >>>> >: >>>>>> >>>>> >> >> >>>> GeoPackage >> >> >>>> >>>>>>>>>> >> >>> >> >>> >> >> >>> >> >>> >> >> WGS 84 >>>>>> >>>>> $ gdal vector filter --bbox=2,49,3,50 in.gpkg out.gpkg --overwrite >>>>>>> (AUTHOR) Even Rouault >> >>> (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-FILTER(1)