Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsGPXObject Class Reference

Class for working with GPX. More...

Classes

class  Bounds
 Two lat/lon pairs defining the extent of an element. More...
 
class  Copyright
 Information about the copyright holder and any license governing use of this file. By linking to an appropriate license, you may place your data into the public domain or grant additional usage rights. More...
 
class  EMail
 An email address. Broken into two parts (id and domain) to help prevent email harvesting. More...
 
class  Link
 A link to an external resource (Web page, digital photo, video clip, etc) with additional information. More...
 
class  Meta
 Information about the GPX file, author, and copyright restrictions goes in the metadata section.
Providing rich, meaningful information about your GPX files allows others to search for and use your GPS data. More...
 
class  Person
 A person or organization. More...
 
class  Route
 Route - an ordered list of waypoints representing a series of turn points leading to a destination. More...
 
class  Track
 Track - an ordered list of points describing a path. More...
 
class  TrackSegment
 A Track Segment holds a list of Track Points which are logically connected in order.
To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data. More...
 
class  Waypoint
 Waypoint, point of interest, or named feature on a map. More...
 

Public Member Functions

 OnlineMapsGPXObject (string creator, string version="1.1")
 Constructor.
 
OnlineMapsXML ToXML ()
 Returns OnlineMapsXML, contains full information about GPX Object.
 

Static Public Member Functions

static OnlineMapsGPXObject Load (string content)
 Load GPX Object from string.
 

Public Attributes

string version = "1.1"
 GPX document version.
 
string creator = "OnlineMaps"
 Name or URL of the software that created your GPX document.
This allows others to inform the creator of a GPX instance document that fails to validate.
 
Meta metadata
 Metadata about the gpx.
 
List< Waypointwaypoints
 A list of waypoints.
 
List< Routeroutes
 A list of routes.
 
List< Tracktracks
 A list of tracks.
 
OnlineMapsXML extensions
 You can add extend GPX by adding your own elements from another schema here.
 

Detailed Description

Class for working with GPX.

Constructor & Destructor Documentation

◆ OnlineMapsGPXObject()

OnlineMapsGPXObject.OnlineMapsGPXObject ( string creator,
string version = "1.1" )

Constructor.

Parameters
creatorName or URL of the software that created your GPX document.
versionGPX document version.

Member Function Documentation

◆ Load()

static OnlineMapsGPXObject OnlineMapsGPXObject.Load ( string content)
static

Load GPX Object from string.

Parameters
contentA string containing GPX content.
Returns
Instance of GPX Object

◆ ToXML()

OnlineMapsXML OnlineMapsGPXObject.ToXML ( )

Returns OnlineMapsXML, contains full information about GPX Object.

Returns
Instance of OnlineMapsXML.