HomeMicrosoft Streets and Trips › Exporting to GPX in Streets & Trips 2010

Exporting to GPX in Streets & Trips 2010

Reply to Thread
Page 1 of 2
bbowers
Member
When I manually input a Pushpin (POI) it will typically have a Name on the first line, then on the second line (directly below the Name in the Pushpin Information window) I'll enter the address, the next line will be city, and so on.

When you export this set of Pushpin's to a GPX file all this information will be in the GPX file.

Here's an example:
<wpt lat="31.838445287678" lon="-99.576849796374"><name>Lakeside Park (COE)</name><desc>230 Friendship Park Rd
325-625-2322</desc></wpt>

And this is what I want. However, if you have imported a .csv, or .txt, file and maybe you make some additions or changes, then try exporting these Pushpin's/POI's to a .GPX file the only thing that gets exported are the Lat/Long coordinates and the Name. None of the Address, City, state, etc. will be exported.

Can anyone tell me why this happens? And if there's a correct way to export it so this data will be in the .GPX file?
Ken in Regina
Senior Member
It sounds like the problem is in the import, not the export. Is there some way to tell how the data was stored in the pushpin when it's imported? eg. Properties, or something similar, that will give you a clue if the "<desc>" information is in the second line after import like it is when you enter it manually?

I haven't done an import for awhile so I don't recall ... can you specify in the import wizard where the various bits of information go when they are imported? I've only imported Excel files, never CSV or TXT, so I'm kind of clueless about what Streets might do with them.

...ken...
bbowers
Member
Thanks for responding Ken.
I noticed when you import a .txt file via the Import Data Wizard all the POI's have a blank line following the Name title. See Photo:

<edit>Expired link removed</edit>

However when you create your own Pushpin to represent a POI and enter the data by hand, you typically fill in the second line, the one just below the Name (top part of the information section) and so on. See the following photo:

<edit>Expired link removed</edit>

every thing is just fine when you export.

So I'm wondering why does Importing a .TXT file via Import Data Wizard always leave the second line blank?

By the way Ken, I still haven't been able to get the Location and Scale Toolbar to not come up everytime S&T starts. Weird.
Ken in Regina
Senior Member
I created a .TXT file with the following line in it (except it had a real address):

Quote:
My Home, 123 Any Street, Regina, SK, Canada
In the import data wizard I set the fields to:

Quote:
Name
Address 1
City
Province
Country/Region
When I clicked Finish it imported the data and placed the pushpin in the correct location on the map.

There was no blank line in the information balloon.

When I exported the data to GPX the description was there.

Quote:
<wpt lat="50.xxxxxxxxxx" lon="-104.xxxxxxxxxx">
<name>My Home</name>
<desc>123 Any Street, Regina SK, Canada</desc>
It looks like you just need to set the fields properly in the import data wizard and it will work fine.

I don't know what to say about the Location & Scale toolbar. All I have to do is make sure it's turned off when I exit and when I run it the next time it's still off. Messing with the settings doesn't make any difference if I don't have it turned off when I exit.

I can't remember if I said it last time but I'm just running the program with the default map. If you're doing something different to run the program I can't say whether my experience will apply or not.

...ken...
bbowers
Member
Thanks for the info... I don't know what's happening. I'm not new to this at all. I've been using Streets and Trips since 2001 and importing all kinds of .txt files for years. I've never noticed this before, but then I've never exported this way. Meaning I've noticed it now because of S&T 2010's ability to export to a .GPX which I like, not only for the actual .GPX file but it's easy to edit the file and convert it to a .TXT file. I've created and uploaded some of these .txt files to Discovery Owners and the POI Factory Web site's for others to use. Mostly related to RV'ers.

I did go back and try S&T 2009 on my laptop and noticed the same thing with respect to the blank line. Again getting the blank line when importing. I also tried it on a old desktop I still have that has S&T 2007 on it. S&T 2007 did NOT add the blank line.

As far as the Location & Scale toolbar I've tried it with the default map and it's still the same, always comes up turned on.

By the way, are you running Windows XP or Vista? I'm running Windows XP SP3. Maybe this has something to do with it.

Thanks again for your efforts.
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
I just very quickly tested the import of .txt in the new 2010 version of Streets & Trips, and I didn't experience any issue. See the attached two screen shots.

Could you attach the .txt file you are unable to import successfully?
Attached Thumbnails
import-test-1-20091014.gif   import-test-2-20091014.gif  
SpadesFlush
Senior Member
Quote:
Originally Posted by bbowers
...

As far as the Location & Scale toolbar I've tried it with the default map and it's still the same, always comes up turned on.

...
Yes, that's my experience, too.
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
It seems that the new S&T2010 feature (Tools|Options|Map|Save) doesn't save everything. It saves the map position, but it doesn't save the user's choice of pane. To accomplish that we still have to do it the old way, "Save as Template": How to Customize the Default Map Template - Windows Live
bbowers
Member
Marvin, I see the difference. It's what is used to match. Meaning when matching the location from the address as you did it works.

So it appears when the matching information is the Latitude,Longitude this is when it adds the blank line. And apparently the blank line is what causes it to drop the other information when exporting to .GPX

Normally this wouldn't be a problem except a lot of times you can't use addresses as the matching information because there are many times S&T can't find a particular address. The only alternative is to use lat/long.

I guess this isn't that much of a problem unless when you export to .GPX, if you want all the data, not just the location and name, you're out of luck.
bbowers
Member
Quote:
SpadesFlush... Yes, that's my experience, too.
Thanks I was beginning to think I was going bat's. Are you running XP or Vista?
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
It should work fine even when lat/long is used:
Attached Thumbnails
import-test-3-20091014.gif   import-test-4-20091014.gif  
SpadesFlush
Senior Member
Quote:
Originally Posted by bbowers
Thanks I was beginning to think I was going bat's. Are you running XP or Vista?
XP
Ken in Regina
Senior Member
Quote:
Originally Posted by bbowers
Thanks I was beginning to think I was going bat's. Are you running XP or Vista?
Running XP Pro SP3.

What are you doing in the import wizard? Are you matching the screenshots that Marvin posted and making sure that you use the correct field names for each field? That's what I did and works just like it did for Marvin; it never shows a blank line.

Are you trying to use a file with a mixture of addresses and lat/long coordinates?

...ken...
bbowers
Member
Ken... Yes, I'm using the lat/long as the matching component. Here's a sample of one record out of one of the files. Have no choice but to use lat/long coordinates because many of the street addresses don't exist in S&T, as is the case with this sample record.

Golden Hassan Casino,32.22238,-112.51311,HWY 8,Ajo AZ

I'm not sure what you mean by using a file with a mixture of addresses and lat/long coordinates. It doesn't matter because when you import the file you chose which set of data will be the matching component. The default is Street Address, but when you set the F's for Lat, and Long, this changes the matching component to lat/long and ignores the Street Address.

Marvin... on the sample you did you didn't have any data after the lat/long. Try the sample I included here and see if you get the blank line between the lat/long and the Street Address which is Hwy 8. This blank line that I always get seems to be what deletes all but lat/long and Name fields when exporting to .GPX
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
It still appears to work just fine, even with your data:
Attached Thumbnails
import-test-5-20091014.gif   import-test-6-20091014.gif  
© Laptop GPS WorldContact Resources Site Map