getTransect()
function getTransect(
backend,
start,
end,
selectors,
options): Promise<TransectResult>;
Queries one scalar level along a line between two WGS84 positions.
Parameters
| Parameter | Type | Description |
|---|---|---|
backend | QueryBackend | Provider implementing the query backend contract. |
start | QueryPosition | Start [longitude, latitude] in degrees. |
end | QueryPosition | End [longitude, latitude] in degrees. |
selectors | ZarrSelectors | Scalar selectors applied to every sampled position. |
options | TransectQueryOptions | Sample count, concurrency, resolution, and cancellation options. |
Returns
Promise<TransectResult>