{"id":778,"date":"2019-02-06T13:12:03","date_gmt":"2019-02-06T13:12:03","guid":{"rendered":"https:\/\/rallycheck.com\/?page_id=778"},"modified":"2020-03-18T16:50:12","modified_gmt":"2020-03-18T15:50:12","slug":"gps-to-gpx-definitions","status":"publish","type":"page","link":"https:\/\/rallycheck.com\/nl\/gps-to-gpx-definitions\/","title":{"rendered":"GPS to GPX definitions"},"content":{"rendered":"<div class=\"flex_column av_one_full  flex_column_div av-zero-column-padding first  \" style='border-radius:0px; '><p><div style='padding-bottom:10px; ' class='av-special-heading av-special-heading-h3  blockquote modern-quote modern-centered  '><h3 class='av-special-heading-tag '  itemprop=\"headline\"  >GPS to GPX definitions<\/h3><div class ='av-subheading av-subheading_below  ' style='font-size:15px;'><p>As per 18 March 2020<\/p>\n<\/div><div class='special-heading-border'><div class='special-heading-inner-border' ><\/div><\/div><\/div><br \/>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p>Rallycheck uses GPX files for defining waypoints (route controls or RC&#8217;s) in the app.<\/p>\n<p>Rallycheck also uses self-defined extensions in order to define all types of &#8220;rally&#8221; options for RC&#8217;s. This page shows the current definitions of the RC&#8217;s and it&#8217;s extensions. This definition can be used bij software programs connecting to the Rallycheck app.<\/p>\n<p>Please only use extensions for non default values. When using the default, please omit the extensions from your XML.<\/p>\n<p>The following code shows an example of the definition.<\/p>\n<\/div><\/section><\/p><\/div>\n<pre>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;gpx version=\"1.1\" creator=\"Rallycheck\" xmlns=\"http:\/\/www.topografix.com\/GPX\/1\/1\" xmlns:gpxx = \"http:\/\/www.garmin.com\/xmlschemas\/GpxExtensions\/v3\"&gt;\r\n&lt;wpt lat=\"4.47518234141171\" lon=\"52.192538939416409\"&gt;\r\n    &lt;name&gt;X&lt;\/name&gt;\r\n    &lt;extensions&gt;\r\n        &lt;gpxx:WaypointExtension&gt;\r\n        &lt;gpxx:Proximity&gt;45&lt;\/gpxx:Proximity&gt;\r\n        &lt;gpxx:Directsave&gt;False&lt;\/gpxx:Directsave&gt;\r\n        &lt;gpxx:BearingEnabled&gt;False&lt;\/gpxx:BearingEnabled&gt;\r\n        &lt;gpxx:Bearing&gt;0&lt;\/gpxx:Bearing&gt;\r\n        &lt;gpxx:BearingDeviation&gt;22.5&lt;\/gpxx:BearingDeviation&gt;\r\n        &lt;gpxx:Instruction&gt;HK EL&lt;\/gpxx:Instruction&gt;\r\n        &lt;gpxx:Showspeed&gt;False&lt;\/gpxx:Showspeed&gt;\r\n        &lt;gpxx:Showtime&gt;False&lt;\/gpxx:Showtime&gt;\r\n        &lt;gpxx:RCType&gt;RC&lt;\/gpxx:RCType&gt;\r\n        &lt;gpxx:TimeToSave&gt;60&lt;\/gpxx:TimeToSave&gt;\r\n        &lt;\/gpxx:WaypointExtension&gt;\r\n    &lt;\/extensions&gt;\r\n&lt;\/wpt&gt;\r\n&lt;\/gpx&gt;<\/pre>\n<div class=\"flex_column av_one_full  flex_column_div av-zero-column-padding first  \" style='border-radius:0px; '><p><section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p><strong>Proximity<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: 45 meters.<br \/>\nAllowed values: integer or 2 decimal floating point<br \/>\nImplemented in app.<\/p>\n<p>The proximity to the RC in meters. The app will detect the RC when the app is within the proximity in meters to the RC.<\/p>\n<hr \/>\n<p><strong>Directsave<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: False<br \/>\nAllowed values: True, False<br \/>\nImplemented in app.<\/p>\n<p>This extension wil save the RC without the option for the user te discard it. Normally a user can chose to save the RC. When the value of Directsave is true, the user has no choice and the RC will be saved.<\/p>\n<hr \/>\n<p><strong>BearingEnabled<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: flase<br \/>\nAllowed values: true, false<br \/>\nImplemented in app.<\/p>\n<p>This extension defines if the Bearing is used for a specific Waypoint.<\/p>\n<hr \/>\n<p><strong>Bearing<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value:\u00a0(empty)<br \/>\nAllowed values: integer, 0 &#8211; 360<br \/>\nImplemented in app.<\/p>\n<p>This extension defines the bearing the smartphone is traveling in. If the smartphone is traveling in this direction than the waypoint will be &#8220;discovered&#8221;. If the smartphone is traveling in a different direction, the waypoint will not be shown to the user.<\/p>\n<p>The value of Bearing is in compass degrees. North = 0; South = 180 etc.<\/p>\n<p>The default behavior of the Rallycheck app is to allways show a RC, independent of the bearing.<\/p>\n<hr \/>\n<p><strong>BearingDeviation<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: 22.5<br \/>\nAllowed values: Integer or Floating point, one decimal, 0-180<br \/>\nImplemented in app.<\/p>\n<p>This extension defines the deviation to the Bearing that is accepted by the Rallycheck app when determining the Bearing in which the smartphone is traveling. This extension is only used in conjunction with the Bearing extension. If the Bearing extension is not used (or is empty) the BearingDeviation will be ignored.<\/p>\n<p>For example, a smartphone, traveling exactly from east to west has a Bearing of 270 (degrees). However, it is unlikely that the GPS bearing will exactly match the value in the Bearing field, each and every time for each and every moving smartphone.<br \/>\nWith a BearingDeviation of 22.5 (degrees) all dirctions from 247.5 degrees to 292.5 degrees are accepted as valid by the Rallycheck app.<\/p>\n<hr \/>\n<p><strong>Instruction<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: (empty)<br \/>\nAllowed value: text<br \/>\nImplemented in app.<\/p>\n<p>This extension enables an instruction to be shown to the user of the Rallycheck app. Too long text messages will be truncated.<\/p>\n<p>For example: HK EL DMP3<br \/>\n&#8220;Hier Keren, Einde Links, Door met Punt\/Pijl 3&#8221;<br \/>\n&#8220;Turn here, end left, continue with point\/arrow 3&#8221;<\/p>\n<hr \/>\n<p><strong>Showspeed<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: False<br \/>\nImplemented in app.<\/p>\n<p>Using this extension will display the speed of the smartphone at the moment the RC is detected. The speed will be shown beneath the RC name on the control card.<\/p>\n<hr \/>\n<p><strong>Showtime<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: False<br \/>\nImplemented in app.<\/p>\n<p>Using this extension will display the GPS time at the moment the RC is detected. The time will be shown beneath the RC name on the control card.<\/p>\n<hr \/>\n<p><strong>RCType<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: RC<br \/>\nAllowed Value: text<br \/>\nPartialy implemented, see following definitions.<\/p>\n<p>This extension qualifies the Control type. The following controls are possible.<\/p>\n<ul>\n<li>RC (Default)<\/li>\n<li>START &#8211; implemented<\/li>\n<li>FINISH &#8211; implemented<\/li>\n<li>TC- implemented<\/li>\n<li>TC-IN- implemented<\/li>\n<li>TC-OUT<\/li>\n<li>TC-START<\/li>\n<li>TC-FINISH- implemented<\/li>\n<li>GTC<\/li>\n<\/ul>\n<hr \/>\n<p><strong>TimeToSave<\/strong><\/p>\n<p>Optional field.<br \/>\nDefault value: 60<br \/>\nAllowed value: integer<br \/>\nImplemented in app.<\/p>\n<p>Time in seconds. This field describes the time in which a contestant can click the save button of a route control.<br \/>\nWe strongly urge you NOT to use this option. It is confusing for contestants to encounter route controls with variable save times.<br \/>\nThis option is available for development purposes.<\/p>\n<hr \/>\n<\/div><\/section><br \/>\n<div class='av-catalogue-container  '><ul class='av-catalogue-list'><\/ul><\/div><\/p><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-778","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/pages\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":35,"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/pages\/778\/revisions"}],"predecessor-version":[{"id":2836,"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/pages\/778\/revisions\/2836"}],"wp:attachment":[{"href":"https:\/\/rallycheck.com\/nl\/wp-json\/wp\/v2\/media?parent=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}