Hi, and welcome.
The interaction of all those options is gnarly. You're turning on track,
but since you have no timestamps, we can't really write a gx:Track that's
useful to Earth so we end up trying hard to leave you with something. The
result is a duplicate.
As you have no times, don't turn on track and you won't get the dupes.
On Mon, Feb 20, 2012 at 10:41 AM, Brett Russ <icycle@...> wrote:
> Hi,
>
> I'm converting National Geographic 3.x TPO files to KML. I made a simple
> repro: drew a short track in the Topo SW, save .tpo file (attached; not
> sure if attachments are welcome/stripped), and use gpsbabel 1.4.3 (Win XP)
> to convert to KML using these args:
>
> gpsbabel -D2 -w -r -t -i tpo3 -f test.tpo -o
> kml,lines=1,points=1,floating=0,extrude=0,track=1,trackdata=1,trackdirection=0,labels=1
> -F test.kml
>
> I also tried with lines=0, points=0, and some other variations. End
> result is always 2 duplicate tracks in the KML:
>
> <Folder>
> <name>Tracks</name>
> <Folder>
> <name>test</name>
> <snippet/>
> <description>...</description>
> <Folder>...</Folder>
> <Placemark>...</Placemark>
> </Folder>
> <Folder>
> <name>test</name>
> <snippet/>
> <description>...</description>
> <Folder>...</Folder>
> <Placemark>...</Placemark>
> </Folder>
> </Folder>
>
> To rule out a Windows app issue, I compiled the 1.4.3 source under Ubuntu
> and saw the same behavior.
>
> I saw this previous post about a similar issue:
> http://article.gmane.org/gmane.comp.hardware.gps.gpsbabel.general/6746
> which was fixed in 1.4.3. I verified the source shows it's fixed, so mine
> must be a new issue.
>
> As a side note, I notice that I don't see any track in Google Earth
> (6.1.0.5001) unless I set track=1, which is odd because the default is
> track=0 for the tpo conversion. In other words, just setting lines=1
> doesn't make a track line.
>
> Thanks,
> Brett
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Gpsbabel-misc mailing list http://www.gpsbabel.org
> Gpsbabel-misc@...
> To unsubscribe, change list options, or see archives, visit:
> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
>
>
|