Skip to content

Create a service to request all active panorama with their sensors as node #18

@Benvii

Description

@Benvii

To deal with graphs we need to retreive all active panorama of a campaign and their corrected sensors datas.
We need a service that will request these data thought the panorama_extended view (OpenPathView/OPV_DBRest#53) and a mapper that transform these as "nodes".

Node model is the following :

node
x: number
y: number
z: number
id: string
data: object

Mapping should be the following one :

node path_node
x latitude // panorama.corrected_sensors.gps_pos[0]
y: number longitude // panorama.corrected_sensors.gps_pos[1]
z: number altitude // panorama.corrected_sensors.gps_pos[2]
id: string concat ids : "${panorama.id_panorama}-${panorama.id_malette}"
data: object { "path_node": {path_node object if it exists, null otherwise}, "panorama": {associated panorama object } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions