Skip to main content

getFullTransect()

function getFullTransect(
backend,
start,
end,
selectors,
options): Promise<FullTransectResult>;

Queries all elevation levels along a line between two WGS84 positions.

Parameters​

ParameterTypeDescription
backendQueryBackendProvider implementing the query backend contract.
startQueryPositionStart [longitude, latitude] in degrees.
endQueryPositionEnd [longitude, latitude] in degrees.
selectorsZarrSelectorsSelectors applied to dimensions other than elevation.
optionsTransectQueryOptionsSample count, concurrency, resolution, and cancellation options.

Returns​

Promise<FullTransectResult>

Throws​

If the dataset has no queryable elevation dimension.