Author Topic: Importing .txt tracklogs  (Read 7613 times)

Neil

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Importing .txt tracklogs
« on: November 19, 2005, 10:24:49 AM »
I have a number of tracklogs saved as .txt files.  How do I get them into Topofusion?  I tried the File-Open-UTM text file to no avail.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Importing .txt tracklogs
« Reply #1 on: November 19, 2005, 10:34:26 AM »
The UTM .txt file read by TF is of a specific format.  Can you post a snippet of your file so we can see what it looks like?

A little reformatting might do it, or perhaps I can direct you to a program that will convert to GPX (such as GPSBabel).

What program created your files?

Neil

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Importing .txt tracklogs
« Reply #2 on: November 19, 2005, 10:53:14 AM »
The particular file I tried was a download.  Here's a copy-paste of everything up to a few sample WP's.  Maybe I need to get rid of all the descriptive elements and individual WP's that precede the actual trackpoints
H  SOFTWARE NAME & VERSION
I  GPSU 4.10  REGISTERED to 'xxxxxxxx'
S DateFormat=mm/d/yy
S Timezone=-4
S Units=K,F
S SymbolSet=2

H R DATUM
M E               WGS 84 100  0.0000000E+00  0.0000000E+00 0 0 0

H  COORDINATE SYSTEM
U  LAT LON DEG

F ID-------- WpCl CC Latitude   Longitude   Symbol------------- T O  Alt(f)   Comment
W BM 2       USER -- N44.063143 W073.808573 Waypoint            I E    2503.0
W BM 1       USER -- N44.040674 W073.806026 Waypoint            I E    2376.1
W MACOMB MT  USER -- N44.051691 W073.780211 Waypoint            I E       0.0
W CAIRN      USER -- N44.044540 W073.805752 Waypoint            I E       0.0
W DIX MTN    USER -- N44.081777 W073.786269 Waypoint            I E       0.0
W BECKHORN   USER -- N44.079737 W073.785054 Waypoint            I E       0.0
W LEANTO     USER -- N44.045219 W073.805436 Waypoint            I E       0.0
W SOUTH DIX  USER -- N44.059937 W073.774309 Waypoint            I E       0.0
W ElkLakeRd  MLBL -- N44.020843 W073.827782 Dot from Chart      - E       0.0
W HOUGH PEAK USER -- N44.069544 W073.777828 Waypoint            I E       0.0
W EAST DIX   USER -- N44.065058 W073.757350 Waypoint            I E       0.0
W 4331ft     MLBL -- N44.077418 W073.778686 Dot from Chart      - E       0.0

H TRACK SUMMARY
H Track            Pnts Date       Time     StopTime Duration       km   km/h Alt(f)  
H Dix Range         1912 07/11/04 07:36:49 18:58:58 11:22:09    24.43    2.1   4885.9

F Latitude   Longitude   Alt(f)   Date       Time     S Duration       km   km/h
T N44.020909 W073.827707   1862.8 07/11/04 07:36:49 1 Dix Range
T N44.021358 W073.827267   1878.6 07/11/04 07:37:52 0  0:01:03    0.061    3.5
T N44.021401 W073.826945   1883.3 07/11/04 07:38:17 0  0:01:28    0.087    3.8
T N44.021530 W073.826387   1891.2 07/11/04 07:38:48 0  0:01:59    0.134    5.4

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Importing .txt tracklogs
« Reply #3 on: November 19, 2005, 10:57:47 AM »
Ok, that's a completely different and highly detailed text format.

Are you using GPS Utility?  Can't you just open the file with GPSU and then export it as a .GPX file for TopoFusion?

The UTM text files TF reads are like this one (though it will accept some variations) :

http://topofusion.com/utm_example.txt

Neil

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Importing .txt tracklogs
« Reply #4 on: November 19, 2005, 11:08:57 AM »
I'm a complete newbie allthough I do use NG Topo! software.  I got that file into Topo! quite easily by having Topo! start the tracklog at the first trackpoint.  I do have GPSU installed but have never worked with it.  The format of what you posted looks familiar.  Perhaps Topo! generates that.

BTW, this stuff is very cool!

If I have a tracklog in my gps will it download into TF just as it does into Topo!?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Importing .txt tracklogs
« Reply #5 on: November 19, 2005, 11:14:18 AM »
Yep, that's one way surefire way to get data into a program when you can't find a conversion -- upload it to your GPS in one program and download it in the other!

I don't know of a good way to get tracks out of Topo! and into nearly any other program.  They still don't support the GPX format, sadly.

Neil

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Importing .txt tracklogs
« Reply #6 on: November 19, 2005, 11:28:53 AM »
You mean the GPS'll act as a file homogenizer?

Topo will let me save a track in .txt format.  I'll try and convert it in GPSU to the gpx format.
How does the info regarding the datum used at the time of wp collection get into the gpx file?  If the original gps was set to NAD 27 or something weirder, but mine is set to WGS 84 when I go for a hike, then what?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Importing .txt tracklogs
« Reply #7 on: November 19, 2005, 11:31:42 AM »
Well, yes, in a way.  The GPS will store it in its own format when you upload, then TF will store is as GPX when you download.

GPSU route might work, too.

Datum shouldn't be a problem.  It doesn't matter what datum your GPS is set to -- it is always sent to the computer (topo!, TF, GPSU) in WGS 84.

Of course any file could be saved as another datum, but GPX files are always WGS 84.

Neil

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Importing .txt tracklogs
« Reply #8 on: November 19, 2005, 11:56:18 AM »
I don't know if you mind me drifting away like this but: I can't load any of my tracklogs (all saved as .txt files by Topo!)into gpsu.  Trying to figure the help file out had led me to this dialogue box but I'm not sure how to arrange the settings for successful importing or if this is even the right thing to try.

And this is the error message I keep getting:

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Importing .txt tracklogs
« Reply #9 on: November 19, 2005, 01:15:33 PM »
Sorry, I rarely use GPSU, so I will not be of much help.

Good luck.