GPX Viewer

Description

GPX Viewer is a simple program to visualize a gpx file. It uses libchamplain and cairo for the plot.

It has the following features:

  • Show multiple GPX files.
  • Show waypoints and multiple tracks per gpx file.
  • Highlight selected track.
  • Show distance, duration, average, moving average, max speed, moving time and gps points.
  • Zooming
  • Smoothing of speed graph.
  • Highlighting points in speed graph on map.
  • Show time vs.  height graph, speed,  acceleration (hori/verti), distance, etc.
  • Playback of a track.
  • Show track on different types of maps (depends on support in libchamplain)

Screenshot

Credits

  • Art Work: Sebastian Kraft

Development

Now hosted on bzr (launchpad):  https://code.edge.launchpad.net/gpx-viewer

Requirments

  • automake 1.11
  • Gtk+-3.0  >= 3.0
  • Vala >= 0.14.x
  • libchamplain  >= 0.12.0
  • libxml2
  • libgdl-3.0

Download

0.3.0: gpx-viewer-0.3.0.tar.gz

0.2.0: gpx-viewer-0.2.0.tar.gz

0.1.2: gpx-viewer-0.1.2.tar.gz

0.1.0: gpxviewer-0.1.0.tar.gz

0.0.7: gpxviewer-0.0.7.tar.gz
0.0.6: gpxviewer-0.0.6.tar.gz
0.0.5 preview release: gpxviewer-0.0.5.tar.gz

From 2-7-09 libgoffice is no longer required.

