Magellan eXplorist: KML Import improvements

Minor improvements into KML to UPT conversion. As a bonus, here go points of interest in Amsterdam and Paris converted from bbs.keyhole.com‘s KMZ files:

What’s new in this build?

  • Updated: KML 2.x version files supported
  • Updated: Multiline descriptions converted into single like GPS descriptions

Application Name: Alax.Info Magellan eXplorist Tools
License: Free for personal use, request commercial licenses via email or contact form
Latest Version: 1.0.7
Download Link: Alax.Info Magellan eXplorist Tools 1.0.7 (312K)

Magellan eXplorist: $GPRMC, $GPGSA and timeouts

What’s new in this build?

  • Fixed: Error event on losing serial connection
  • New: More NMEA sentences interpreted: $GPRMC, $GPGSA
  • New: Timeout property and event for serial connection timeouts

Application Name: Alax.Info Magellan eXplorist Tools
License: Free for personal use, request commercial licenses via email or contact form
Latest Version: 1.0.6
Download Link: Alax.Info Magellan eXplorist Tools 1.0.6 (312K)

WTL CCommandBar and CPropertyShet bug: Windows unexpectedly freeze

Symptoms

When a wizard window (CPropertyShet) is popped up to the screen while CCommandBar’s popup menu is active, the windows lock up, as if SetCapture was called without pairing ReleaseCapture, until the application is reactivated using mouse after activating another application.

image003.png

Mispaired SetCapture is however not not called from command bar class directly, it is rather called from menu class. Dialogs and message boxes do not have the effect, when popped up menu is automatically closed before modal window appears on the screen.

Solution

The issue is being investigated.

To avoid the problem it is possible to check m_CommandBar.m_bMenuActive that indicates active TrackPopupMenu and avoid showing modal CPropertyShet until menu is complete.

WTL CCommandBarCtrlImpl bug: Assert is raised on right clicking command bar menu

Symptoms

When command bar menu item is right clicked, an assertion window is popped up (see below).

image001.png image002.png

Solution

Exiting in CCommandBarCtrlImpl::DoTrackPopupMenu right before assertion line seems to be fixing the problem.

return FALSE;
}

// HOTFIX: (Alax.Info) Avoid assert on right clicking the menu item
if(s_hCreateHook)
return FALSE;

ATLASSERT(s_hCreateHook == NULL);

Magellan eXplorist: Hot fixes

What’s new in this build?

  • Fixed: Support for KML Folders in imported KML waypoints file
  • Fixed: Support for international characters in imported KML waypoints file
  • Fixed: Wrong checksum codes in exported Magellan files

Application Name: Alax.Info Magellan eXplorist Tools
License: Free for personal use, request commercial licenses via email or contact form
Latest Version: 1.0.5
Download Link: Alax.Info Magellan eXplorist Tools 1.0.5 (310K)

Magellan eXplorist: Automation continuted

Automation continued to interpret basic NMEA-0183 sentences: $GPGSV, $GPGLL, $PMGNST.

Additionally to bugfixing and serial connection NMEA-0183 reader, this update provides a new COM object to parse and interpret several sequences raising an event on interpretation.

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Assumed Port: COM10

Input: $GPGSV,3,1,12,07,86,334,,24,81,116,,06,80,080,,21,51,220,*7D
Input: $GPGSV,3,2,12,10,34,063,,30,34,164,,16,28,310,,31,23,256,*72
Input: $GPGSV,3,3,12,05,18,159,,12,06,150,,02,05,055,,18,02,179,*79
Satellites: 12
1: PRN 7, Elevation 86.0, Azimuth 334.0, SNR 0.00
2: PRN 24, Elevation 81.0, Azimuth 116.0, SNR 0.00
3: PRN 6, Elevation 80.0, Azimuth 80.0, SNR 0.00
4: PRN 21, Elevation 51.0, Azimuth 220.0, SNR 0.00
5: PRN 10, Elevation 34.0, Azimuth 63.0, SNR 0.00
6: PRN 30, Elevation 34.0, Azimuth 164.0, SNR 0.00
7: PRN 16, Elevation 28.0, Azimuth 310.0, SNR 0.00
8: PRN 31, Elevation 23.0, Azimuth 256.0, SNR 0.00
9: PRN 5, Elevation 18.0, Azimuth 159.0, SNR 0.00
10: PRN 12, Elevation 6.0, Azimuth 150.0, SNR 0.00
11: PRN 2, Elevation 5.0, Azimuth 55.0, SNR 0.00
12: PRN 18, Elevation 2.0, Azimuth 179.0, SNR 0.00

Input: $PMGNST,02.03,2,F,875,04.9,-00096,20*5D
Software Version: 02.03
Fix: Type 2, Availability false
Battery: Level 87.6%, Hours: 4.9

Input: $GPGLL,5156.7875,N,01621.8208,E,204642.824,A*3B
Fix: Latitude 51.94645833333333, Longitude 16.36368, Time 22:46:42 UTC+0200, Active true

Continue reading →

Magellan eXplorist: Automation

A new (hopefully) iteration with Magellan eXplorist tools – an automation objects to script GPS data processing. The idea is to provide scriptable objects to access GPS data for various tasks from just logging into file to [the target is believable to be] publishing geolocation information in real time through Jabber/XMPP server in conformance with XEP-0080: User Geolocation.

Currently, it is a lower layer serial connection object to GPS communication port, AlaxInfo.MagExpToo.SerialConnection.

The script below prints GPS NMEA-0183 output to console:

C:\>cscript 01.js
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Assumed Port: COM10
Input: $GPGSV,3,1,12,07,87,031,,24,79,094,,06,77,089,,21,55,222,*71
Input: $GPGSV,3,2,12,10,33,059,,16,31,309,,30,30,164,,31,21,253,*7F
Input: $GPGSV,3,3,12,05,14,159,,18,05,178,,12,03,151,,02,02,056,*73
Input: $PMGNST,02.03,3,F,819,04.6,-00096,20*59
Input: $GPGSV,3,1,12,07,87,031,,24,79,094,,06,77,089,,21,55,222,*71
Input: $GPGSV,3,2,12,10,33,059,,16,31,309,,30,30,164,,31,21,253,*7F
Input: $GPGSV,3,3,12,05,14,159,,18,05,178,,12,03,151,,02,02,056,*73
Input: $PMGNST,02.03,3,F,819,04.6,-00096,20*59
...

Continue reading →