[Xastir] MGRS/Maidenhead grid squares.

Curt, WE7U archer at eskimo.com
Mon Jan 10 16:35:02 EST 2005


On Mon, 10 Jan 2005, Curt, WE7U wrote:

> Does it also have the same error using the Map->Coordinate
> Calculator?  I'm getting JO99xx with 59.999N/20E, and KP00aa with
> 60N/20E.  The first one doesn't jive with your data above.
>
> It looks like there might be two sections of code in Xastir that do
> the Maidenhead calculation.  At least it doesn't look like the
> Coordinate Calc version of code is used to update the "text2"
> widget on the status line, so there must be more code to do that
> part.

Never mind:  The same function (util.c:sec_to_loc) is used for both.
It looks likely that rounding errors are the cause.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list