Opencaching GPX Extension

From Opencaching.eu
Revision as of 18:33, 9 November 2017 by Following (talk | contribs) (added some docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Opencaching GPX Extension allows to add Opencaching-specific information to GPX files. It is supported by all Opencaching sites except Opencaching.US, both in the native GPX download as well as OKAPI GPX download.

A GPX file downloaded from the OC sites will contain an <oc:cache> section, which may look like this:

 <oc:cache xmlns:oc="https://github.com/opencaching/gpx-extension-v1">
   <oc:type>Moving Cache</oc:type>
   <oc:size>Nano</oc:size>
   <oc:trip_distance>1.5</oc:trip_distance>
   <oc:requires_password>true</oc:requires_password>
   <oc:logs>
     <oc:log id="1179884" uuid="ba6422c7-4a2a-11e7-8e90-86c6a7325f31">
     </oc:log>
     <oc:log id="1164676" uuid="aced5439-f929-11e6-8e90-86c6a7325f31">
     </oc:log>
   </oc:logs>
 </oc:cache>

For a complete documentation, see the OC GPX Schema definition.