Java GPS data editor/viewer "Prune"

In my last entry, I uploaded a Google Map data which has way too many 'point's. So, I think it made browsers stop for upto 10 seconds to load all of them. I apologize for that.

So, now I want to 'prune' some points from that JavaScript part in the html generated by SportTracks FTPPlugin. While I'm googling, I stumbled upon a open source Java program called 'Prune'.

Activity Workshop - Prune
is an application for viewing, editing and converting coordinate data from GPS systems. Basically it's a tool to let you play with your GPS data after you get home from your trip.

Now, I want to load point data to Prune. I could have extracted those latitude/longtitude data from directly off MySQL to a file. But.., call me lazy and unloyal, I just used 'sed' on the html. Well, maybe Prune will have JDBC interface some day.
$ sed -n 's/\^.\*pts.\*new GLatLng(\\([0-9.]\*\\), \\([0-9.]\*\\)).\*$/\\1,\\2/p' /tmp/half-marathon.html > /tmp/points.data

Here's a screenshot. I can manually pick points to delete. Or let Prune do some 'intelligent' pruning.


Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today