Skip to main content

Crate rfham_geo

Crate rfham_geo 

Source
Expand description

Geographic data types and lookup services for RF-Ham libraries.

rfham-geo provides:

  • Grid systems (grid) — trait abstractions for identifier-based locator systems (e.g. Maidenhead / QTH, implemented in separate crates).
  • Geo-IP lookup (geoip) — map an IP address to location, locale, and ASN data via pluggable geoip::Provider implementations.

§Module overview

ModuleKey typesPurpose
gridgrid::GridIdentifier, grid::GridPolygon, grid::GridSystemLocator-grid trait abstractions
geoipgeoip::IpGeoData, geoip::ProviderIP-to-location resolution
geoip::providersgeoip::providers::GeoIpLookup, geoip::providers::NoOpConcrete provider implementations
errorerror::GeoError, error::GeoResultCrate-wide error and result types

§Features

  • std (default): enables standard-library support. Disable for no_std + alloc environments (note: the HTTP provider requires std).

Modules§

error
Error and result types for rfham-geo.
geoip
IP-to-location lookup types and the Provider trait.
grid
Trait abstractions for geographic grid locator systems.