public class GpxFromInstructions extends Object
| Constructor and Description |
|---|
GpxFromInstructions() |
| Modifier and Type | Method and Description |
|---|---|
static double |
calcAzimuth(Instruction instruction,
Instruction nextI)
Return the azimuth in degree based on the first tracksegment of this instruction.
|
static String |
calcDirection(Instruction instruction,
Instruction nextI)
Return the direction like 'NE' based on the first tracksegment of the instruction.
|
static String |
createGPX(InstructionList instructions,
String trackName,
long startTimeMillis,
boolean includeElevation,
boolean withRoute,
boolean withTrack,
boolean withWayPoints,
String version,
Translation tr) |
static List<GPXEntry> |
createGPXList(InstructionList instructions) |
public static List<GPXEntry> createGPXList(InstructionList instructions)
public static String createGPX(InstructionList instructions, String trackName, long startTimeMillis, boolean includeElevation, boolean withRoute, boolean withTrack, boolean withWayPoints, String version, Translation tr)
public static String calcDirection(Instruction instruction, Instruction nextI)
public static double calcAzimuth(Instruction instruction, Instruction nextI)
Copyright © 2012–2021. All rights reserved.