Skip to main content

getSoilImages

@nmi-agro/fdm-source


@nmi-agro/fdm-source / fdm-core/src / getSoilImages

Function: getSoilImages()

getSoilImages(fdm, principal_id, b_id_sampling): Promise<SoilImage[]>

Defined in: fdm-core/src/soil-image.ts:109

Retrieves all soil images for a given soil sampling event, with their annotations.

Parameters

fdm

PgDatabase

The FDM database instance.

principal_id

any

The ID of the principal requesting the data.

b_id_sampling

any

The ID of the soil sampling event.

Returns

Promise<SoilImage[]>

Array of soil images with nested annotations.