GoogleApi.VectorTile.V1.Model.Row (google_api_vector_tile v0.5.0) View Source

A row of altitude points in the elevation grid, ordered from west to east.

Attributes

  • altitudeDiffs (type: list(integer()), default: nil) - The difference between each successive pair of altitudes, from west to east. The first, westmost point, is just the altitude rather than a diff. The units are specified by the altitude_multiplier parameter above; the value in meters is given by altitude_multiplier altitude_diffs[n]. The altitude row (in metres above sea level) can be reconstructed with: a[0] = altitude_diffs[0] altitude_multiplier when n > 0, a[n] = a[n-1] + altitude_diffs[n-1] * altitude_multiplier.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.VectorTile.V1.Model.Row{altitudeDiffs: [integer()] | nil}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.