Real World Terrain  v4.1
InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject 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

 RealWorldTerrainGPXObject (string creator, string version="1.1")
 Constructor More...
 
RealWorldTerrainXML ToXML ()
 Returns RealWorldTerrainXML, contains full information about GPX Object. More...
 

Static Public Member Functions

static RealWorldTerrainGPXObject Load (string content)
 Load GPX Object from string. More...
 

Public Attributes

string version = "1.1"
 GPX document version. More...
 
string creator = "RealWorldTerrain"
 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. More...
 
Meta metadata
 Metadata about the gpx. More...
 
List< Waypointwaypoints
 A list of waypoints. More...
 
List< Routeroutes
 A list of routes. More...
 
List< Tracktracks
 A list of tracks. More...
 
RealWorldTerrainXML extensions
 You can add extend GPX by adding your own elements from another schema here. More...
 

Detailed Description

Class for working with GPX.

Constructor & Destructor Documentation

◆ RealWorldTerrainGPXObject()

InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.RealWorldTerrainGPXObject ( 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 RealWorldTerrainGPXObject InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.Load ( string  content)
static

Load GPX Object from string.

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

◆ ToXML()

RealWorldTerrainXML InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.ToXML ( )

Returns RealWorldTerrainXML, contains full information about GPX Object.

Returns
Instance of RealWorldTerrainXML.

Member Data Documentation

◆ creator

string InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.creator = "RealWorldTerrain"

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.

◆ extensions

RealWorldTerrainXML InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.extensions

You can add extend GPX by adding your own elements from another schema here.

◆ metadata

Meta InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.metadata

Metadata about the gpx.

◆ routes

List<Route> InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.routes

A list of routes.

◆ tracks

List<Track> InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.tracks

A list of tracks.

◆ version

string InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.version = "1.1"

GPX document version.

◆ waypoints

List<Waypoint> InfinityCode.RealWorldTerrain.Utils.RealWorldTerrainGPXObject.waypoints

A list of waypoints.