GDAL-RASTER-AS-FEATURES(1) GDAL GDAL-RASTER-AS-FEATURES(1) >>> (NAME) gdal-raster-as-features - >>>>> >>>>>>>>>> >>>> >>>>> >>>>>>>>> >> >>>> >> >>>>> 3.12 >>>>> >>. >>>>> >>>>> (SYNOPSIS) Usage: gdal raster as-features [OPTIONS] Create features from pixels of a raster dataset Positional arguments: -i, --input Input raster datasets [required] [not available in pipelines] -o, --output Output vector dataset [required] [not available in pipelines] Common Options: -h, --help Display help message and exit --json-usage Display usage as JSON document and exit --config = Configuration option [may be repeated] Options: -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] --output-layer Output layer name [not available in pipelines] -b, --band Input band(s) (1-based index) [may be repeated] --geometry-type Geometry type. GEOMETRY-TYPE=none|point|polygon (default: none) --skip-nodata Omit NoData pixels from the result --include-xy Include fields for cell center coordinates --include-row-col Include columns for row and column 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] >>>>>>> (DESCRIPTION) >>>>> gdal raster as-features >>>>>>>>>> >>>>> >>>>>> >> >>>>>> >>>>>>>> >> >> >>>>>>>>>>> >>>> >>>>>. >>>>>>>> >>>>>>>>> >> >>>> >>>>>>> (polygon)> >>>> (point) >> >>>> >>> >>>>>>>> >>>>> >>>>. >>>>>> gdal raster polygonize> >>>>>>>>> >>>>> >> >>>>>> >>>>> >> >>>>>> >>>>> >>>>>>>>. >>> >>>>>>>> >>>>>>>> >>>> >> >> gdal pipeline >>>>. >>>>>>>>> >>>>>>> >>>>>> (PROGRAM-SPECIFIC OPTIONS) -b, --band >>>>>>>> >> >>>>> >>>>>> >> >>>>>> >>>>> >>>>> >>>> >> >>>>> >>>>>>> >>>>>>>>> >>>>>>>> >>>>> >>>>. >> >>> >>>>>>>> >>>>>> >>>> >>>> >>>>>> >>>>> >>>>>> >>. --geometry-type >>> >>>>> >>>>>>>>> >>>>>>>> >> >>>>> >>>>>>. >>>>>>>>> >>>>>>> >>>>>>> >> "none" (>>>>>>>)> "point"> >> "polygon". --include-row-col >> >>>> >>>>>> >>>>>>> ROW > COL >>>>> >> >>>>>> >>>>>>> >>>>> >>>>>> >>. --include-xy >> >>>> >>>>>> >>>>>>> CENTER_X > CENTER_Y >>>>> >> >>>>>> >>>> >> >>>>> >>>>> >>>>>> >>. --output-layer >>>> >>>> >>>> >>>>>> >>>>> >>>>> >>>>>>. >>>>> >>>>>>> "pixels" >>>. --skip-nodata >> >>>> >>>>>> >>> >>>>>>>> >>>> >>>>>>>>> >>>>> >>>>> NoData >>>>> >>>>>> >>. >>>>>>>>> >>>>>>>>> (STANDARD OPTIONS) --append >>>>> >>>>>> >> >>> >>>>>> >>>>>>>> >> >>>>(>>>) >>>>> >>>> >>> >> >>>. >>> >>>>> >>>>>> >>>>>>>>>>> >>>>> >> >> >>>>> >> >>>> >>>> >>>>>> >>>>> >>>>> >>>>>>. --co, --creation-option = >>>>>> >> >>>>>>> >> >> >>> >>>>> >>>> >>>>>>> >>>>> >> >>>>>>> >> >>>>> >>>> >>>>> >>>>>> >>>> >>>>>>>> >>>>>>> >>>. >>>> >>>>>> >>>>>> GeoTIFF >> >>>>>>>>> >>>> >>>> >>>>> >>>>>>>>>> > >>>>>>>>> >>>> >> >>>>> >>>> >>>>>>>> >>>>>>. >>>>>>>> >>>>> >>>. >>>>>>>>> >>>> >>>>> >>>> >> >>>>>> >>>> >>>>>> >>>>> > >>>> >>>>>>>> >>>> >>>>> >>>>> >>>>> >>>>>>. >>>>>> >> >>>>>>>>> >>>>>>>>>>>> >>>> >> >>>> >> >>>>>>> >> >>>>> >> >>>>> --formats >>>>>> >>>> >>> >>>>>>> >>>> >>>> >>>> >>>> >>>>>>> >>>>>> >>>>>>>>> >>>> >>>>>> >>>. >>>> >>>>>> >>>>>>>>> >>>> >>>> >> >>>>> >> >>>>>>> >>>>>>> >>>> Raster 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 --output-open-option, --output-oo = >> >>>>> 3.12 >>>>> >>. >>>>> >>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>>> (>>>>> >> >>>>). >>>>>>>> >>>>> >>>. --overwrite >> >>>>>> >>>>> >>>>>> >> >>>> >> >>>>>>>>>>> >>>> >>>>> >> >>>>>>>> >>>. >> >>> >>> >>>>> >>>>>> >>>>>>>> >>> >>>> >> >>>>>>>>>>> >>>> >> >>> >>>> >>>>> >>>>> gdal >> >>> >>>>> >>>>>>. --overwrite-layer >>>>> >>>>>> >> >>> >>>>>>>> >>>> >>>>>> >>>>> >>>>> >>>> >>> >> >>>. --update >>>>> >>>>>> >> >>> >>>>>>>>>>> >>>>> >>>>> >> >>>> >>>>>>>>>>> >>> >>> >> >>>. >>>>> >>>> (EXIT STATUS) >>> >>>>>> >> >>>> >>>>>> >> >>>>> 0 > >> >>>> >>>> >>> >>>>>> >>> >>> >>>>>>>>>>> (>>>>>> >>> >>>>>>>>>> >> >> >>>> >>>>> >>>> >>>>>>> >> >>>>> >>>>> >>>> >> >>> >>>>> >>>>>>>). >>>>>>> (EXAMPLES) >>>> >: >>>>> >>>> >> >>>> >>>>>>>>>> >> >>>>> >>>> >> >>> gdal pipeline read input.tif ! reclassify -m "[-inf, 150)=1; DEFAULT=NO_DATA" ! as-features --geometry-type point --skip-nodata ! write out.shp >>>> >: >>>>> >> >>>> >>>>>>> >> >>> >>>> >> >> >>>>>>> > >>>>>>> >>>>> >>>>>> gdal pipeline create --bbox -180,-90,180,90 --size 360,180 ! as-features --geometry-type polygon ! write grid.shp >>>>>>>>> (AUTHORS) Dan Baston >>>>>>>> > >>>>> (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-RASTER-AS-FEATURES(1)