Global Mapper Pro Coming Soon

Coloring track depending speed

darrepacdarrepac Global Mapper UserPosts: 10
Hello

I have tons of GPX track and I would like to color each track depending speed. How can I achieve that?

thx

Answers

  • 946946 Global Mapper User Posts: 166Trusted User
    One way could be this:


    Is this what you are after?
    2.JPG 291.5K
    1.JPG 312.5K
  • darrepacdarrepac Global Mapper User Posts: 10
    Thanks for your input.
    They are several problem with your solution:
    - first of all I don't have the speed as a feature (GPX file, since version 1.1, doesn't contain speed, it has to be calculated trackpoint per trackpoint
    - second, if I had speed, it seems like each track would have 1 speed and so 1 color, while I would like to color each with varying color depending speed.

    It would look like this for 1 track
    Conexiones WMS en CompeGPS - Foros de Montaa de Picos de Europa y  Cordillera Cantbrica
  • 946946 Global Mapper User Posts: 166Trusted User
    Ah, ok.
    You can do like this:

    Define the style as a custom dot shape 
    4.JPG 422.2K
  • darrepacdarrepac Global Mapper User Posts: 10
    Problem, I don't have speed as an attribute...

  • geomanniegeomannie Global Mapper User Posts: 234Trusted User
    I have done this is the past. It was convoluted and as I remember it involved flipping the GPX into a projected coordinate system (metres X & Y) & exporting the locations. I them opened the GPX file into Excel, appended the X & Y's in metres & calculated velocity by using the time diference between the points and the distance travelled between the points.

    I managed to make a series of points which I shaded by speed, exporting as a kmz file. I only did it once but if there was a need I would have improved the work flow. Maybe this gives you a clue to way ahead?
  • darrepacdarrepac Global Mapper User Posts: 10
    Well!! sounds like a heavy process while I have tons of GPX file.
    So seems it is not feasible straight so I will forget about it or use an other SIG
  • geomanniegeomannie Global Mapper User Posts: 234Trusted User
    There must be a easier way, but if you have Excel you could maybe write a script?
  • tikhpetrtikhpetr Posts: 77
    Hi!
    Maybe so? The archive contains pictures.

  • geomanniegeomannie Global Mapper User Posts: 234Trusted User
    tikhpetr said:
    Hi!
    Maybe so? The archive contains pictures.


    Hi, forgive me for being cautious, but I will not open a rar or zip file from a public forum. Do you have uncompressed?

    Thanks
  • tikhpetrtikhpetr Posts: 77
    Set the correct sequence by screnshots numbers. And then they booted up at random.
  • geomanniegeomannie Global Mapper User Posts: 234Trusted User
    Does not the GPX file you are using already have the calculated speed? The original question concerns when there is no speed data. How to calculate it.
  • tikhpetrtikhpetr Posts: 77
    Excuse me, here is the original. Don't be confused by the name. This is self-criticism. :)
    https://disk.yandex.ru/d/QG4p2CKdU-m9_Q
    For some reason, the forum does not load, I can only link.
  • tikhpetrtikhpetr Posts: 77
    Here is a screenshot of the track attribute table

    geomannie
  • darrepacdarrepac Global Mapper User Posts: 10
    I am currently sick but I will take a look in your answer later on. Thanks
  • geomanniegeomannie Global Mapper User Posts: 234Trusted User
    Hi tikhpetr,

    My mistake! I see that the vertices do indeed have the speed.

    Thanks for showing me,

    Cheers
  • tikhpetrtikhpetr Posts: 77
    geomannie
    Trivia! Happy to help.
    geomannie
Sign In or Register to comment.