GDAL-VECTOR-EDIT(1) GDAL GDAL-VECTOR-EDIT(1) (NAME) gdal-vector-edit - 3.11 . (SYNOPSIS) Usage: gdal vector edit [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 ( ) --geometry-type --crs CRS ( Default) --metadata = / [ ] --unset-metadata [ ] --layer-metadata = / [ ] --unset-layer-metadata [ ] --unset-fid FID : --if, --input-format [ ] [ ] --oo, --open-option = [ ] [ ] --output-oo, --output-open-option = [ ] [ ] --upsert (Upsert) ( 'append') [ ] --append (DESCRIPTION) gdal vector edit : (CRS) . edit gdal vector pipeline . (features) . GDALG ( / ) (GDALG OUTPUT (ON-THE-FLY / STREAMED DATASET)) JSON GDALG . GDALG: GDAL Streamed Algorithm / . (PROGRAM-SPECIFIC OPTIONS) --crs (CRS) . OGRSpatialReference::SetFromUserInput() CRS EPSG ( EPSG:4296) WKT CRS PROJ.4 .prj WKT CRS. null none CRS . --geometry-type : GEOMETRY POINT LINESTRING POLYGON MULTIPOINT MULTILINESTRING MULTIPOLYGON GEOMETRYCOLLECTION CURVE CIRCULARSTRING COMPOUNDCURVE SURFACE CURVEPOLYGON MULTICURVE MULTISURFACE POLYHEDRALSURFACE TIN. Z M ZM . . . --layer-metadata = / . --metadata = / . --unset-fid 3.12 . FID . ORDER BY . --unset-metadata . --unset-layer-metadata . (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) : CRS GeoPackage ( ) $ gdal vector edit --crs=EPSG:4326 --geometry-type=POLYGONZM in.gpkg out.gpkg --overwrite : CRS Shapefile Shapefile .prj : $ gdal vector edit --crs=EPSG:3857 in.shp out.shp (AUTHOR) Even Rouault (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-EDIT(1)