Page 1 of 2

Automated Topo! txt file Generation

PostPosted: Thu Sep 18, 2008 1:21 pm
by John Kirk
http://listsofjohn.com/PeakStats/Content/export.php

This outputs a .txt file based on the criteria you select (state, elevation range, county, ranked only vs. all peaks).

Using the import text file wizard in TOPO!, you can import the text file as waypoints into TOPO! (see attached screenshot instructions).

Some things you will need to change if you haven't already (in GPS settings):
Max # Waypoints ( I use 1000)
Waypoint length (I use 50)
In rare cases, you'll need to add extra characters, or you can replace with other letters that are already accepted as the import dialog progresses.

Something to be cognizant of:
Queries such for Grand County CO or Ada County ID will also return all results for Rio Grande County and Adams County since the former make up part of the latter in their letter structure.

Things left to build - Option to choose a member and select climbed or unclimbed, fix the query to handle the two above exceptions.

As always, if you like this kind of new content, please consider making a donation.

PostPosted: Fri Sep 19, 2008 6:15 am
by mikeofferman
Very nice John!! thanks!

PostPosted: Fri Sep 19, 2008 1:22 pm
by DSunwall
oh oh, I imported El Paso, what did I do wrong? obviously got the wrong lats and longs. I did use wgs 84

PostPosted: Fri Sep 19, 2008 1:48 pm
by John Kirk
My guess is you used some other coordinate format than decimal degrees. I get a similar result when setting to Degrees.Minutes (shows up as LAT DEG MIN and LON DEG MIN). Setting should be DD.DDD (shows up as LAT DEGREES or LON DEGREES, per the attached documentation).

PostPosted: Fri Sep 19, 2008 2:06 pm
by DSunwall
I was watching that, I am set to decmil degrees in topo. The text file has the correct lat and long, it shows up correctly in the import wizard but once it is in the waypoint window the lat and long have changed. The file generated here is good, something goes wrong during the conversion in my Topo software. I'll try it tonight on my home computer.

PostPosted: Fri Sep 19, 2008 2:27 pm
by John Kirk
The default setting you have for coordinate format is irrelevant since you actually have to specify the coordinate format of the import file during import.

In decimal degrees, 38.8406 (Lat for Pikes Peak) will become 39.4010 if you import a format that is in decimal degrees and specifiy LAT DEG MIN as an import field instead of LAT DEGREES.

PostPosted: Fri Sep 19, 2008 2:35 pm
by DSunwall
ah ha, that is a little difficult to see. When you are at the "final steps" import preview window, click the column header and select latitude degrees.

for those of you who don't see everything. :roll:

it working now, thanks.

Re: Automated Topo! txt file Generation

PostPosted: Wed Apr 28, 2010 9:07 pm
by Ryan Kowalski
Hey John,

When I downloaded some of the .txt files today, the peak names were shortened to 10 charachters within the .txt file. Am I doing something wrong here?

Re: Automated Topo! txt file Generation

PostPosted: Wed Apr 28, 2010 10:04 pm
by John Kirk
Ryan Kowalski wrote:Hey John,

When I downloaded some of the .txt files today, the peak names were shortened to 10 charachters within the .txt file. Am I doing something wrong here?


Ten characters is the max # characters most GPS units allow. In the file you download, ten characters are already programmatically pre-assigned unique identifiers if a duplicate exists (suffixes). If you were to try to load your GPS using TOPO! and have names that are duplicates within the first ten characters, TOPO! will prompt you to resolve the duplicates one by one (this can be very tedious). Better than overwriting the last similar waypoint without your knowledge though. The txt files do all this work for you in the ten characters.

Re: Automated Topo! txt file Generation

PostPosted: Wed Apr 28, 2010 10:20 pm
by Ryan Kowalski
Is that a new thing? I downloaded some of my old .txt files and they had more than that. I liked having the whole name of each peak but maybe that's just me. I use TOPO but don't use a GPS. I'm half old-school.

Re: Automated Topo! txt file Generation

PostPosted: Thu Apr 29, 2010 12:15 pm
by PaulStratmoen
I just stumbled upon this feature this morning (because of Ryan's forum post). Very cool! This is going to make my future trip planning much easier. :-D Just downloaded the Jeffco ranked summits. Thanks Mr. :wiz:. I'm going to need to look through those other tools on the site too to see what else I've been missing!

Re: Automated Topo! txt file Generation

PostPosted: Sun May 30, 2010 11:42 am
by davebobk47
Having some problems loading a .gpx file, maybe someone can help me...

I generated the file with the GPX tool just like I've generated the TOPO! files in the past. I try to open it in Garmin MapSource so I can load it on my GPS but MapSource says it's not a valid gpx file. What am I doing wrong?

Re: Automated Topo! txt file Generation

PostPosted: Sun May 30, 2010 1:50 pm
by JoeGrim
I've encountered that type of thing before. What I've done is to open up the file using Topofusion (topofusion.com) and then just resaved it in Topofusion. After this simple maneuver, my Mapsource program was able to open it up.

Re: Automated Topo! txt file Generation

PostPosted: Mon May 31, 2010 11:32 am
by John Kirk
davebobk47 wrote:Having some problems loading a .gpx file, maybe someone can help me...

I generated the file with the GPX tool just like I've generated the TOPO! files in the past. I try to open it in Garmin MapSource so I can load it on my GPS but MapSource says it's not a valid gpx file. What am I doing wrong?


I hadn't considered MapSource before. I added stuff to the header/dtd of the gpx file that seems to be more MapSource friendly, so it should work fine now. Still works in TOPO! as well.

Re: Automated Topo! txt file Generation

PostPosted: Mon May 31, 2010 9:05 pm
by davebobk47
Thanks John, it works great.

Never had any issues in TOPO!