testing/time tests.x.rb
# MAYBE MAKE THIS A COUPLE OF METHODS 
MAYBE MAKE THIS A COUPLE OF METHODS
MAYBE MAKE THIS A COUPLE OF METHODS
def latlon(line)
  line =~ /<trkpt lat=\"(\-?[\d\.]+)\" lon=\"(\-?[\d\.]+)\">/ 
  return alatlon=[$1,$2]
end
def latlon ( line ) line =~ / <trkpt lat= \" ( \- ?[ \d \. ]+) \"  lon= \" ( \- ?[ \d \. ]+) \" > / return alatlon = [ $1 , $2 ] end
MAYBE MAKE THIS A COUPLE OF METHODS
MAYBE MAKE THIS A COUPLE OF METHODS
#  Extracting lat and lon from trkpt line  # <trkpt lat="38.329948" lon="-119.636582"> # this shows format of the line with lat and lon # (\-?[\d\.]+) gets the sign and the digits # lat = $1,  lon = $2
line
<not_specific>