View Source GoogleApi.StreetViewPublish.V1.Model.Pose (google_api_street_view_publish v0.20.0)

Raw pose measurement for an entity.

Attributes

  • accuracyMeters (type: number(), default: nil) - The estimated horizontal accuracy of this pose in meters with 68% confidence (one standard deviation). For example, on Android, this value is available from this method: https://developer.android.com/reference/android/location/Location#getAccuracy(). Other platforms have different methods of obtaining similar accuracy estimations.
  • altitude (type: float(), default: nil) - Altitude of the pose in meters above WGS84 ellipsoid. NaN indicates an unmeasured quantity.
  • gpsRecordTimestampUnixEpoch (type: DateTime.t, default: nil) - Time of the GPS record since UTC epoch.
  • heading (type: float(), default: nil) - The following pose parameters pertain to the center of the photo. They match https://developers.google.com/streetview/spherical-metadata. Compass heading, measured at the center of the photo in degrees clockwise from North. Value must be >=0 and <360. NaN indicates an unmeasured quantity.
  • latLngPair (type: GoogleApi.StreetViewPublish.V1.Model.LatLng.t, default: nil) - Latitude and longitude pair of the pose, as explained here: https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng When creating a Photo, if the latitude and longitude pair are not provided, the geolocation from the exif header is used. A latitude and longitude pair not provided in the photo or exif header causes the photo process to fail.
  • level (type: GoogleApi.StreetViewPublish.V1.Model.Level.t, default: nil) - Level (the floor in a building) used to configure vertical navigation.
  • pitch (type: float(), default: nil) - Pitch, measured at the center of the photo in degrees. Value must be >=-90 and <= 90. A value of -90 means looking directly down, and a value of 90 means looking directly up. NaN indicates an unmeasured quantity.
  • roll (type: float(), default: nil) - Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 means level with the horizon. NaN indicates an unmeasured quantity.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StreetViewPublish.V1.Model.Pose{
  accuracyMeters: number() | nil,
  altitude: float() | nil,
  gpsRecordTimestampUnixEpoch: DateTime.t() | nil,
  heading: float() | nil,
  latLngPair: GoogleApi.StreetViewPublish.V1.Model.LatLng.t() | nil,
  level: GoogleApi.StreetViewPublish.V1.Model.Level.t() | nil,
  pitch: float() | nil,
  roll: float() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.