Template:Create Profile Link: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (urlencode!)
m (fix it)
Line 10: Line 10:


[[Category:Trail Class Items]]
[[Category:Trail Class Items]]
</noinclude><includeonly>https://www.gpsvisualizer.com/profile_input{{#if: {{{Title|}}}|?drawing_title={{urlencode{{{Title|}}}}}}}&format=svg&height=500&profile_gradients=1&trk_colorize=slope_degrees&trk_elevation_gain=1&trk_elevation_threshold=10&units=us&width=1000&form:remote_data={{{KML|}}}&add_elevation=auto&trk_distance_threshold=5</includeonly>
</noinclude><includeonly>https://www.gpsvisualizer.com/profile_input{{#if: {{{Title|}}}|?drawing_title={{urlencode:{{{Title|}}}}}}}&format=svg&height=500&profile_gradients=1&trk_colorize=slope_degrees&trk_elevation_gain=1&trk_elevation_threshold=10&units=us&width=1000&form:remote_data={{{KML|}}}&add_elevation=auto&trk_distance_threshold=5</includeonly>

Revision as of 10:37, 14 December 2019

This creates the link to http://gpsvisualizer.com with the desired settings for generating a profile chart of a provided KML. The chart can be saved for the page but is also the source of information of distance and elevations.

It should be called in the following format:

{{Create Profile Link|KML= |Title=<Optional>}}

The parameter KML is required for output.

Edit the page to see the template text.