observation-js Documentation - v1.16.0
    Preparing search index...

    Interface TransectPayload

    The writable payload for creating or updating a transect.

    interface TransectPayload {
        uuid: string;
        type: "point" | "transect";
        observation_lists: TransectObservationListPayload[];
        start_date: string;
        start_time: string;
        end_date: string;
        end_time: string;
        geom: string | TransectGeom;
        notes?: string;
    }
    Index

    Properties

    uuid: string

    A UUID to uniquely identify this transect. Mandatory when using update (PUT).

    type: "point" | "transect"

    The transect type, either 'point' or 'transect'.

    observation_lists: TransectObservationListPayload[]

    A list of species groups that were counted.

    start_date: string

    The date the transect started (isoformat yyyy-mm-dd).

    start_time: string

    The time the transect started ("HH:MM").

    end_date: string

    The date the transect ended. Must be equal or greater than start_date.

    end_time: string

    The time the transect ended ("HH:MM").

    geom: string | TransectGeom

    Coordinates for the transect, as a GeoJSON Point/LineString or a WKT string. Only Point or LineString types are accepted. CRS used: WGS84.

    notes?: string

    Optional notes for the transect.