AprsParser.Types.Position (aprs v0.1.2)

View Source

Represents position data with latitude, longitude, and associated metadata.

Summary

Functions

Parse APRS lat/lon strings (e.g., "3339.13N", "11759.13W") into a map with latitude and longitude.

Return a map with latitude and longitude from decimal values.

Types

t()

@type t() :: %AprsParser.Types.Position{
  aprs_messaging?: term(),
  comment: term(),
  compressed?: term(),
  dao: term(),
  latitude: term(),
  longitude: term(),
  position_ambiguity: term(),
  symbol_code: term(),
  symbol_table_id: term(),
  timestamp: term()
}

Functions

from_aprs(lat_str, lon_str)

Parse APRS lat/lon strings (e.g., "3339.13N", "11759.13W") into a map with latitude and longitude.

from_decimal(lat, lon)

Return a map with latitude and longitude from decimal values.