api/rains/:id/computations/:id?format=map => RainComputationMap getMapData() => RainMeasure[]

Hierarchy (view full)

Constructors

Properties

date: Date
validity: number
id: string

Unique identifier for the node

version: string

Version string of the node

TYPE: string = 'rain-measure'

Accessors

Methods

  • Converts the node to a JSON object.

    Parameters

    • options: {
          removeValues?: boolean;
      } = {}
      • Optional removeValues?: boolean

    Returns {
        date: Date;
        validity: number;
        configurationAsJSON: string;
        values: number[] | IPolarMeasureValue[] | ICartesianMeasureValue[];
        id: string;
        links: Link[];
        version?: string;
    }

    A JSON object containing the node's data

  • Gets the count of links, optionally filtered by type.

    Parameters

    • Optional linkType: string

      Optional type of links to count

    Returns number

    The number of links