GPX file import

Post Reply
gazzat5
Junior Member
Posts: 8
Joined: Sun Jul 11, 2010 6:30 am

GPX file import

Post by gazzat5 » Wed Jul 21, 2010 10:27 am

The ability to import gps data from a gpx file (gps track) would be awesome for those without the ability to reliably connect their gps.

It provides gps data every few seconds, so I doubt this would be as accurate, but may still be workable. Here's a snippet of data:

Code: Select all

   <trkpt lat="51.226563" lon="-0.171037">
    <ele>84.328</ele>
    <time>2007-12-30T18:17:14Z</time>
   </trkpt>
   <trkpt lat="51.225005" lon="-0.171076">
    <ele>83.642</ele>
    <time>2007-12-30T18:17:25Z</time>
   </trkpt>
   <trkpt lat="51.223560" lon="-0.169560">
    <ele>83.075</ele>
    <time>2007-12-30T18:17:37Z</time>
   </trkpt>
   <trkpt lat="51.220583" lon="-0.169452">
    <ele>80.858</ele>
    <time>2007-12-30T18:17:49Z</time>
   </trkpt>
I've attached a full gpx log, it's XML and the schema is http://www.topografix.com/GPX/1/1/gpx.xsd
Unfortunately it doesn't provide accuracy data which is also a pain but hey.

What do you think?
cheers
Attachments
20100620.zip
GPS Track
(2.86 KiB) Downloaded 183 times

User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1162
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

Re: GPX file import

Post by ACalcutt » Wed Jul 21, 2010 2:02 pm

how would you envision associating a AP with this data.

The only way I can think of is doing the import for a certain access point...

I could import it as gps history, but then there would be no access points associated with it

gazzat5
Junior Member
Posts: 8
Joined: Sun Jul 11, 2010 6:30 am

Re: GPX file import

Post by gazzat5 » Sat Jul 24, 2010 5:11 am

Each gps track point has a timestamp.

Each access point signal record also has a timestamp.

Obviously they wouldn't match perfectly - this method is far from ideal. You'd have to goto the closest timestamp.

It'd be a good idea to sync your computers clock before you start as well lol.

What do you think?

User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1162
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

Re: GPX file import

Post by ACalcutt » Sat Jul 24, 2010 4:22 pm

I could use some VS1 file with matching tracks to experiment with.

I Made a test application that will Import a VS1 file then let you merge in your GPX track data. After it is done it will ask you to save the results as a new VS1 file that can be imported into vistumbler

This program is very basic...it basically just prompts for the vs1 (loads it), prompts for the gpx (imports matching gps based on time), asks to save VS1

Test files are included
test.gpx - file you uploaded
test.VS1 - old VS1 with no positions....date and time modified to match some of your gpx points
Attachments
VS1-GPX_Merge.zip
(344.26 KiB) Downloaded 158 times

Post Reply