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

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.
  • heading (type: float(), default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.StreetViewPublish.V1.Model.Pose{
  accuracyMeters: number() | nil,
  altitude: float() | 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
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.