Location

Introduction

Location is a data structure used to capture the geographical coordinates and meta data of a specific location. This will include latitude, longitude, and optionally altitude. An id will be assigned to the location if one is not set when the location is created. In addition, the location can hold meta data

Underlying data

  1. id: A unique identifier for each location. This is a string value, created from the latitude and longitude if not explicitly provided.

  2. latitude: The exact geographic coordinate specifying the north-south position of a location on the Earth's surface. This is a numeric value represented as a Double.

  3. longitude: The exact geographic coordinate specifying the east-west position of a location on the Earth's surface. This is a numeric value represented as a Double.

  4. altitude: The height of the location above sea level. This is an optional numeric value represented as a Double. If no altitude is provided or is not relevant, this property may not be present.

  5. metadata: An object containing any additional properties related to the location. This property is created from the additional_properties dictionary. It will contain as many properties as there are key-value pairs in additional_properties. The keys are strings, and the values are serialized representations of AnyCloneableData instances. Note that this property might not be present if the additional_properties dictionary is empty or not provided.

Last updated