This site uses cookies to offer you a better browsing experience. Find out more about how to manage cookies, or dismiss this message and continue to use cookies.

Help with Plotting GPS Data

I have a TK-102 that sends GPS data via SMS text messages. I have many of these and would like to display all the GPS points at the same time in order to show a "route". Trying to ue the "GPS Visualizer" website, it calls my pasted GPS data "spam" and attempting to upload my android phone's .XML file causes an error message.

Here's an example of the data:
http://maps.google.com/maps?f=q&q=xx.xxxxxx,-xx.xxxxxx&z=160<_id>362</_id>;
+1xx.xxxxxx
xx.xxxxxx14443072456491-110move!
lat:xx.xxxxxx
long:-xx.xxxxxx
speed:0.00
T:15/10/08 20:27
bat:75%
http://maps.google.com/maps?f=q&q=xx.xxxxxx,-xx.xxxxxx&z=160<_id>363</_id>;
+xx.xxxxxx
xx.xxxxxx14443074248081-110move!
lat:xx.xxxxxx
long:-xx.xxxxxx
speed:0.00
T:15/10/08 20:30
bat:75%
http://maps.google.com/maps?f=q&q=xx.xxxxxx,-xx.xxxxxx&z=160<_id>364</_id>;
+xx.xxxxxx
xx.xxxxxx14443076052931-110move!
lat:xx.xxxxxx
long:-xx.xxxxxx
speed:0.00
T:15/10/08 20:33
bat:75%
http://maps.google.com/maps?f=q&q=xx.xxxxxx,-xx.xxxxxx&z=160<_id>365</_id>;
+xx.xxxxxx
Special Friend14443077844891-110move!
lat:xx.xxxxxx
long:-xx.xxxxxx
speed:0.00
T:15/10/08 20:36
bat:75%
http://maps.google.com/maps?f=q&q=xx.xxxxxx,-xx.xxxxxx&z=160<_id>366</_id>;
+xx.xxxxxx
xx.xxxxxx14443079650151-110move!
lat:xx.xxxxxx
long:-xx.xxxxxx
speed:0.00
T:15/10/08 20:39
bat:75%

Comments

  • Tim 1480 Points
    That isn't a data format I recognize, nor do I see any lat/long data that would be necessary to map. I don't know anything about the TK-102 to help you from that angle.
  • Boyd 1985 Points
    edited October 2015
    Did you edit this data to remove the actual coordinates? It contains "placeholders" instead of real coordinates, for example

    xx.xxxxxx,-xx.xxxxxx

    If these were real coordinates, it wouldn't be too hard to convert that file to a recognizable format such as .gpx. I think you would have to write some code yourself though, because as Tim says, it doesn't look like a standard format.
  • I run Linux Mint and if I HAVE to I can run Win7. What software would I have to learn how to program in order to get this GPS data into some kind of standard output?
  • Boyd 1985 Points
    I would do it with FileMaker Pro, but that is only because I'm very familiar with it and use it to convert all kinds of geodata. There would be many other ways to do this however. If you are resourceful, you could probably do it with a spreadsheet or text editor. But you need actual coordinates or there is no point. The example you posted contains no useful data.

    The GPX file is a pretty standard format for routes and tracks. A google search will provide lots of information about it, such as this wiki: https://en.wikipedia.org/wiki/GPS_Exchange_Format

    You would just need to plug the coordinates into a file with this format. Sorry, you will have to figure out the details yourself though.
  • Brankowitz 0 Points
    edited October 2015
    I find it hard to believe there isn't an "off the shelf" solution. TK-102's are very popular. I'm not the first person to run into this situation.

    Also, the re: the "useful data" statement. I "x'd" out the specific latitude and longitude coordinates. Those "x's" used to be lat & long. I figured that would be pretty obvious and self-explanatory. The example I posted shows the exact structure of the data, with the specific coordinates removed for privacy reasons. Also the phone number of the SIM card was also "x'd" out. I also entered a couple of carriage returns in between the "</SMS>" (end SMS block) and the "<SMS>" (start SMS block) so people could see where one point ended and the next point begins. The TK-102 outputs the data as a continuous stream and there are no other characters where the blocks end and start, so it looks like a mish-mash until you break them apart.

    I have a block of data with over 400 data points and I find it impossible to believe that the only solution to make this data into a useable format is by manual manipulation one point at a time.

    The TK-102's data already includes a Google Maps HTML link, with lat, long, z (elevation), point number ("id"). You'd think the visualizer would recognize this long string and simply extract the google map points and build the route. It's all right there. What if I rename the .xml file to something google maps-y? google earth? It's all right there. I don't think I need to write code to have this data read.



    Boyd said:

    I would do it with FileMaker Pro, but that is only because I'm very familiar with it and use it to convert all kinds of geodata. There would be many other ways to do this however. If you are resourceful, you could probably do it with a spreadsheet or text editor. But you need actual coordinates or there is no point. The example you posted contains no useful data.

    The GPX file is a pretty standard format for routes and tracks. A google search will provide lots of information about it, such as this wiki: https://en.wikipedia.org/wiki/GPS_Exchange_Format

    You would just need to plug the coordinates into a file with this format. Sorry, you will have to figure out the details yourself though.

  • Boyd 1985 Points
    I have no idea what commercial products might read that format. Have you contacted the company that makes the device? Seems like that would be the obvious place to start, They probably already have ways to convert to .kml or .gpx, the most common formats for exchanging data.

    You may be on the wrong website though. This site is primarily focussed on consumers who use Garmin's dedicated automotive and outdoor gps units. But perhaps someone else who uses your device will come along with an idea.
  • Any recommendations on what the best website/forum is to find out this kind of information? Or even the best keywords to use for google searches?
    Boyd said:

    I have no idea what commercial products might read that format. Have you contacted the company that makes the device? Seems like that would be the obvious place to start, They probably already have ways to convert to .kml or .gpx, the most common formats for exchanging data.

    You may be on the wrong website though. This site is primarily focussed on consumers who use Garmin's dedicated automotive and outdoor gps units. But perhaps someone else who uses your device will come along with an idea.

Sign In or Register to comment.
↑ Top