Log in

No account? Create an account
Conversion Doh! - Nick [entries|archive|friends|userinfo]

[ website | gagravarr.org ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Conversion Doh! [Jan. 22nd, 2006|05:41 pm]
I now have v0.07 of nmea_info.py out, which does do the conversion to OS co-ordinates properly.

Ollie discovered this, which is javascript to convert between WGS84, OSGB36 and easting/northing values. I was able to add extra debugging into this, and track its progress against mine.

I then discovered that I was missing a bracket in one of the early steps, and so my calculated values slowly drifted away from what they should've been. Doh!

With the right brackets in place, my code started giving the correct values all the way through. I was then able to display them, and all was good :)

I still need to generate the 6 figure OS grid refs, but I think I'll leave that for the next version. I also still haven't got around to doing any more canvas-listbox testing, so I can't yet have a config prompt. Not sure if I'll get around to fixing that before I go skiing next weekend or not.

Oh, and in related news, I have a beta for GETrack 1.5. It has a number of cool updates, including native export to GPX, and showing info on recorded tracks. For just logging tracks, it beats nmea_info hands down....