Difference between revisions of "GPX"

From GeoWiki
Jump to: navigation, search
(Obtaining GPX Files)
(Geocaching.com GPX Files)
 
(15 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
[[GPX]] stands for GPS Exchange Format.  It allows people to exchange data about:
 
[[GPX]] stands for GPS Exchange Format.  It allows people to exchange data about:
 
* [[Waypoint]]s
 
* [[Waypoint]]s
* Tracks
+
* [[Track]]s
* Routes
+
* [[Route]]s
  
 
[[Geocacher]]s use [[GPX]] files to download cache [[coordinates]] into their [[GPS receiver]].
 
[[Geocacher]]s use [[GPX]] files to download cache [[coordinates]] into their [[GPS receiver]].
Line 15: Line 15:
 
[[GPX]] defines the method of storing [[waypoint]]s, but it doesn't define the method of storing the additional information you need to store for a [[cache]], for example it's [[terrain and difficulty]].
 
[[GPX]] defines the method of storing [[waypoint]]s, but it doesn't define the method of storing the additional information you need to store for a [[cache]], for example it's [[terrain and difficulty]].
  
[[Groundspeak]] developed extensions to cover this information, however unfortunately they have made the extensions proprietary so they cannot be used by other [[cache listing website]]s.   [http://www.geocaching.com Geocaching.com] makes their GPX files available to Premium Members via a method called [[Pocket Queries]].
+
[[Groundspeak]] developed extensions to cover this information, however unfortunately they have made the extensions proprietary so they cannot be used by other [[cache listing website]]s. [http://www.geocaching.com Geocaching.com] makes their GPX files available to [[Premium member]]s via a method called [[Pocket queries]].
  
 
[[Geocaching Australia]] has therefore needed to develop its own GPX extensions.
 
[[Geocaching Australia]] has therefore needed to develop its own GPX extensions.
These are incompatible with the [[Groundspeak]] extensions, however they are non-proprietary.
+
These are incompatible with the [[Groundspeak]] extensions, however they are non-proprietary.  [[GSAK]] supports them all.
  
 
The [[Geocaching Australia]] extensions are being supported by new software.
 
The [[Geocaching Australia]] extensions are being supported by new software.
Line 25: Line 25:
  
 
== Obtaining GPX Files ==
 
== Obtaining GPX Files ==
[[GPX]] files are available from two main sources.  The first is through [[Pocket Queries]] on [http://www.geocaching.com Geocaching.com].  This is a [[Premium members]] service on that website.  A [[Pocket Queries |Pocket Query]] is only going to provide [[geocache]]s that are initially listed on that site.  It will give you a large part, but not necessarily the whole picture of [[geocaching]] in your area.
+
[[GPX]] files are available from a number of sources.
  
The second method for obtaining [[GPX]] files is from [http://www.geocaching.com.au Geocaching Australia].  This will give you state-by-state [[GPX]] files for caches listed on [http://www.geocaching.com.au Geocaching Australia].  These files are available on each state page of cachedThese can be found on the menu system by selecting "Find > Available Caches", and then choosing a state.  Presently, there is a small link on the bottom right of the page with the GPX file.
+
=== Geocaching.com Pocket Queries ===
 +
The first is through [[Pocket queries]] (or PQs for short) on [[Geocaching.com]].  This is a [[Premium member]] service on that website.  A [[Pocket queries |Pocket Query]] is only going to provide [[geocache]]s that are initially listed on that siteIt will give you a large part, but not necessarily the whole picture of [[geocaching]] in your area.
  
An alternative and much easier method for obtaining [[GPX]] files from [http://www.geocaching.com.au Geocaching Australia] is to use a new utility built by [http://www.caughtatwork.net caughtatwork]. At [http://www.caughtatwork.net/geocaching/gpxmail/ caughtatwork's GPX Mailer Utility] you can enter your email address and make a selection of the states you wish to receive a GPX file for. These files are compressing using WinZIP reducing the overall size of the file to be delivered to you. Each Friday morning (approximately 4:00am AEST) the utility will send you a copy of the GPX files for the states you requested. This allows you to process the GPX files into your waypoint management software in preparation for a weekend of caching fun.
+
=== Geocaching Australia GPX files ===
 
+
The second method for obtaining [[GPX]] files is from [[Geocaching Australia]].  This will give you state-by-state [[GPX]] files for caches listed on [[Geocaching Australia]] only.   These files are available on each state page of caches and are also linked directly below.
You can change your preferences at any time, including removing yourself from the utility:
 
 
 
[[Note: This selection will override any previous selections you have made.]]
 
 
 
Examples:
 
* If you have previously been receiving VIC and NSW and wish to add SA then please select VIC, NSW and SA.
 
* If you have previously been receiving VIC and NSW and no longer wish to receive NSW, then select VIC only.
 
* If you have previously been receiving VIC and no longer wish to receive any GPX files, do not select any states.
 
 
 
This utility is provided free of charge.
 
 
 
== Geocaching Australia GPX Files ==
 
  
 
'''GPX links by state''' :
 
'''GPX links by state''' :
Line 60: Line 49:
  
  
== Geocaching.com GPX Files ==
+
 
Periodically updated GPX files of geocaching.com caches for each state of Australia and also for New Zealand's North and South Islands are available from  
+
=== Geocaching Australia [[My Query|My Queries]] ===
http://www.roblisa.com/geocache/.
+
 
 +
The new [[My Query]] feature on [[Geocaching Australia]] is a query generator which allows pre-defined queries:
 +
* private to individual cachers; or
 +
* publicly available to all cachers.
 +
 
 +
My Query generated GPX files can also be emailed to you on a regular basis. Set up a My Query, add the day of the week you want and, if appliable, an alternative email address to the default one you use at GCA.
 +
 
 +
Around 1:00am on the morning of choice a ZIP GPX file will be emailed to you containing the results you are after.
 +
 
 +
=== Geocaching.com GPX Files ===
 +
You must join geocaching.com and pay a membership fee to obtain GPX files from the Groundspeak geocaching.com site.
 +
 
 +
=== Loading Geocaching Australia GPX files to Garmin Colorado and Oregon ===
 +
You can use the "Send To" link on any Geocaching Australia cache page to send a complete geocache to your Garmin Colorado or Oregon.
 +
 
 +
As Groundspeak have intellectual property rights to the groundspeak namespace, you cannot load a GPX file directly from Geocaching Australia to your Garmin Colorado or Oregon.
 +
 
 +
You can, however, transform the GPX file through an alternative program like GSAK which will prepend the groundspeak namespaces as necessary.
 +
 
 +
After some discussion in the [http://forum.geocaching.com.au/viewtopic.php?f=12&t=11145 forums], some further transformation may be necessary.
 +
 
 +
After some investigation I found that GCA caches have no "groundspeak:cache id" tag. This tag is what the Oregon uses to check for uniqueness of caches. A simple GASK macro is all that was requires to change this value within GSAK. Once exported everything works properly with all GCA caches now displayed:
 +
 
 +
$NewCode=0
 +
$NChar=0
 +
MFilter Expression= Left($d_code,2)="GA"
 +
GOTO Position=Top
 +
WHILE NOT($_EOL)
 +
$Length=Len($d_Code)
 +
$DropCode=Right($d_code, $Length-2)
 +
$NewCode=val($DropCode)
 +
$NewCode=90000000 + $NewCode
 +
$d_CacheID = "$NewCode"
 +
$NewCode=0
 +
GOTO Position=Next
 +
ENDWHILE

Latest revision as of 15:20, 3 September 2010

What is GPX?

GPX stands for GPS Exchange Format. It allows people to exchange data about:

Geocachers use GPX files to download cache coordinates into their GPS receiver. This saves the hassle of entering coordinates of each cache into their GPS receiver.

The normal process it to download waypoints from a cache listing website into waypoint management software on your PC, and then download the waypoints into your GPS.

GPX was developed by Topografix, which publishes the GPX format specfication.

Different GPX formats

GPX defines the method of storing waypoints, but it doesn't define the method of storing the additional information you need to store for a cache, for example it's terrain and difficulty.

Groundspeak developed extensions to cover this information, however unfortunately they have made the extensions proprietary so they cannot be used by other cache listing websites. Geocaching.com makes their GPX files available to Premium members via a method called Pocket queries.

Geocaching Australia has therefore needed to develop its own GPX extensions. These are incompatible with the Groundspeak extensions, however they are non-proprietary. GSAK supports them all.

The Geocaching Australia extensions are being supported by new software. The current status is listed under waypoint management software.


Obtaining GPX Files

GPX files are available from a number of sources.

Geocaching.com Pocket Queries

The first is through Pocket queries (or PQs for short) on Geocaching.com. This is a Premium member service on that website. A Pocket Query is only going to provide geocaches that are initially listed on that site. It will give you a large part, but not necessarily the whole picture of geocaching in your area.

Geocaching Australia GPX files

The second method for obtaining GPX files is from Geocaching Australia. This will give you state-by-state GPX files for caches listed on Geocaching Australia only. These files are available on each state page of caches and are also linked directly below.

GPX links by state :



Geocaching Australia My Queries

The new My Query feature on Geocaching Australia is a query generator which allows pre-defined queries:

  • private to individual cachers; or
  • publicly available to all cachers.

My Query generated GPX files can also be emailed to you on a regular basis. Set up a My Query, add the day of the week you want and, if appliable, an alternative email address to the default one you use at GCA.

Around 1:00am on the morning of choice a ZIP GPX file will be emailed to you containing the results you are after.

Geocaching.com GPX Files

You must join geocaching.com and pay a membership fee to obtain GPX files from the Groundspeak geocaching.com site.

Loading Geocaching Australia GPX files to Garmin Colorado and Oregon

You can use the "Send To" link on any Geocaching Australia cache page to send a complete geocache to your Garmin Colorado or Oregon.

As Groundspeak have intellectual property rights to the groundspeak namespace, you cannot load a GPX file directly from Geocaching Australia to your Garmin Colorado or Oregon.

You can, however, transform the GPX file through an alternative program like GSAK which will prepend the groundspeak namespaces as necessary.

After some discussion in the forums, some further transformation may be necessary.

After some investigation I found that GCA caches have no "groundspeak:cache id" tag. This tag is what the Oregon uses to check for uniqueness of caches. A simple GASK macro is all that was requires to change this value within GSAK. Once exported everything works properly with all GCA caches now displayed:

$NewCode=0
$NChar=0
MFilter Expression= Left($d_code,2)="GA"
GOTO Position=Top
WHILE NOT($_EOL)
$Length=Len($d_Code)
$DropCode=Right($d_code, $Length-2)
$NewCode=val($DropCode)
$NewCode=90000000 + $NewCode
$d_CacheID = "$NewCode"
$NewCode=0
GOTO Position=Next
ENDWHILE