Parser to transform a gpx file into a Travel object
Parse a gpx string and load the data found in the gpx in a Travel Object
Name | Type | Description |
---|---|---|
gpxString | String | The string to parse |
A boolean set to true when the gpx file comes from a node network
Add a note at the same position than a way node (only for node networks gpx files)
Name | Type | Description |
---|---|---|
wayPoint | WayPoint | The wayPoint for witch a Note must be created |
Compute the ascent and descent of the currently parsed Route
This method compute the route, itineraryPoints and maneuvers distances
Name | Type | Description |
---|---|---|
route | Route | The route for witch the distances are computed |
Add a starting and an ending waypoint on each route of the parsed Travel
Search the nearest ItineraryPoint objId of the currently parsed route from a given point
Name | Type | Description |
---|---|---|
latLng | Array of Number | The lat and lng of the given point |
Parse a rte xml node
Name | Type | Description |
---|---|---|
rteNode | Node | A Node with a rte tag |
Parse a rtept xml node
Name | Type | Description |
---|---|---|
rtePtNode | Node | A Node with a rtept tag |
Parse a trk xml node
Name | Type | Description |
---|---|---|
trkNode | Node | A Node with a trk tag |
Parse a trkpt xml node
Name | Type | Description |
---|---|---|
trkPtNode | Node | A Node with a trkpt tag |
Parse a trkseg xml node
Name | Type | Description |
---|---|---|
trkSegNode | Node | A Node with a trkseg tag |
Parse a wpt xml node
Name | Type | Description |
---|---|---|
wptNode | Node | A Node with a wpt tag |