Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - endless12

#1
Implemented / Import/Export GPX Feature
January 01, 2012, 00:18:48
I'm sure its been tested but every-time I export my Geocache's saved in a category list (which was imported with Geocaching4Locus) it incorrectly saves the file. When I retry to import it with Locus it throws an error. It does this every-time for 3 different locations (downloading 200 caches around 3 different points of interest). I also try to import the file with GSAK which gives a "not well formatted" error.

Not sure why? Its supposed to work right? Ill give more details below assuming its a problem.

When I try to import with GSAK it throws:

[Text is copied from the dialog]
---------------------------
Error
---------------------------
This file does not pass XML validation and will be ignored
C:UsersTysonDesktopMOAB_A~1.GPX:3255:17: not well-formed
---------------------------
OK  
---------------------------

Ok the gpx @ line 3255 is below bolded.

<wpt lat="38.5646" lon="-109.5502">
<time>1970-01-01T00:00:00Z</time>
<name>GC10JMX</name>
<desc><![CDATA[ODS P&G's 50th by Foursis, Traditional Cache (1.5/1.0)]]></desc>
<url>http://www.geocaching.com/seek/cache_details.aspx?wp=GC10JMX</url>
----->[b]<urlname>ODS P&G's 50th</urlname>[/b]<-------
<sym>Geocache</sym>
<type>Geocache|Traditional Cache</type>
<groundspeak:cache id="0" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
<groundspeak:name><![CDATA[ODS P&G's 50th]]></groundspeak:name>
<groundspeak:placed_by><![CDATA[Foursis]]></groundspeak:placed_by>
<groundspeak:owner><![CDATA[c8ac78c1-bccf-45c4-bcb1-925130173f81]]></groundspeak:owner>
<groundspeak:type>Traditional Cache</groundspeak:type>
<groundspeak:container>Small</groundspeak:container>
<groundspeak:difficulty>1.5</groundspeak:difficulty>
<groundspeak:terrain>1.0</groundspeak:terrain>
<groundspeak:country>United States</groundspeak:country>
<groundspeak:state>Utah</groundspeak:state>
<groundspeak:short_description html="True"><![CDATA[This cache was hidden as part of the One Degree of Separation Geocaching Project. This is a seed that came from: GCWB07 ODS:Zip Code Danny ODS]]></groundspeak:short_description>
<groundspeak:long_description html="True"><![CDATA[A quick park and grab for all traveling cachers. This container (formerly a film canister having been replaced due to muggling) is hidden within walking distance of a main street motel.  This cache contains a log only so bring your own pen.
 
 CONGRATULATIONS FOURCORNERPAIR FOR FIRST TO FIND!!!]]></groundspeak:long_description>
<groundspeak:encoded_hints><![CDATA[]]></groundspeak:encoded_hints>
<groundspeak:logs>
<groundspeak:log id="0">
<groundspeak:date>2011-12-26T13:30:18Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[D+M]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Found this one on a cold night after eating at Moab Brewery. SL & TFTC]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-12-10T07:20:16Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[Colorado Williams]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[An over night get-a-way. We love Moab!]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-11-27T01:37:11Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[InfamousZ]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Quick find on our way back to SLC. We love Moab!!! TFTC]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-11-26T07:51:38Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[boobug15]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Quick find.  TFTC]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-12-20T14:03:00Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[mtnman4fun]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Didn't find it the first time we looked for this one.  Returned and found it.  TFTC.]]></groundspeak:text>
</groundspeak:log>
</groundspeak:logs>
</groundspeak:cache>
</wpt>

If I delete the text inside the description to <urlname>DELETED</urlname> the problem goes away. But now it throws the same dialog error @ line 6863:15 inside the <desc> xml descriptor. I haven't been able to create a valid gpx file...

<wpt lat="38.57865" lon="-109.49055">
<time>1970-01-01T00:00:00Z</time>
<name>GC17CG4</name>
---->[b]<desc><![CDATA[Fun & Things by Big D 24, Traditional Cache (3.5/4.5)]]></desc>[/b]<-----
<url>http://www.geocaching.com/seek/cache_details.aspx?wp=GC17CG4</url>
<urlname>Fun & Things</urlname>
<sym>Geocache</sym>
<type>Geocache|Traditional Cache</type>
<groundspeak:cache id="0" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
<groundspeak:name><![CDATA[Fun & Things]]></groundspeak:name>
<groundspeak:placed_by><![CDATA[Big D 24]]></groundspeak:placed_by>
<groundspeak:owner><![CDATA[67067c7a-cd1e-4aa6-b328-fa4e8c30e330]]></groundspeak:owner>
<groundspeak:type>Traditional Cache</groundspeak:type>
<groundspeak:container>Regular</groundspeak:container>
<groundspeak:difficulty>3.5</groundspeak:difficulty>
<groundspeak:terrain>4.5</groundspeak:terrain>
<groundspeak:country>United States</groundspeak:country>
<groundspeak:state>Utah</groundspeak:state>
<groundspeak:short_description html="True"><![CDATA[This cache is placed on a ATV,4x4 trail. You can take a short walk from the road to the cache or take a ATV or jeep.On a ATV the terrain can be difficult.]]></groundspeak:short_description>
<groundspeak:long_description html="True"><![CDATA[This cache is a ammo can.]]></groundspeak:long_description>
<groundspeak:encoded_hints><![CDATA[Look in the tree]]></groundspeak:encoded_hints>
<groundspeak:logs>
<groundspeak:log id="0">
<groundspeak:date>2011-11-24T12:57:37Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[GeoGhostX]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Running this trail today with my son, Alex (aka Zander87) on his first trip to Moab.  Top of The World Trail yesterday, and Fins N Things today, Thanksgiving Day 2011.  Can't think of a better way to spend the holiday, enjoying some pure slickrock trail and red rock views.  TFTC!]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-11-24T13:29:43Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[Zander87]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Cool ammo box! TFTH!]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-10-28T05:49:25Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[ollielilly]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Found it yesterday.  Great day jeeping with friends. Incredible place.  TFTC
]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-10-27T08:03:36Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[Pathfinder & Snoopy]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[What a fantastic ride we had.  Thanks for placing this cache in such a great place.
Pathfinder & Snoopy of San Diego, CA]]></groundspeak:text>
</groundspeak:log>
<groundspeak:log id="0">
<groundspeak:date>2011-10-27T12:14:47Z</groundspeak:date>
<groundspeak:type>Found it</groundspeak:type>
<groundspeak:finder><![CDATA[lkings4]]></groundspeak:finder>
<groundspeak:text encoded="False"><![CDATA[Great day jeeping and the cache was just an added bonus! TFTC]]></groundspeak:text>
</groundspeak:log>
</groundspeak:logs>
</groundspeak:cache>
</wpt>

This time if I delete the text it doesn't fix it. Possibly I deleted text the XML reader needs for geocaches. Maybe I'm just doing something wrong? I can give more info if its an actual issue. My other files all have a random spot that throws an error.

Locus Version: 1.14.6 & 1.15.4 (tried both)
Geocaching4Locus: 1.7.3
Phone: Android HTC Eris

Thanks.