Skip to main content

GeoPoint

Inherits from: object A class to represent a geographic point using latitude, longitude, and altitude. Attributes: latitude (float): Latitude in degrees. longitude (float): Longitude in degrees. altitude (float): Altitude in meters (e.g., above sea level).

to_dict

GeoPoint.to_dict() -> dict
Serialize to dictionary for JSON transfer
Returns
returns
dict

from_dict

GeoPoint.from_dict(data: dict) -> 'GeoPoint'
Deserialize from dictionary
Arguments
data (dict)
dict
required
No description provided.
Returns
returns
'GeoPoint'