A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tkrajina/gpxchart below:

tkrajina/gpxchart: A command-line tool and library for elevation charts from GPX files.

A command-line tool and library for elevation charts from GPX files.

Install Golang and:

go install github.com/tkrajina/gpxchart/cmd/gpxchart@latest
pxchart [option] in_file.gpx out_file.png
gpxchart [option] in_file.gpx out_file.svg

Usage of gpxchart:
  -cp string
        Chart padding (left,down,right,up) (default "20,5,20,10")
  -d    Debug
  -f string
        Both axes font size (x,y) (default "8,8")
  -g string
        Grid lines (x,y) (default "0,0")
  -help
        Help
  -im
        Use imperial units (mi, ft)
  -l string
        Labels (x,y) (default "0,0")
  -lw float
        Line width (default 0.5)
  -p string
        Padding (left,down,right,up) (default "40,20,0,0")
  -s string
        Size (width,height) (default "900,200")
  -sme
        Smooth elevations
  -srtm
        Overwrite elevations from SRTM
  -t string
        Type (elevation or speed) (default "elevation")

Every time you run gpxcharts, it will save the resulting image and a file ending with .gpxcharts_opts. That file contains all the parameters used to generate it.

  $ gpxchart -f 20,10 zbevnica.gpx zbevnica.png
  Saved opions file zbevnica.gpxcharts_opts
  Saved chart to zbevnica.png

You can edit that file and/or use it to re-generate the image:

  $ gpxchart zbevnica.gpxcharts_opts 
  Using options: -f 20,10 zbevnica.gpx zbevnica.png
  Saved opions file zbevnica.gpxcharts_opts
  Saved chart to zbevnica.png

gpxchart test_files/zbevnica.gpx examples/simple.png

gpxchart -sme test_files/zbevnica.gpx examples/smoothed.png

gpxchart -srtm test_files/zbevnica.gpx examples/with_srtm_elevations.png

gpxchart -s 200,100 test_files/zbevnica.gpx examples/simple.svg

gpxchart -im test_files/zbevnica.gpx examples/imperial.png

gpxchart -s 900,300 test_files/zbevnica.gpx examples/custom_size.png

gpxchart -lw 2 test_files/zbevnica.gpx examples/thicker_line.png

gpxchart -p 0,0,0,0 test_files/zbevnica.gpx examples/no_padding.png

gpxchart -p 50,20,20,20 test_files/zbevnica.gpx examples/custom_padding.png

gpxchart -p 100,20,0,0 -f 10,20 test_files/zbevnica.gpx examples/custom_font_size.png

gpxchart -g 50,20 test_files/zbevnica.gpx examples/custom_grid.png

gpxchart -l 250,20 test_files/zbevnica.gpx examples/custom_labels.png

gpxchart -cp 500,50,500,50 test_files/zbevnica.gpx examples/custom_chart_padding.png

gpxcharts is licensed under the Apache License, Version 2.0


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4