Convert GPX to Ozi WPT on Pocket PC

Discussion about software such as GSAK, OziExplorer etc, as well as all things hardware, GPSrs, laptops, PDAs, paperless caching, cables etc
Post Reply
team unicycle
3500 or more caches found
3500 or more caches found
Posts: 294
Joined: 15 April 03 11:03 pm
Location: Adelaide
Contact:

Convert GPX to Ozi WPT on Pocket PC

Post by team unicycle » 14 September 04 10:36 am

I am heading to Queensland in a couple of weeks, for a couple of weeks - most of which I won't have access to a PC.

I have the new Ipaq 3715, and anticipate using OziCE for mapping and GPX Sonar for cache info. Whilst away I expect to be able to download my emailed GPX files, which I can use with GPX Sonar.

Unfortunately, I can't see how to convert the GPX files to OziCE waypoint files. Can anyone offer a solution to this?

Ebenezer
150 or more caches found
150 or more caches found
Posts: 425
Joined: 03 June 03 5:12 pm
Location: Summer Hill, Sydney
Contact:

Post by Ebenezer » 14 September 04 11:43 am

Maybe the waypoint files from roblisa.com would be enough to get by with? You can download cache waypoints by state in various formats including .wpt. http://www.roblisa.com/geocache/

ian-and-penny
10000 or more caches found
10000 or more caches found
Posts: 1067
Joined: 13 October 03 11:45 am
Location: Travelling Australia using a Garmin Montana 650T

Post by ian-and-penny » 14 September 04 1:45 pm

Use GSAK to convert your gpx files into Ozi waypoints before you go.

team unicycle
3500 or more caches found
3500 or more caches found
Posts: 294
Joined: 15 April 03 11:03 pm
Location: Adelaide
Contact:

Post by team unicycle » 14 September 04 2:12 pm

Ebenezer wrote:Maybe the waypoint files from roblisa.com would be enough to get by with? You can download cache waypoints by state in various formats including .wpt. http://www.roblisa.com/geocache/
Quite possible, but not ideal.
ian-and-penny wrote:Use GSAK to convert your gpx files into Ozi waypoints before you go.
This is probably what I will end up doing.

Ebenezer
150 or more caches found
150 or more caches found
Posts: 425
Joined: 03 June 03 5:12 pm
Location: Summer Hill, Sydney
Contact:

Post by Ebenezer » 14 September 04 3:00 pm

team unicycle wrote:
ian-and-penny wrote:Use GSAK to convert your gpx files into Ozi waypoints before you go.
This is probably what I will end up doing.
Sorry - I assumed that if you didn't have access to your PC then GSAK wouln't be a possibility.

team unicycle
3500 or more caches found
3500 or more caches found
Posts: 294
Joined: 15 April 03 11:03 pm
Location: Adelaide
Contact:

Post by team unicycle » 14 September 04 3:11 pm

Ebenezer wrote:
ian-and-penny wrote:Use GSAK to convert your gpx files into Ozi waypoints before you go.

Sorry - I assumed that if you didn't have access to your PC then GSAK wouln't be a possibility.
Yep. That's why I'd have to do it before I left. :)

User avatar
TeamAstro
5000 or more caches found
5000 or more caches found
Posts: 625
Joined: 01 April 04 10:57 pm
Location: Adelaide
Contact:

Rob & Lisa's site

Post by TeamAstro » 14 September 04 7:42 pm

Looks like Rob and Lisa have not updated their geocache downloads since the 28th August. This is a problem. Guess we can't complain too much and should be thankful it is there for free. I do rely on this site now far too much. I bet others are too?

clear skies, John

User avatar
Team Piggy
Posts: 1601
Joined: 02 April 03 5:16 pm
Location: South Australia

Post by Team Piggy » 14 September 04 10:32 pm

Contact me on messenger Uni, I can D'load and mail them up to you in Ozi format..

Just set up a pocket query for QLD caches and then set the query to send to an alternate address of: unicycle@teampiggy.com and i'll crunch em and mail em to you from there.

team unicycle
3500 or more caches found
3500 or more caches found
Posts: 294
Joined: 15 April 03 11:03 pm
Location: Adelaide
Contact:

Post by team unicycle » 26 September 04 1:22 am

I have this problem solved. I wrote something in Perl. It is crude, and relies on the layout of the GPX file, but it works.
And what's more, I still have 30 hours before I leave.

karmickev
Posts: 12
Joined: 11 April 03 12:02 am
Location: S35 11.848 E149 6.955
Contact:

Post by karmickev » 29 September 04 11:57 am

Hi

GPX is just XML.
XML is transformed using XSLT
WPT is just a flat file

GPX via XSLT to WPT is a snap

So, why not just use a quick .NET page on the iPaq to perform the translation.

Here's the XSLT
===============================
<?xml version="1.0" standalone="no" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
<xsl:output method="text"/>
<xsl:template match="/" >Datum,WGS84,WGS84,0,0,0,0,0
<xsl:for-each select="//wpt">WP,D,<xsl:value-of select="name"/>,<xsl:value-of select="@lat"/>,<xsl:value-of select="@lon"/>,,,<xsl:value-of select="desc"/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
================================

Or use my online conversion (as i do) at:
http://www.kevinread.com/4Geocaching/GpxForm.asp

Kevin

Ebenezer
150 or more caches found
150 or more caches found
Posts: 425
Joined: 03 June 03 5:12 pm
Location: Summer Hill, Sydney
Contact:

Post by Ebenezer » 29 September 04 12:47 pm

Nice XSLT!

Post Reply