GDAL-VECTOR-SEGMENTIZE(1) GDAL GDAL-VECTOR-SEGMENTIZE(1) >>> (NAME) gdal-vector-segmentize - >>>>>>>>> >>>>>>>>> >> >>>>>>>>>>> >>>>>> >>>>>>>>> >> >>>>> 3.12. >>>>> >>>>> (SYNOPSIS) Usage: gdal vector segmentize [OPTIONS] Segmentize geometries of 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] --max-length Maximum length of a segment [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 [not available in pipelines] --skip-errors Skip errors when writing features [not available in pipelines] --active-layer Set active layer (if not specified, all) --active-geometry Geometry field name to which to restrict the processing (if not specified, all) 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 segmentize >> >>> >>>> >>>>>> >>>>> >>>>>> >> >>>>>>>> LineString >> >>>>>>>> Polygon >>>> >>>>> >> >>>>>> >>> >>>>>>>> >>>>>> >>>>>. >>> >>>>> >>>>>> OGRGeometry::segmentize() >> >>>> >>>>>>. >>>>>> >>>>>>>> >> >>>>> >>>>>>>> >> gdal vector pipeline >>>>>>> >>>. >>>>> GDALG (>>>>>>>>>>> >> >>>> / >>>>) (GDALG OUTPUT (ON-FLY / STREAMED DATASET)) >>> >>>>>> >> >>>>>>>>>> >> >>>>> >> >>>> >> >>>> JSON >> >>>>>>> >> >>>> >>>>> GDALG >>>>>>>> >>>>>>. >>> >>>> >>>> >>>>>>>> >> >>>>>>> >> >>>>>> GDALG: GDAL Streamed Algorithm >> >>>>> >> >>>>>>>>>>> >>>>>> >>> >>> > >>>>>>> (pipeline) >>>>>>>> >> >> >>>> >>>>>>> (on-the-fly) >> >>>> (streamed) >>>>> >>>>>. >>>>>>>>> >>>> >>>>>> (PROGRAM-SPECIFIC OPTIONS) --max-length >>>>> >>>>>>>> >>>> >>> >>>>>> >>>>>> >>>>> >>> >> >>>> >>>>>> >> >>>>> >>>>> >>> >> >>>>>> >>>> >>>>> >>>. >>>> >>> >>>>>> >>>>>>> >>>>>>>>>>>>> (georeferenced) >>>> >>>> >>>. >>>>>>>>> >>>>>>>>> (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 >>>> >>>>>> >> >>> >>>>>>>>>>> >>>>> >>>>> >> >>>> >>>>>>>>>>> (update mode) >>> >>> >> >>>. --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> >>>>>> >>>>> upsert >>>> >>>>>> >> FID >>>>> >>>>>>>> >>>> >> >>>> >>>>> >>> >>>> >>>> (>>>>>>> >> >>>>> --unset-fid >> gdal vector edit >>>> >>>>>> >>>>> FID >> >>>>> >>>> >>>>>>> >>>)> >>>>> >> >>>>>> >>>>> >>>> (UNIQUE) >>>> >>>>> >>>> >> >>>> >>>> >>>> >>>>>. >>>>> >>>> (EXIT STATUS) >>> >>>>>> >> >>>> >>>>>> >> >>>>> 0 > >> >>>> >>>> >>> >>>>> >>> >>> >>>>>>>>>>> (>>>>>> >>>>>>>>>>>>> >> >> >>>> >>>>> >>>> >>>>>>>> >> >>>>> >>>>> >>>> >> >>> >>>>> >>>>>>>). >>>>>>> (EXAMPLES) >>>> >: >>>>>>> >> >>>>> >>>>>>>> >>>>>>>> >>>> >>> >> >> >>>>>>> >>>>>> >>>>> (>> >>> >>>>> CRS >> >>> >>> >>>) $ gdal vector segmentize --max-length=1000 in.gpkg out.gpkg --overwrite >>>>>>>>> (AUTHORS) Even Rouault >>>>>>>> > >>>>> (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-SEGMENTIZE(1)