An image representing the cost to traverse each pixel. Masked pixels can't be traversed. When comparing pixel traversal costs, we use band-wise dictionary ordering. Ancillary cost bands are only considered when paths over primary bands are equal cost.
source
Image
A single-band image representing the sources. A pixel value different from 0 defines a source pixel.
maxDistance
Float
Maximum distance for computation, in meters.
geodeticDistance
Boolean, default: true
If true, geodetic distance along the curved surface is used, assuming a spherical Earth of radius 6378137.0. If false, Euclidean distance in the 2D plane of the map projection is used (faster, but less accurate).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-13 UTC."],[[["Generates a cumulative cost map indicating the cost of reaching each pixel from the nearest source."],["Utilizes a cost image and a source image to calculate cumulative costs."],["Considers maximum distance and allows for both geodetic and Euclidean distance calculations."],["Output image bands correspond to cumulative costs over the input cost bands."],["Untraversable areas are represented by masked pixels in the cost image."]]],[]]