GDAL-VECTOR-SET-FIELD-TYPE(1) GDAL GDAL-VECTOR-SET-FIELD-TYPE(1) >>> (NAME) gdal-vector-set-field-type - >>>>> >>> >> >>>> >> >>>>>>>>>>> >>>>>> >>>>>>>>>> >> >>>> 3.12. >>>>> >>>>> (SYNOPSIS) Usage: gdal vector set-field-type [OPTIONS] >>>>> >>> >> >>>> >> >>>>>>>>>>> >>>>>>. >>>>>>>>>>> >>>>>: -i, --input >>>>>>>>>>>>>>> >>>>>> >>>>> [>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] -o, --output >>>>>>>>>>> >>>>>> >>>>> [>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>>> >>>>>: -h, --help >>>>> >>>> >>>>>> > >>>> --json-usage >>>>> >>>> >>>>>>> >> >>>> >>> JSON > >>>> --config = >>>>> >>>>>>>> [>>>>>>>>>] -q, --quiet >>>> >>>>>> (>>>> >>>> >>>>>> >> >>>> >>>>>) [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>>: -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 >>>>> >>>> >>>> (>> >>>> >>> >>>>>> >>> >>>>>>>) --field-name >>> >>>> [>>>>>>] >>>>>>>> >> --input-field-type --input-field-type >>> >> >>>>>> >>>> >>>> [>>>>>>] >>>>>>>> >> --field-name --output-field-type, --field-type >>> >> >>>>>> >>>> >>>> [>>>>>>] >>>>>>>>> >>>>>>>: --if, --input-format >>>>>>>> >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --oo, --open-option = >>>>>>>>> >>> >>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --output-oo, --output-open-option = >>>>>>>>> >>> >>>> >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --upsert >>>>>>>>>>> >> >>> >>>>> (>>>>>> 'append') [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>> >> --append >>>>>>> (DESCRIPTION) >>>>> gdal vector set-field-type >>>>>>>> >>>> >>>>> >>> >>>> >> >>>>>>>>>>> >>>>>> >>>>>>> >>>: >>>>> set-field-type >>>>>> >>>>>>>> >> >>>>> >> >>>>> >> gdal vector pipeline >> >>> >>>. >>>>> GDALG (>>>>>>>>>>> >>>> / >>>>>>>) (GDALG OUTPUT (ON-THE-FLY / STREAMED DATASET)) >>> >>>>>> >> >>>>>>>>>>> >> >>>>> >> >>>> >> >>>> JSON >> >>>>>>> >> >>>> >>>>> GDALG >>>>>>>> >>>>>>. >>> >>>> >>>> >>>>>>>> >> >>>>> >> >>>>>>>>>>> >>>>>> >> >>>>>>> >> >>>>>> GDALG: GDAL Streamed Algorithm >>> >>> > >> >>>> >>>>>>>> >> >> >>>> >>>>>>> >> >>>>>> (streamed / on-the-fly) >>>>> >>>. >>>>>>>>> >>>>>>> >>>>>> (PROGRAM-SPECIFIC OPTIONS) --field-name >>> >>>> >>> >>>>>. >>>>>>>> >> --input-field-type. >>>> >>>> >>> >> >>>>> >>>>>> >>>. --field-type, --output-field-type >>> >>>> >>>>. >>>>>> >>>>> >>>>>>> >>: Integer> IntegerList> Real> RealList> String> StringList> Binary> Date> Time> DateTime> Integer64> Integer64List. >> >>> >>> >>>> >>>>>>> >>>>>> >>>> (subtype) >> >>>> >>>. >>>>>> >>>>> >>>>>>> >>: Boolean> Int16> Float32> JSON> UUID. >>> >>>> >> >>>>>> >>>> >>>>> >>. --input-field-type >>> >>>> >>>>>>>> >> >>>> >>>>> >>>>. >>>>>> >>>>> >>>>>>> >>: Integer> IntegerList> Real> RealList> String> StringList> Binary> Date> Time> DateTime> Integer64> Integer64List. >> >>> >>> >>>> >>>>>>> >>>>>> >>>> >> >>>> >>>. >>>>>> >>>>> >>>>>>> >>: Boolean> Int16> Float32> JSON> UUID. >>>>>>>> >> --field-name. >>>> >>>> >>> >> >>>>> >>>>>> >>>. >>>>>>>>> >>>>>>>>> (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> >>>>>> >>>>> upsert >>>>>> >> FID >>>>> >>>>> >>>> >> >>>>>>>> >>> >>>> >>>> (>>>>> --unset-fid >> gdal vector edit >>>>>>>> >>>> >>>>>> >>>>> FID >> >>>>> >>>> >>>>>>> >>>)> >> >>>>> >> >> >>>> >> >>> UNIQUE >>>> >>>>> >>>> >> >>>> >>>> >>>> >>>> >>>>>. >> >>>>> >>>>>>> (RETURN STATUS CODE) >>> >>>>>> >> >>>> >>>>>> >> >>>>> 0 > >> >>>> >>>> >>> >>>>> >>> >>> >>>>>>>>>>>> (>>>>>> >>>>>>>>>>>>> >> >> >>>>> >>>>> >>>> >>>>>>>> >>>>> >>>>>>>>>>> >> >>> >>>>> >>>>>>>). >>>>>>> (EXAMPLES) >>>> >: >>>>> >>> >>>>> >> >>> >> >>>> >>> >> Integer $ gdal vector set-field-type input.gpkg output.gpkg --field-name myfield --field-type Integer >>>> >: >>>>> >>> >>>>> >>>>>>> >>> Date >> DateTime $ gdal vector set-field-type input.gpkg output.gpkg --input-field-type Date --output-field-type DateTime >>>>>>> (AUTHOR) Alessandro Pasotti >> >>> (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-SET-FIELD-TYPE(1)