GDAL-VECTOR-MAKE-VALID(1) GDAL GDAL-VECTOR-MAKE-VALID(1) (NAME) gdal-vector-make-valid - 3.12 . (SYNOPSIS) : gdal vector make-valid [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 ( ) --active-geometry ( ) --method .. METHOD=linework|structure (: linework) --keep-lower-dim ()MakeValid : --if, --input-format [ ] [ ] --oo, --open-option = [ ] [ ] --output-oo, --output-open-option = [ ] [ ] --upsert (upsert) ( 'append') [ ] --append gdal vector make-valid Simple Features . OGRGeometry::MakeValid() OGRGeometryFactory::removeLowerDimensionSubGeoms() ( --keep-lower-dim ). gdal vector pipeline . : GDAL GEOS . GDALG ( / ) (GDALG OUTPUT (ON-THE-FLY / STREAMED DATASET)) JSON GDALG . GDALG: GDAL Streamed Algorithm / (streamed) . (PROGRAM-SPECIFIC OPTIONS) --keep-lower-dim ()MakeValid. ()MakeValid Polygon GeometryCollection Polygon LineString . Polygon . GeometryCollection . --method=linework|structure . linework . . structure ( GEOS >= 3.10 ) . . Geometry Validity . (STANDARD OPTIONS) --active-geometry . . . . --active-layer . --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 . (EXIT STATUS) 0 ( ). (EXAMPLES) : make-valid $ gdal vector make-valid in.gpkg out.gpkg --overwrite (AUTHORS) Even Rouault (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-MAKE-VALID(1)