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
id
: A unique identifier for each location. This is a string value, created from the latitude and longitude if not explicitly provided.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.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.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.metadata
: An object containing any additional properties related to the location. This property is created from theadditional_properties
dictionary. It will contain as many properties as there are key-value pairs inadditional_properties
. The keys are strings, and the values are serialized representations ofAnyCloneableData
instances. Note that this property might not be present if theadditional_properties
dictionary is empty or not provided.
Last updated