GDAL-VECTOR-PARTITION(1) GDAL GDAL-VECTOR-PARTITION(1) >>> (NAME) gdal-vector-partition - >>>>>>>>> >>>>>>>>>>> >>>>>> >> >>>>> >>>> >>>>>> >>> >> >>>> 3.12. >>>>> >>>>> (SYNOPSIS) >>>>>>: gdal vector partition [>>>>>>>>] >>>>>>>>> >>>>>>>>>>> >>>>>> >> >>>>> >>>>. >>>>>>>>>>> >>>>>: -i, --input >>>>>>>>>>>>>>> >>>>>> >>>>> [>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] -o, --output >>>>>>>>> >>>>> [>>>>>>] >>>>>>>>> >>>>>: -h, --help >>>>> >>>> >>>>>> > >>>> --json-usage >>>>> >>>> >>>>>>> >> >>>> >>> JSON > >>>> --config = >>>>> >>>>>>>> [>>>>>>>>>] -q, --quiet >>>> >>>>>> (>>> >>>>> >>>> >>>>>> >> >>>>>>>> >>>>>) [>> >>>> >>>> >> >>>>> >>>>] >>>>>>>>: --overwrite >>> >>>>>>> >>> >>>>>>>>>>> >>>>> >>>>> >>>> >>> >>>>>>>> >> --append --append >>> >>>>> >> >>>> >>>>> >>>> >>> >>>>>>>> >> --overwrite -f, --of, --format, --output-format >>>> >>>>> --co, --creation-option = >>>>> >>>>> >>>>>>>>>>> [>>>>>>>>>] --lco, --layer-creation-option = >>>>> >>>>> >>>> [>>>>>>>>>] --field >>>>(>>>) >>>>>> >> >>>>> >> >>>>>>>>> >> >>>> >>>>> >>>>> >>>>>> [>>>>>>>>>] --scheme >>> >>>>>>>>>. SCHEME=hive|flat (>>>>>>>: hive) --pattern >>>>> >>> >>>> ('part_%010d' >>>> >>> hive> > '{LAYER_NAME}_{FIELD_VALUE}_%010d' >>>> >>> flat) --feature-limit >>>>>> >>>>> >>>>> >> >> >>>> --max-file-size >>>>>> >>>>>> >>>> (>>>>> MB >> GB >>>> >>>>>>> >>>) --omit-partitioned-field >>> >>>>>>> >>>>>>>>> >> >>>>> >>>> >>> --skip-errors >>>>>>>> >> >>>>> >>>>> >>>>> >>>>> >>>>>>>>> >>>>>>>: --if, --input-format >>>>>>>> >>>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] --oo, --open-option = >>>>>>>>> >>> >>>> [>>>>>>>>>] [>> >>>> >>>> >> >>>>> >>>>] >>>>>>> (DESCRIPTION) >>>>> gdal vector partition >>>>> >> >>>> >> >>>>>>> >> >> >>>>>>>>>>>> >> >>>>>>> >>>>>> >> >>>>> >>>>>>>> >>>> >>>>> >>>>>> >/>> >> >>>>> >>>> >> >>>> >>>>> >> >>>>>> >>>>> >>>>> >/>> >>>>>> >>>>>> >>>>> >> >>>>>>>> >>>>> >>>>> > >>>>> >>>>>>. >> >>> >>>>>>>>> >> >>>>> >>>: o hive> >>>>> >> Apache Hive partitioning> >> >>> >>>>>>> >>>. >> >>>> >>>>>>>>> >>>>>> >> >> >>>>>>>>> >> >> >> >>>. >>>>>>> >> >>>>>>> "continent" > "country" >> >> >>> >>>>>> >> >> >>>>> >>>>>>> >>>>>>>>> >>>>>> >>>>>>>. >>>> >>>>>> >> >> >>>>> "continent" >>>>> >> "Europe" > "country" >>>>> >> "France" >>>>>>> >>>> >> >>>>>>> "continent=Europe/country=France/" >> >>>>>>>>> >>>>> >>>>> >>>>>> >>. >>>>>> NULL >>>> >>>>>>> >>>>>>>>> >> >>>> __HIVE_DEFAULT_PARTITION__ >> >>> >>>> >>>>>>> >>>>>>>. >>>>>>>>> >>> ASCII> >>>>>> >>>>> >>>>>> >> >>>>>>>>>> >> >> >>>>>>>>>>> >>> >>>> >>>>>> >>>>>> >> >>>> >>>>> (Percent-encoding) >>>>>>> >>>>>>> (>>>> >>>>> %20 >>>> >>>>>). o flat >> >> >> >>>>>>> >>>>>>>> >> >>> >>>>>>>>> >>>>> >> >>>>>>> >> >> >>>>> >>> >>>> >>>>>>> {LAYER_NAME}_{FIELD_VALUE}_%10d >>>>> >>>>>>>. >> >>> >>>>>>>> >>> >>>> >>>>>>>>>>> >>>>> >>>> >>>>> >>>> > >>>>>> >>>>> >> >>>>> >>>>>>>> >>>> >>>> >>>> >>>> >>>>> >>>>>>> >>>>> >>. >> >>> >>> >>>>> >>>>> --format >>>> >>>> >>>. >>>>> gdal vector partition >>>>>>>> >> >>>>> >>>>> >>>>> >> >> >>>> (Pipeline) >>>>>>> >>>. >>>>>>>>> >>> >> >>>>> >>>>>: >>>>>>>>> >>>>>>> >>>>>> (PROGRAM-SPECIFIC OPTIONS) --feature-limit >>>>>> >>>>> >>>>> >> >> >>>>. >> >>> >>>>>>>> >>>>>>> >>>. >> >>>> >>>>> >>>> >> >>> >>> >>>>> >>>> (>>>) >>>>> >>>>>>. --field >>>>(>>>) >>>> >>>> >>>>>>>>>. >>> >>>>>>> >>>>>> >> >>> String> Integer > Integer64 >>>> >>>>>. >>>>> >>>> >>>> >>>>>> >> >>>>> >>>>>>>>>>> >>>>>>> >>>>> >>>>. >> >>>>> GDAL 3.13 >> >>>> >>>>>>> >>> >>>>>>> >>>>> >> >>> >>>> >>> (OGR_GEOMETRY >>> >>>>> >>>> >>>>>> >>>> >>>>> >>>). >>>>>>>>> >>> >>>>>>> >>>>> >> >>>> >>> >>>>> >>>>> >>>>>>. >>> >>>>> >>>> >>>>>>>> >>>>> >> >> >> >>>> >>>> >> >>> >>>>> >> >>>> >>>>>>>> >>>> >>>. >> >>>>> GDAL 3.13 >> >>>> >>>> >>>> --field >>>> >>>>>> >>>>> >>> >> >>>> >>> >>>>> >>> >>>> --feature-limit >/>> --max-file-size >>>> >>>>. --max-file-size >>>>>> >>>>>> >>>> (>>>>>>>> MB >> GB >>>> >>>>>>> >>>>>). >> >>> >>>>>>>> >>>>>>> >>>. >> >>>> >>>>> >>>> >> >>> >>> >>>>> >>>> >>>>> >>>>>>. >>>> >>>>> >>>>> >> >>>>>> >>>>>> >>>> >> >>>>> >> >>>>>> (Hint) >>>>>>> >>>>>> > >>>> >>> >>>>>> >>>>> >>>>> >>>> >>>>>>> >>>>>> >>>> >>>>>> >> >> >>>>> >> >>>>> >>>>>>> >>>>>>> (Heuristics) >>>> >>> >> >>>>>> >>> >>>> >> >>> >>>>> >> >>> >>>> >>>>>> >>>> >>>>>>> >>>>. >>>>>>>> >>> >>>>>>> >>>>>>> >>>>>>>> >>>>>>>>>> >> >>> >>>>>>>>>> >>>>>>>> >>>> >>>>>>>> >>>>>>>>>> >>>>>> >>>>> >> >>>> >>>>>>>> >> >>>>> >>>>>>> >> >> >>>>>>>> >>>>. --omit-partitioned-field >>>>> >>>>> >>> >>>>>>> >>>>>>>>> >> >>>>> >>>> >>>> >>> >>>> >> >>>. >>>> >>>> >>>>> Parquet > >>>>>>>>> Hive >> >>> >>>>>> >>>> >>>>>>. --output >>>> >>>>>>>>> >>>>>. [>>>>>>] --pattern >>>>> >>> >>>>. >> >>>> >> >>>>>> >>>>> >> >>>>>>>>>>>> >>>: o {LAYER_NAME}> >> >>>> >>>>> >> >>> >>>> >>>>>>> >>>>>> (>> >>>> >>>> >>>>>>> >>>>> >>>>>>). o {FIELD_VALUE}> >> >>>> >>>>> >> >>>>> >>>> >>>>>>>>> >>>>>>> >>>>>> (>> >>>> >>>> >>>>>>> >>>>> >>>>>>). >>> >> >>> >>>> >>>>>>>>> >>>>>>> >>>> >> >>>>> >> >>>>> (_) >>> >>>>>>. >>>>>>>> >>>> >> __EMPTY__ > >>>>>>> >>>> (Null) >> __NULL__ >>>>>>> >>>>>>>. o %[0?][0-9]?[0]?d: >>>>>>>>> >>> >>>> >> >>> >>>> C >>>> >>>>> >>>>. >>>>>> >>>>> >>>> >>>>> %d >> %05d >>>>>. >>>> >>>>>> >> > >>>> >> >>>>>>>>>> >>>>> >>>> >> >>>> >>>> >>>>> >>>>. >>>>>> >>>>>>> >>>> >>>> >>>>> >> part_%010d >>>> >>> hive> > {LAYER_NAME}_{FIELD_VALUE}_%010d >>>> >>> flat >>>. --scheme hive|flat >>> >>>>>>>>>. >>>>>>> hive >>>. >>>>>>>>> >>>>>>>>> (STANDARD OPTIONS) --append >>>>> >>>>> >>> >>>>>>>>> >>>>> >>>> >> >>>> >>>>> >>> >>> >> >>>. >>> >>> >>>>>> >> >>> >> >>>>>>>>> >> >>> >>>> >>>>> >>>> > >>>> >>>>> >>> >> >>>>> >>>>>>>> >>>. >>> >>>> >>>>> >>>>>> >>>>> >>>> >> >> >>>>>>>>>>> >>>>>>>>> >>>>> >>>> >>>. --co, --creation-option = >>>>>> >> >>>>>>> >> >> >>> >>>>> >>>>>>> >>>>> >>>>>>>>>>> >>>>> >> >>>>>>> >> >>>>> >>>> >>>>> >>>>>>>>> >>> >>>> >>>>>>>> >>>>>>> >>>. >>>> >>>>>> >>>>>> GeoPackage >> >>>>>>>>> >>>>> >>>> >>>>> >>>> >>>>>>>> >>>>>>. >>>>>>>> >>>>> >>>. >>>>>>>>> >>>>> >>>>>>>>>>> >>>> >> >>>>>> >>>> >>>>>> >>> > >>>> >>>>>>>> >>>> >>> >>>>> >>>>>> >>>>>>. >>>>>> >> >>>>>>>>> >>>>>>>>>>>> >>>> >> >>>> >> >>>>>>> >> >>>>> >> >>>>> --formats >>>>>> >>>> >>> >>>>>>> >>>>> >> >>>> >>>> >>>> >>>> >>>>>>> >>>>>> >>>>>>>>> >>>>> >>>>>> >>>. >>>> >>>>>>>>> >>>> >>>>> >> >>>>> >> >>>>>>> >>>>>>> >>>> >> Vector drivers >>>>>> >>>>. >>>> >>>>> >>>>> >> >>>>>>>>> >>>>> >>>>>>>>>>> >> >>>>>>>>> >>>>> >>>> >>>>>> >>>>>. --if, --input-format >>> >>>>/>>>>>> >>>> >>>> >>> >>> >>>> >>>>(>>>) >>>>>. >>>>>>> >>>>> >> >>>> >>>> >> >>>>> >>> >>>>>>> >> >> >>>> >>>>>>>> >> >>>>> >>>>>> >>>>>> >> >>>>>> >> >> >>>>>> >>>>>> >>>>> >>>>>> >>> >>>>>>> >>>. >>> >>>>> >>>>>>>> >>>>> >>> >>>>> >>> >> >>> >>>>>> >>>>> >>>> >>>>>. >>>> >>>>> >>>>> >> >>> >>>>> >> >>>>>>>> >> >>>>> >> >>> >>>> >>>>>>>>>>> >>>>>>>. >>>>>>>> >>>> >>>>>>>> >>>>>>>>>>>>> >>>>>> >>>>> >>>> >>>>>. >>>>>>>> >>>>> >>>. --lco, --layer-creation-option = >>>>>> >> >>>>>>> >> >> >>> >>>>> >>>>>>> >>>>> >>>> >>>>> >> >>>>>>> >> >>>>> >>>> >>>>> >>>>>>>>> >>> >>>> >>>>>>>> >>>>>>> >>>. >>>> >>>>>> >>>>>> GeoPackage >> >>>>>>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> >> >>> >>>> >>>>>> >>>>> >>>>> >> >>>>>>> > >>>> >>>>>>>> >>>>>>. >>>>>>>> >>>>> >>>. >>>>>>>>> >>>>> >>>> >>>>> >>>> >> >>>>>> >>>> >>>>>> >>> > >>>> >>>>>>>> >>>> >>> >>>>> >>>>> >>>>>>> >>>>>>. >>>>>> >> >>>>>>>>> >>>>>>>>>>>> >>>> >> >>>> >> >>>>>>> >> >>>>> >> >>>>> --formats >>>>>> >>>> >>> >>>>>>> >>>>> >> >>>> >>>> >>>> >>>> >>>>>>> >>>>>> >>>>>>>>> >>>>> >>>>>> >>>. >>>> >>>>>>>>> >>>> >>>>> >> >>>>> >> >>>>>>> >>>>>>> >>>> >> Vector drivers >>>>>> >>>>. >>>> >>>>> >>>>> >> >>>>>>>>> >>>>> >>>> >> >>>>>>>>> >>>>> >>>>>>>>>>> >>>>>> >>>>>. --oo, --open-option = >>>>> >>> >>>> >>>>>>>>>>> (>>>> >> >>>>). >>>>>>>> >>>>> >>>. -f, --of, --format, --output-format >>>>> >>>> >>>>>> >>>>> >>>> >>>>>>>. >>>>>> >>>> >> >>>>>>> >> >>>>> >>> >> >>> >>>>: gdal --formats | grep vector | grep rw | sort --overwrite >>>>> >>>> >> >>>>>> >>>> >>>>>>> >>> >>>> >> >>>>>>>>>>> >>>> >>>>>. >> >>> >>> >>>>> >> >>> >>>>>>>> >>> >>>> >> >>>>>>>>>>> >>>> >> >>> >>>> >>>>> >>>>> gdal >> >>> >>>>> >>>>>>. --skip-errors >>>>>> >>> >> >>>> 3.12. >>>>> >>>>> >>> >> >>>>>> >>>>> >> >>>>> >>>>>(>>) >>>>>>>> >>> >> >>>. >>>> >>>>> >>>>> >> >>> >>>>> >>>>>> >>>> >>>>>> >> >> >> >>>>> >> >> >>>> >>>>> >>>>>>> >> >>>> >>> >>>>> >>> >> >>>>>>>>>> >>>> >>>> >>>> >>>> >>>. >> >>>>> >>>>>>> (RETURN STATUS CODE) >>>>>> >> >>>> >>>>>> >> >>>>> 0 > >> >>>> >>>> >>> >>>>> >>>>>> >>>>>>>>>>> (>>>>>> >>>>>>>>>>>>> >> >> >>>> >>>>> >>>>> >>>>>>>> >> >>>>> >>>>> >>>>>>>>>>> >> >>> >>>>> >>>>>>>). >>>>>>> (EXAMPLES) >>>> >: >>>>> >> >>>>> >> >>>> >>>>>>> "continent" > "country" $ gdal vector partition world_cities.gpkg out_directory --field continent,country --format Parquet >>>> >: >>>>> >> >>>>> >> >>>> >>>> "country"> >> >>>>> >>> >>>>>> >> >>>>> >>> >> > >>>>>> >>>> >> >>> >>>>>>>>> >>>> (flat) $ gdal pipeline ! read world_cities.gpkg ! filter --where "pop > 1e6" ! partition out_directory --field country --format GPKG --scheme flat >>>> >: >>>>> >>>>> Shapefile> >>> >>>> >> >>> >>>>>> >> >> >>>> GeoPackage> >> >>>>>>>>> POLYGON/MULTIPOLYGON >> LINESTRING/MULTILINESTRING. $ gdal vector pipeline ! read input.gpkg ! set-geom-type --multi ! partition out_directory --scheme flat --field OGR_GEOMETRY --format "ESRI Shapefile" >>>> >: >>>>> >> >>>> >> >>>>>>>>> >> >>>>>> >>>>>>> >>>>>. $ gdal vector partition world_cities.gpkg out_directory --feature-limit 100000 --scheme flat --format Parquet >>>> >: >>>>>>>>> >>>>> >> >>>> > >>>>> >> >> >>>>>>>>> >> >>>>>> >>>>>>> >>>>>. $ gdal vector pipeline read world_cities.gpkg ! sort ! partition out_directory --feature-limit 100000 --scheme flat --format Parquet >>>>>>>>> (AUTHORS) Even Rouault >> >>> (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-VECTOR-PARTITION(1)