... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in duration shown for my tracks
#11
Now 1.28.4 is available - does it fix the problem?
--
Christian
Reply
#12
(16.07.2009, 22:07)routeconverter Wrote: Now 1.28.4 is available - does it fix the problem?

1.28.4 exe version for windows starts up with the 18:00:00 showing and ends up with with 21:20:00 showing, so the quick answer is no...

JAR version has same result. Starts showing 18:00:00 and ends showing 21:20:00 with the file I last used. Log file for today is below...

INFO: Started RouteConverter 1.28.4 from July 15, 2009 on Windows XP 5.1 x86 with Java 1.6.0_14
Jul 16, 2009 5:26:47 PM slash.navigation.gui.SingleFrameApplication createFrame
INFO: Graphics device is \Display0
Jul 16, 2009 5:26:48 PM slash.navigation.util.Externalization extractFile
INFO: Extracting bin/windows/x86/IeEmbed.exe to C:\DOCUME~1\BOBRSH~1.000\LOCALS~1\Temp\routeconverter\IeEmbed.exe
Jul 16, 2009 5:26:48 PM slash.navigation.util.Externalization extractFile
INFO: Extracting bin/windows/x86/jdic.dll to C:\DOCUME~1\BOBRSH~1.000\LOCALS~1\Temp\routeconverter\jdic.dll
Jul 16, 2009 5:26:48 PM slash.navigation.util.Externalization loadLibrary
INFO: Loaded system library C:\DOCUME~1\BOBRSH~1.000\LOCALS~1\Temp\routeconverter\jdic.dll
Jul 16, 2009 5:26:48 PM slash.navigation.NavigationFileParser read
INFO: Reading 'file:/C:/Documents%20and%20Settings/Bob.RSH.000/My%20Documents/ASUS%20GPS/2009%2007%2014%201237.gpx' with a buffer of 1056404 bytes
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Screen size is java.awt.Rectangle[x=0,y=0,width=1680,height=1050]
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1605 for preferenceWidth to [0;2147483647] gives 1605
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1605 for width to [-4;1688] gives 1605
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 911 for preferencesHeight to [0;2147483647] gives 911
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 911 for height to [-4;1058] gives 911
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame size is java.awt.Dimension[width=1605,height=911]
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 76 for x to [-4;83] gives 76
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value -2 for y to [-4;147] gives -2
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame location is java.awt.Point[x=76,y=-2]
Jul 16, 2009 5:26:48 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame state is 0
Jul 16, 2009 5:26:49 PM slash.navigation.util.Externalization extractFile
INFO: Extracting slash/navigation/converter/gui/mapview/routeconverter.html to C:\DOCUME~1\BOBRSH~1.000\LOCALS~1\Temp\routeconverter\routeconverter.html
Jul 16, 2009 5:26:52 PM slash.navigation.NavigationFileParser internalRead
INFO: Detected 'GPS Exchange Format 1.0 (*.gpx)' file with 1 route(s) and [12001] positions
Jul 16, 2009 5:26:52 PM slash.navigation.converter.gui.panels.ConvertPanel$23 run
INFO: Opened: C:\Documents and Settings\Bob.RSH.000\My Documents\ASUS GPS\2009 07 14 1237.gpx
Jul 16, 2009 5:26:53 PM slash.navigation.converter.gui.mapview.JdicMapView createDragListenerServerSocket
INFO: MapView listens on port 3724 for dragging
Jul 16, 2009 5:26:54 PM slash.navigation.converter.gui.mapview.JdicMapView$6 run
INFO: MapView position updated for 0 positions
Jul 16, 2009 5:26:54 PM slash.navigation.converter.gui.mapview.JdicMapView calculateSignificantPositionsForZoomLevel
INFO: zoomLevel 9 < 16 threshold 320.0 significant positions 7 calculated in 219 milliseconds
Jul 16, 2009 5:26:55 PM slash.navigation.converter.gui.mapview.JdicMapView$5 run
INFO: MapView updated for 7 positions of type Track, recentering: true
Jul 16, 2009 5:26:56 PM slash.navigation.converter.gui.mapview.JdicMapView calculateSignificantPositionsForZoomLevel
INFO: zoomLevel 13 < 16 threshold 20.0 significant positions 33 calculated in 360 milliseconds
Jul 16, 2009 5:26:56 PM slash.navigation.converter.gui.mapview.JdicMapView$5 run
INFO: MapView updated for 33 positions of type Track, recentering: false
Jul 16, 2009 5:28:40 PM slash.navigation.converter.gui.mapview.JdicMapView dispose
INFO: MapViewPositionUpdater stopped after 0 ms
Jul 16, 2009 5:28:40 PM slash.navigation.converter.gui.mapview.JdicMapView dispose
INFO: MapViewRouteUpdater stopped after 0 ms
Jul 16, 2009 5:28:40 PM slash.navigation.converter.gui.mapview.JdicMapView dispose
INFO: MapView dispose stopped after 203 ms
Jul 16, 2009 5:28:40 PM slash.navigation.converter.gui.mapview.JdicMapView dispose
INFO: MapViewDragListenerSocket stopped after 203 ms
Jul 16, 2009 5:28:40 PM slash.navigation.converter.gui.mapview.JdicMapView dispose
INFO: MapViewDragListener stopped after 203 ms
Jul 16, 2009 5:28:40 PM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing frame location as java.awt.Point[x=76,y=-2]
Jul 16, 2009 5:28:40 PM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing frame size as java.awt.Dimension[width=1605,height=911]
Jul 16, 2009 5:28:40 PM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing frame state as 0
Jul 16, 2009 5:28:40 PM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing graphics device as \Display0
Jul 16, 2009 5:28:40 PM slash.navigation.converter.gui.RouteConverter shutdown
INFO: Shutdown RouteConverter 1.28.4 from July 15, 2009 on Windows XP 5.1 x86 with Java 1.6.0_14
Jul 16, 2009 5:29:46 PM slash.navigation.converter.gui.RouteConverter startup
INFO: Started RouteConverter 1.28.4 from July 15, 2009 on Windows XP 5.1 x86 with Java 1.6.0_14
Jul 16, 2009 5:29:46 PM slash.navigation.gui.SingleFrameApplication createFrame
INFO: Graphics device is \Display0
Jul 16, 2009 5:29:47 PM slash.navigation.util.Externalization loadLibrary
INFO: Loaded system library C:\DOCUME~1\BOBRSH~1.000\LOCALS~1\Temp\routeconverter\jdic.dll
Jul 16, 2009 5:29:47 PM slash.navigation.NavigationFileParser read
INFO: Reading 'file:/C:/Documents%20and%20Settings/Bob.RSH.000/My%20Documents/ASUS%20GPS/2009%2007%2014%201237.gpx' with a buffer of 1056404 bytes
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Screen size is java.awt.Rectangle[x=0,y=0,width=1680,height=1050]
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1605 for preferenceWidth to [0;2147483647] gives 1605
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1605 for width to [-4;1688] gives 1605
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 911 for preferencesHeight to [0;2147483647] gives 911
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 911 for height to [-4;1058] gives 911
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame size is java.awt.Dimension[width=1605,height=911]
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 76 for x to [-4;83] gives 76
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value -2 for y to [-4;147] gives -2
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame location is java.awt.Point[x=76,y=-2]
Jul 16, 2009 5:29:47 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame state is 0
Jul 16, 2009 5:29:50 PM slash.navigation.converter.gui.mapview.JdicMapView createDragListenerServerSocket
INFO: MapView listens on port 3758 for dragging
Jul 16, 2009 5:29:50 PM slash.navigation.converter.gui.mapview.JdicMapView$6 run
INFO: MapView position updated for 0 positions
Jul 16, 2009 5:29:51 PM slash.navigation.NavigationFileParser internalRead
INFO: Detected 'GPS Exchange Format 1.0 (*.gpx)' file with 1 route(s) and [12001] positions
Jul 16, 2009 5:29:51 PM slash.navigation.converter.gui.panels.ConvertPanel$23 run
INFO: Opened: C:\Documents and Settings\Bob.RSH.000\My Documents\ASUS GPS\2009 07 14 1237.gpx
Jul 16, 2009 5:29:51 PM slash.navigation.converter.gui.mapview.JdicMapView$5 run
INFO: MapView updated for 0 positions of type Track, recentering: true
Jul 16, 2009 5:29:51 PM slash.navigation.converter.gui.mapview.JdicMapView$6 run
INFO: MapView position updated for 0 positions
Jul 16, 2009 5:29:52 PM slash.navigation.converter.gui.mapview.JdicMapView calculateSignificantPositionsForZoomLevel
INFO: zoomLevel 13 < 16 threshold 20.0 significant positions 33 calculated in 360 milliseconds
Jul 16, 2009 5:29:53 PM slash.navigation.converter.gui.mapview.JdicMapView$5 run
INFO: MapView updated for 33 positions of type Track, recentering: true
Jul 16, 2009 5:29:54 PM slash.navigation.converter.gui.mapview.JdicMapView$5 run
INFO: MapView updated for 33 positions of type Track, recentering: false
Reply
#13
(16.07.2009, 22:35)RsH Wrote: 1.28.4 exe version for windows starts up with the 18:00:00 showing and ends up with with 21:20:00 showing, so the quick answer is no...

Ok, that is a lot more difficult than I've thought. And the tips from various Internet sources don't point into the right direction. What worked for me is the following code sequence:

Quote:Calendar calendar = Calendar.getInstance();
calendar.clear();
calendar.add(Calendar.MILLISECOND, (int)milliSeconds);
Date date = calendar.getTime();
MessageFormat.format("{0,time,HH:mm:ss}", date);

Please try the 1.28.6 version?s
--
Christian
Reply
#14
Quote:Please try the 1.28.6 version?

That seems to have solved the problem. Now it starts with 0:00:00 and ends up with the correct duration.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)