Closed sp2ong closed 5 years ago
Hi @sp2ong, there isn't a function to do it. Here is the relevant code:
Thank you for replay. I have try use
import aprslib from aprslib import base91
lat = 90 - (base91.to_decimal("5303.52N") / 380926.0) print lat
but result is strange:
-2740265826.18
That is not compressed. That is just degrees, minutes and direction. There is no convenient function available to convert them to decimal format. The relevant code is here:
Ok, thank you for repaly
How to use aprslib to convert compressed coordinates to decimal format?
lat=aprslib.xxxxx("4903.50N") long=aprslib.xxxx("07201.75W")