flopp / GpxTrackPoster

Create a visually appealing poster from your GPX tracks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no distance color

yeKcim opened this issue · comments

create_poster --output "/tmp/gpx_circular_test.svg" --athlete Anthony --year 2019 --type circular --special-distance 10 --special-distance2 15 --circular-rings

gpx_circular_test_90dpi

Everything is blue…

How should I use --special-distance argument? Is that a bug or a lack of understanding?

When I use --special colored some tracks are in yellow as expected

@yeKcim
Special distance is only for GitHub-drawer for now, I think I can raise a pr for this later.

Ah, I see want you want to do...

  1. you can use --special FILENAME to mark "special" tracks (e.g. official races, events, ...) - these are draw with the --special-color (yellow by default), all other tracks are draw with --track-color (blue)
  2. if you specify secondary colors (--track-color2, --special-color2) in addition to the primary colors (--track-color, --special-color), the actual track color is interpolated from the primary color to the secondary color based on each tracks length. So the shortest track is drawn with the primary color, the longest track is drawn with the secondary color, all other tracks are draw with a color in between.

thanks
On your README.md, paste the command you used near the pictures could be helpfull for newbies 😁