73 Comments

  • nsm068
    June 6, 2011 - 2:40 pm | Permalink

    Hi,

    BZR worked a treat!! I am now able to launch the program and attempted to open a gpx file. I will have to play around to see how to use the application.

    One last question if I may, how do I get the maps to load? I can see my track and the altitude and speed etc, but the map portion is a grey screen.

    Thank you again for all your assistance.

    Regards,
    nsm068

  • June 6, 2011 - 4:03 pm | Permalink

    The map should automatically load in the background (this is done by libchamplain). (you can select what map should load in the preferences.(graph and map settings)) (switching maps might help triggering it to load).

  • nsm068
    June 7, 2011 - 5:32 am | Permalink

    Hello. Well trying to fix the map through libchamplain has broken my executable and now I have the same issue as before of the software appearing to start and then just disappear. I have tried all sorts of reinstalls and downloading a later version of libchamplain. I think my system is now confused! :)

    I may have to wait until this weekend if you get a chance to create the PPA.

    Cheers..
    nsm068

  • nsm068
    June 7, 2011 - 11:25 am | Permalink

    Hi QBall…

    I couldn’t resist and continued trying. I ran the gpx viewer from terminal and here is the error received. I have installed clutter in full with no errors and I saw it install the GLX drivers but perhaps its not the right ones. Any thoughts?

    Sorry to be taking up so much time, just very anxious to get this working.

    jseeman@ubuntu:~/Source/gpx-viewer-0.2.0$ gpx-viewer
    Xlib: extension “GLX” missing on display “:0.0″.

    (gpx-viewer:15964): Clutter-CRITICAL **: Unable to initialize Clutter: XServer appears to lack the required GLX support
    0
    (gpx-viewer:15964): Gpx.Viewer.Preferences-DEBUG: gpx-preferences.vala:45: Creating preferences
    (gpx-viewer:15964): Gpx.Viewer.Preferences-DEBUG: gpx-preferences.vala:54: Loading from: /home/jseeman/.config/gpx-viewer/config.ini

    (gpx-viewer:15964): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?

    (gpx-viewer:15964): Clutter-WARNING **: Unable to create a new stage: the glx backend does not support multiple stages.

    (gpx-viewer:15964): GLib-GObject-WARNING **: invalid (NULL) pointer instance

    (gpx-viewer:15964): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)’ failed
    Xlib: extension “GLX” missing on display “:0.0″.

    (gpx-viewer:15964): Clutter-CRITICAL **: Unable to find suitable GL visual.
    Xlib: extension “GLX” missing on display “:0.0″.
    Segmentation fault

    Regards,
    nsm068

  • June 7, 2011 - 11:26 am | Permalink

    to use gpx-viewer you need a working opengl. and it looks like that is failing for you.
    libchamplain needs that to “smoothly” show the map.
    (what videocard/drivers?)

  • nsm068
    June 7, 2011 - 11:46 am | Permalink

    Hello. My Macbook Pro has two graphic cards listed in its system profile:

    NVIDIA GeForce 9400M (PCI)
    NVIDIA GeForce 9600M GT (PCIe)

    Both show 256MB dedicated RAM.

    How can I show what driver the Linux guest is receiving from VMWare?

  • June 7, 2011 - 11:48 am | Permalink

    Did you install the vmware drivers in linux? (dunno if it is needed?) does glxgears work?

  • nsm068
    June 7, 2011 - 11:56 am | Permalink

    I have but it doesn’t configure successfully. The graphics however do appear to be installed its the file sharing that is not working. Here is the issue I have with VMWare tools.

    Creating a new initrd boot image for the kernel.
    update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic
    initctl: Job failed to start
    Unable to start services for VMware Tools

    Execution aborted.

    Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
    /dev/sr0 …

    It seems to be installed as my video drivers look better etc however there is definitely nothing in my /mnt/hgfs and I have two shares configured in my VMWare fushion settings.

    Would you rather we take this discussion offline via email? I am not fussed either way but didn’t want to clutter your blog. My email is nsm068@gmail.com

    Cheers..

  • nsm068
    June 7, 2011 - 12:21 pm | Permalink

    It doesn’t appear that glxgears works:

    jseeman@ubuntu:/$ glxgears -info
    Xlib: extension “GLX” missing on display “:0.0″.
    Error: couldn’t get an RGB, Double-buffered visual

  • nsm068
    June 13, 2011 - 10:14 am | Permalink

    HI,

    Just curious if you had a chance or still have plans to package the installation? I believe my issue lies with trying to run your program in VMware Fusion. I installed Ubuntu on a standalone laptop and was able to get the program to work.

    Given I have tried so many different combinations I am not sure my VM installation is at fault or if its the graphics card.

    I have been able to get glxgears working fine.

    Thank You
    nsm068

  • June 13, 2011 - 10:19 am | Permalink

    We tried to get a daily PPA building: https://launchpad.net/~gpx-viewer-team/+archive/daily
    For now only the natty packages works.

  • Nicolò
    June 18, 2011 - 4:36 pm | Permalink

    Hi. I like your software, but is there an easy way to allow it to load non-osm maps? (not online, but offline topos)?

    Thankyou

  • August 3, 2011 - 7:29 am | Permalink

    Hi…

    Not sure which is at fault, but I seem to be getting a crash in gpx-viewer 0.2.0 if I change the zoom or pan the map while it is loading. gpx-viewer and libchamplain have been compiled with CFLAGS=CXXFLAGS=”-O2 -pipe -g”.

    I get the following with the command:
    $ gdb –batch -ex ‘run’ -ex ‘bt full’ –args gpx-viewer 2011-08-03_09-59_2268.gpx.xz

    If you’re interested, the offending GPX file is here: http://www.longlandclan.yi.org/~stuartl/tracklog/2011-08-03_09-59_2268.gpx

    [Thread debugging using libthread_db enabled]
    (gpx-viewer:3326): Gpx.Viewer.Preferences-DEBUG: gpx-preferences.vala:45: Creating preferences
    (gpx-viewer:3326): Gpx.Viewer.Preferences-DEBUG: gpx-preferences.vala:54: Loading from: /home/stuartl/.config/gpx-viewer/config.ini
    (gpx-viewer:3326): GPX PARSER-DEBUG: gpx-parser.vala:511: Close_file()
    [New Thread 0x7fffe41b0700 (LWP 3329)]
    [New Thread 0x7fffe362c700 (LWP 3330)]
    ** (gpx-viewer:3326): DEBUG: Graph mode switched: 0

    ** (gpx-viewer:3326): DEBUG: STATE: done.
    ** (gpx-viewer:3326): DEBUG: STATE: loading.
    ** (gpx-viewer:3326): DEBUG: map_view_source_changed: osm-cyclemap
    ** (gpx-viewer:3326): DEBUG: STATE: done.
    ** (gpx-viewer:3326): DEBUG: STATE: loading.
    ** (gpx-viewer:3326): DEBUG: STATE: done.
    ** (gpx-viewer:3326): DEBUG: STATE: loading.
    ** (gpx-viewer:3326): DEBUG: STATE: done.
    ** (gpx-viewer:3326): DEBUG: STATE: loading.
    ** (gpx-viewer:3326): DEBUG: size: 1244 – 740

    ** (gpx-viewer:3326): DEBUG: size: 1244 – 740

    ** (gpx-viewer:3326): DEBUG: size: 1244 – 740

    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:360: Updating surface
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:441: Draw Axis
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:443: Max speed: 50.000000, elapsed_time: 3412.000000
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:466: Draw grid lines
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:487: Set speed tick: 50.0
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:487: Set speed tick: 40.0
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:487: Set speed tick: 30.0
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:487: Set speed tick: 20.0
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:487: Set speed tick: 10.0
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    ** (gpx-viewer:3326): DEBUG: gpx-graph.vala:589: test123
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:646: Draw graph
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:00
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:04
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:08
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:12
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:16
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:20
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:24
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:28
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:32
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:36
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:40
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:44
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:48
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:667: Set time tick: 00:52
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:685: Draw average speed line @ 11.30 km/h
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:695: Draw moving average speed line @ 13.46 km/h
    (gpx-viewer:3326): GPX_GRAPH-DEBUG: gpx-graph.vala:708: Set graph title: Speed (km/h) vs Time (HH:MM) (smooth window: 10)
    ** (gpx-viewer:3326): DEBUG: STATE: done.
    ** (gpx-viewer:3326): DEBUG: STATE: loading.
    ** (gpx-viewer:3326): DEBUG: size: 1244 – 740

    ** (gpx-viewer:3326): DEBUG: STATE: done.
    ** (gpx-viewer:3326): DEBUG: STATE: loading.

    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff49e8638 in ?? () from /lib64/libc.so.6
    #0 0x00007ffff49e8638 in ?? () from /lib64/libc.so.6
    No symbol table info available.
    #1 0x00007ffff49eade0 in malloc () from /lib64/libc.so.6
    No symbol table info available.
    #2 0x00007ffff51c3665 in g_malloc (n_bytes=2) at gmem.c:164
    mem = 0x7ffff4cd4ee8
    #3 0x00007ffff51dce59 in g_strndup (str=0x956dd1 “/#X#/#Y#.png”, n=1) at gstrfuncs.c:166
    new_str = 0×0
    #4 0x00007ffff51dcf4b in g_strsplit (string=0x956da0 “http://andy.sandbox.cloudmade.com/tiles/cycle/#Z#/#X#/#Y#.png”, delimiter=0x7ffff77c53cc “#”, max_tokens=17) at gstrfuncs.c:2435
    string_list = 0x63d860
    slist =
    str_array =
    s =
    n =
    remainder = 0x956dd1 “/#X#/#Y#.png”
    __PRETTY_FUNCTION__ = “g_strsplit”
    #5 0x00007ffff77b8664 in ?? () from /usr/lib64/libchamplain-0.6.so.0
    No symbol table info available.
    #6 0x00007ffff77a9f85 in ?? () from /usr/lib64/libchamplain-0.6.so.0
    No symbol table info available.
    #7 0x00007ffff51b9f62 in g_main_dispatch (context=0x65d2e0) at gmain.c:2441
    dispatch = 0x7ffff51b7cc0
    user_data = 0x8339f0
    callback = 0x7ffff77a9f40
    cb_funcs = 0x7ffff54895f0
    cb_data = 0×833610
    current_source_link = {data = 0x960e10, next = 0×0}
    source = 0x960e10
    current = 0x8006c0
    i = 3
    #8 g_main_context_dispatch (context=0x65d2e0) at gmain.c:3014
    No locals.
    #9 0x00007ffff51be628 in g_main_context_iterate (context=0x65d2e0, block=, dispatch=, self=) at gmain.c:3092
    max_priority = 100
    timeout = 0
    some_ready = 1
    nfds = 9
    allocated_nfds = -182668064
    fds =
    __PRETTY_FUNCTION__ = “g_main_context_iterate”
    #10 0x00007ffff51beb35 in g_main_loop_run (loop=0xaf4c50) at gmain.c:3300
    self = 0×625220
    __PRETTY_FUNCTION__ = “g_main_loop_run”
    #11 0x00007ffff6798ec7 in IA__gtk_main () at gtkmain.c:1256
    tmp_list = 0×0
    functions = 0xb7e660
    init = 0xaf5fd0
    loop =
    #12 0x00000000004152b5 in main (argc=2, argv=0x7fffffffd828) at src/gpx-viewer.c:1815
    i = 2
    context =
    error = 0×0

  • August 3, 2011 - 7:55 am | Permalink

    yeah, libchamplain is very unstable for me ATM. this is also why development kind of halted.

  • codo
    September 18, 2011 - 10:28 pm | Permalink

    Very interesting program. I hope that development will restart one day.

  • Edward
    December 21, 2011 - 11:58 am | Permalink

    Qball, have you tried updating to newest libchamplain 0.12.0, or filing a bug on their side ? You seem to be on 0.8.0 still. they do mention not having updated the vala bindings though…
    Too bad, GPX-Viewer is slightly most advanced than similar software.

    BTW, I haven’t manage to compile latest trunk yet, even after finding packages for libgdl-1 (not on ubuntu repositories anymore). Log is here: http://pastebin.com/sfcZQT7D

  • December 21, 2011 - 12:02 pm | Permalink

    Isn’t the newest libchamplain for gtk3? gpx-viewer is still 2. I tried to quickly convert it, but I couldn’t get it done in time so it stalled again. Still hoping somebody will lend a hand.

  • Edward
    December 25, 2011 - 7:11 pm | Permalink

    You are right, but compiling it for gtk2 seems easy : “Even though libchamplain uses GTK 3 now, it’s pretty easy to make it use GTK 2 instead – see the patch in the attachment. So if linux distributions still use GTK 2 and want to use libchamplain 0.10, they can do so by applying the patch.” ( from http://mail.gnome.org/archives/libchamplain-list/2011-April/msg00004.html )

  • December 25, 2011 - 9:09 pm | Permalink

    yeah, but what use is it if distros ship the gtk3 version.

  • Pingback: Programas gratuitos para GPS no Linux « Geoprocessamento para Linux

  • June 10, 2012 - 5:46 pm | Permalink

    Has anybody manager to install gpx-viewer on Fedora?

    I managed to do it on Fedora 12 and 14, but can’t compile it on Fedora 17.

    I get these errors:

    [valent@hpmini gpxviewer-0.1.0]$
    checking for modules… configure: error: Package requirements (
    gtk+-2.0 >= 2.16
    champlain-gtk-0.3 >= 0.3.3
    champlain-0.3 >= 0.3.3
    gmodule-2.0
    libxml-2.0
    ) were not met:

    No package ‘champlain-gtk-0.3′ found
    No package ‘champlain-0.3′ found

    [valent@hpmini gpx-viewer-0.1.2]$
    checking for modules… configure: error: Package requirements (
    gtk+-2.0 >= 2.16
    champlain-gtk-0.3 >= 0.3.3
    champlain-0.3 >= 0.3.3
    gmodule-2.0
    libxml-2.0
    ) were not met:

    No package ‘champlain-gtk-0.3′ found
    No package ‘champlain-0.3′ found

    [valent@hpmini gpx-viewer-0.2.0]$
    checking for modules… configure: error: Package requirements (
    gtk+-2.0 >= 2.16
    champlain-gtk-0.4 >= 0.4.3
    champlain-0.4 >= 0.4.3
    gmodule-2.0
    libxml-2.0
    gdl-1.0
    unique-1.0
    ) were not met:

    No package ‘champlain-gtk-0.4′ found
    No package ‘champlain-0.4′ found
    No package ‘gdl-1.0′ found

    So as you can see I tried gpx-viewer versions 0.1.0, 0.1.2 and 0.2.0

    I have these packages installed:

    # yum install libchamplain libchamplain-devel champlain champlain-devel
    Loaded plugins: langpacks, presto, refresh-packagekit
    Package libchamplain-0.12.2-1.fc17.i686 already installed and latest version
    Package libchamplain-devel-0.12.2-1.fc17.i686 already installed and latest version
    No package champlain available.
    No package champlain-devel available.

    Any suggestions?

    I had this post on my blog, but it is not valid any more:
    http://kernelreloaded.blog385.com/index.php/archives/gpx-viewer/

  • June 10, 2012 - 6:00 pm | Permalink
  • Manuel
    August 18, 2012 - 4:10 pm | Permalink

    Hi,
    thanks for the great program. Sadly it doesn’t work for me. I compiled and installed it (version 0.3.0) successfully on Fedora 16 64bit Linux. It starts without problems, but it doesn’t show me any maps or loaded paths. Were the map should be I only can see a box with a red cross in it. Any hints?

    Internet connection is fine, also glxgears runs fine.

    Thanks in advice and best regards,
    Manuel

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>