HmadaAhmedSalem / geobeagle

Automatically exported from code.google.com/p/geobeagle
0 stars 0 forks source link

Importing of <desc> field from .loc files for manually added notes #194

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I often add comments and notes to my .loc files (usually for puzzles).  It 
would be great if those comments could be loaded into GeoBeagle to populate the 
"Details" field.

Example .loc:
<?xml version="1.0" encoding="UTF-8"?>
<loc version="1.0" src="Groundspeak">
<waypoint>
    <name id="GC14PCP"><![CDATA[I Scream. You Scream. by SouthBayCrew]]></name>
    <coord lat="37.000" lon="-122.000"/>
    <type>Geocache</type>
    <link text="Cache Details">http://www.geocaching.com/seek/cache_details.aspx?wp=GC14PCP</link>
    <desc>This involved calculus.</desc>
</waypoint></loc>

Adding this line to GpxPath.java might be enough:

GPX_LONGDESC("/loc/waypoint/desc",
            PathType.LONG_DESCRIPTION),

Original issue reported on code.google.com by moke...@gmail.com on 13 Oct 2010 at 6:47

GoogleCodeExporter commented 9 years ago
Fixed in 1.2.10; let me know if it works for you.

Original comment by stephen5...@gmail.com on 19 Oct 2010 at 3:51

GoogleCodeExporter commented 9 years ago
Thanks for the enhancement!

The "Details" button was still grayed out in my test on the attached cache; not 
sure whether the <desc> field populated the database or not.

(Don't worry about it if this turns out to be time-consuming; I improvised a 
temporary solution.)

Original comment by moke...@gmail.com on 19 Oct 2010 at 6:57

Attachments: