Archive: 2014/11/07

igotu2gpx

6月に調達したi-gotU GT-600

A320機内(PB035347.JPG)
11/03 18:06 SFJ A320機内にて

データの吸い上げは5年前のi-gotU GT-120以来、Windows版の@TripPC頼みだったのだが、とある徳の高いお方からMac OSやLinuxにも対応したigotu2gpxを教えて貰ったので、早速インストールした。

yano@GT110b:~$ sudo apt-get install qtchooser qt4-default libboost-program-options-dev libusb-dev
yano@GT110b:~$ wget https://launchpad.net/igotu2gpx/0.3/0.3.0/+download/igotu2gpx-0.3.0.tar.gz
yano@GT110b:~$ tar xvf igotu2gpx-0.3.0.tar.gz
yano@GT110b:~$ cd igotu2gpx-0.3.0
yano@GT110b:~/igotu2gpx-0.3.0$ qmake && make && sudo make install
ld: library not found for -lboost_program_options-mt

yano@GT110b:~/igotu2gpx-0.3.0$ sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_program_options.so /usr/lib/x86_64-linux-gnu/libboost_program_options-mt.so
libboost_program_options-mtが無いという事でlibrary not foundが出たが、代替ライブラリは無さそうなのでlibboost_program_options.soにシンボリックリンクを張って暫定対処。【追記】Ask Ubuntuによると
The -mt suffix had been removed. The installed Boost libraries are multi-threading safe.
という事なので「シンボリックリンクを張る」が正解のようだ。

機能的には以下のような感じ。

yano@GT110b:~/igotu2gpx-0.3.0$ igotu2gpx --help
Usage: igotu2gpx info|dump|clear|diff [OPTIONS...]

Options:
--action arg info: show GPS tracker configuration
dump: output trackpoints
clear: clear memory of the GPS tracker
diff: show configuration differences relative to an
image file
-d [ --device ] arg connect to the specified device (usb::
(Unix) or serial: (Windows))
-i [ --image ] arg read memory contents from file (saved by "dump --raw")
--gpx output in GPX format (this is the default)
--details output a detailed representation of all trackpoints
--raw output the memory contents of the GPS tracker (be sure
to redirect output to a file)
--segments for output in GPX format, group trackpoints into
segments instead of tracks
--utc-offset arg time zone offset in seconds
--help output this help and exit
--version output version information and exit
-v [ --verbose ] increase verbosity