halley123 / open-gpstracker

Automatically exported from code.google.com/p/open-gpstracker
0 stars 1 forks source link

GPX export precision is too low, so it creates weird walking tracks in Google Earth #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Export a GPX file from a track with a negative, large coordinate.  For
example: <trkpt lat="37.8657" lon="-122.305">

What is the expected output? What do you see instead?

It appears that the precision of "lon=" is truncated by one (maybe more)
digits.

What version of the product are you using? On what operating system?

v0.9.14 on Moto Cliq

Please provide any additional information below.

This should be pretty easy to fix.  In GpxCreator.serializeWaypoints() you
just need to do your own formatting of the Double before passing the value
to the serializer.

Original issue reported on code.google.com by je...@lmi.net on 11 Mar 2010 at 5:20

GoogleCodeExporter commented 8 years ago
Might be the same as Issue 61

Original comment by rcgr...@gmail.com on 12 Mar 2010 at 8:45

GoogleCodeExporter commented 8 years ago

Original comment by rcgr...@gmail.com on 21 Jul 2010 at 7:08