geo-registry

gdal raster neighbors

How GDAL runs Focal Statistics: gdal raster neighbors.

About this implementation
Engine GDAL
Tool name gdal raster neighbors
Interface cli
Implements Focal Statistics
Preset {"kernel":"equal"}
Documentation https://gdal.org/programs/gdal_raster_neighbors.html
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
input-format string_list no Not stated Not stated Not stated
open-option string_list no Not stated Not stated Not stated
input dataset_list yes Not stated Not stated raster dataset
output-format string no Not stated Not stated Not stated
creation-option string_list no Not stated Not stated Not stated
overwrite boolean no no Not stated exclusive group overwrite-append
append boolean no no Not stated exclusive group overwrite-append
band integer no Not stated Not stated Not stated
method string_list no Not stated mean, sum, min, max, stddev, median, mode Not stated
size integer no Not stated Not stated from 3 to 99
kernel string_list yes Not stated Not stated Not stated
output-data-type string no Float64 UInt8, Int8, UInt16, Int16, UInt32, Int32, UInt64, Int64, CInt16, CInt32, Float16, Float32, Float64, CFloat32, CFloat64 Not stated
nodata string no Not stated Not stated Not stated
output dataset yes Not stated Not stated input and output; raster dataset

How it maps to the operation

Operation parameter Parameter here Note
raster input Not stated
output output Not stated
statistic method mean = mean; sum = sum; min = min; max = max; median = median; std = stddev
size size Not stated

Differences from the operation

  • kernel is required; equal (all weights 1) gives the plain window statistic.
  • kernel gives other weights (a Gaussian, edge detection) or a custom matrix.

Harvested by the gdal harvester from engine version 3.13.3. Names can change when an engine is harvested again.