pavelmachek (pavelmachek) wrote,
pavelmachek
pavelmachek

Viking for GPS track analyzing

I knew few web services that analyzed GPS data, to make pretty graphs of speed during time, etc... and long thought that I'll need to write something like that.

Well, it turns out, someone else already did, and result is called Viking. It can do openstreetmap/openaerialmap (SuSE version), and it can do transparency, so results look pretty well.

On a related note, I hacked tangogps a bit, and found out that POIs are indeed pretty easy to import with some sql scripting.

#!/bin/bash
gpsbabel -i gpx -o csv $1 /tmp/delme.csv
( while IFS=, read A B C; do
        echo -n 'INSERT INTO "poi" VALUES ('
        echo "'628450940673161107', $A, $B, 1.0, 0.0, 0.0, '$C', '', 3.0, 0.0, NULL,NULL,NULL,NULL,NULL);"
  done
) < /tmp/delme.csv | sqlite3 ~/.tangogps/poi.db
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment