Skip to content

no distance color #43

Open
Open

Description

@yeKcim

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

Activity

  1. yihong0618 commented on Jan 16, 2020

    @yihong0618
    Contributor

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

  2. flopp commented on Jan 17, 2020

    @flopp
    Owner

    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.
  3. yeKcim commented on Jan 17, 2020

    @yeKcim
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions