Changeset 119

Show
Ignore:
Timestamp:
10/30/07 19:54:55 (1 year ago)
Author:
vud1
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pytrainer/trunk/mozpytrainer.sh

    r39 r119  
    11#/bin/sh 
    22 
    3 LD_LIBRARY_PATH=/usr/lib/firefox python pytrainer.py 
     3LD_LIBRARY_PATH=/usr/lib/firefox MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 
  • pytrainer/trunk/pytrainer/extensions/googlemaps.py

    r108 r119  
    4343                cachefile = extensiondir+"/%d.gpx" %id_record 
    4444                if not os.path.isfile(cachefile): 
    45                         trackdistance = "10
     45                        trackdistance = "100
    4646                        gpxfile = self.conf.getValue("gpxdir")+"/%s.gpx" %id_record 
    4747                        os.system("gpsbabel -t -i gpx -f '%s' -x position,distance=%sm -o gpx -F %s" %(gpxfile,trackdistance,cachefile)) 
  • pytrainer/trunk/pytrainer/lib/gpx.py

    r107 r119  
    6565                stylefile = self.data_path+"pytrainer.style" 
    6666                tmpfile = self.conf.getValue("tmpdir")+"/gps.txt" 
    67                 os.system("gpsbabel -t -i gpx -f '%s' -x position,distance=1m -o xcsv,style=%s -F %s" %(self.filename, stylefile,tmpfile)) 
     67                os.system("gpsbabel -t -i gpx -f '%s' -x position,distance=100m -o xcsv,style=%s -F %s" %(self.filename, stylefile,tmpfile)) 
    6868                return tmpfile 
    6969