Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/geomag
Translate GPS location data to geo-magnetic data such as magnetic declination.
https://github.com/jifalops/geomag
Last synced: about 2 months ago
JSON representation
Translate GPS location data to geo-magnetic data such as magnetic declination.
- Host: GitHub
- URL: https://github.com/jifalops/geomag
- Owner: jifalops
- License: mit
- Created: 2019-07-15T08:00:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T03:19:03.000Z (over 3 years ago)
- Last Synced: 2023-08-20T22:14:24.469Z (over 1 year ago)
- Language: Dart
- Size: 563 KB
- Stars: 5
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![pub points](https://badges.bar/geomag/pub%20points)](https://pub.dev/packages/geomag)
# geomag
Translate GPS location data to geo-magnetic data such as magnetic declination.
The difference between true north and magnetic north is called magnetic declination.
It is different everywhere on Earth and even changes over time.
Every five years or so, a couple of governing bodies release coefficients data for
calculating the magnetic declination at a given lat/lng and time.[GeoMag] takes data from the World Magnetic Model Coefficients, [WmmCof],
to initialize. You can provide your own or use the bundled data, WMM-2015v2
from 09/18/2018. Use [calculate()] to process GPS coordinates into a
[GeoMagResult].Accuracy is roughly within 0.2 degrees of test values.
See http://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml and
https://www.ngdc.noaa.gov/geomag/WMM/wmm_rdownload.shtml.This is a port of the geomagJS package,
https://github.com/cmweiss/geomagJS.> Adapted from the geomagc software and World Magnetic Model of the NOAA
> Satellite and Information Service, National Geophysical Data Center.![screenshot.png](screenshot.png)