GDAL-RASTER-PROXIMITY(1) GDAL GDAL-RASTER-PROXIMITY(1) (NAME) gdal-raster-proximity - 3.12. (SYNOPSIS) : gdal raster proximity [] . : -i, --input [] [ ] -o, --output [] [ ] : -h, --help --json-usage JSON --config = [] -q, --quiet ( ) [ ] : -f, --of, --format, --output-format ( "GDALG" ) [ ] --co, --creation-option = [] [ ] --overwrite [ ] --append --append [ ] --overwrite --ot, --datatype, --output-data-type . OUTPUT-DATA-TYPE=UInt8|Int8|UInt16|Int16|UInt32|Int32|UInt64|Int64|CInt16|CInt32|Float16|Float32|Float64|CFloat32|CFloat64|Byte|UInt16|Int16|UInt32|Int32|Float32|Float64 (: Float32) -b, --band ( 1) --target-values [] --distance-units . DISTANCE-UNITS=pixel|geo (: pixel) --max-distance . nodata (: 0) --fixed-value ( ) (: 0) --nodata nodata : --if, --input-format [] [ ] --oo, --open-option = [] [ ] (DESCRIPTION) gdal raster proximity . . gdal raster pipeline . 3.12. GDALG ( / ) JSON GDALG . GDALG: GDAL Streamed Algorithm (On-the-fly) (Streamed) . : . . (PROGRAM-SPECIFIC OPTIONS) -b, --band ( 1) --distance-units . geo ( ) . . --fixed-value --max-distance . --max-distance . NoData . --distance-units geo . --nodata NoData . NoData . NoData 65535 . --target-values . . (STANDARD OPTIONS) --append . GTiff -- GeoTIFF File Format GPKG -- GeoPackage raster. . --co, --creation-option = . GeoTIFF . . . --formats . Raster drivers . --if, --input-format / () . . . . . . --oo, --open-option = ( ). . -f, --of, --format, --output-format . : gdal --formats | grep raster | grep rw | sort --ot, --datatype, --output-data-type Byte Int8 UInt16 Int16 UInt32 Int32 UInt64 Int64 CInt16 CInt32 Float32 Float64 CFloat32 CFloat64. --overwrite . gdal . (RETURN STATUS CODE) 0 ( ). (EXAMPLES) $ gdal raster proximity --max-distance 3 input.tif output.tif (AUTHORS) Alessandro Pasotti (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-RASTER-PROXIMITY(1)