Closed GoogleCodeExporter closed 9 years ago
As one can check easily, search tolerates coordinate values ending in a decimal
point (dot). Nevertheless it won't harm to leave a ".0".
I'm hesitant wrt/ shortening coordinates for e.g. GPX files. At least my Oregon
always writes 6 decimal places (the Nüvi does 8!). No stripping of trailing 0s.
geo-html2gpx apparently drops trailing 0s though, and I haven't heard of any
complaints.
To play sufficiently safe:
- all <%wp.???data%> become <%out.???datapad6%>
- search arguments are cropped
but
- ???datapad6 doesn't get shortened
that's what now is in my branch.
I'd love to get more input concerning precisions in files, in particular in
GPX, output or accepted by various programs and devices.
Original comment by Steve8x8
on 5 Mar 2012 at 2:01
Coordinates now have max. 6 decimal places (corresponding to sub-meter
precision), and trailing 0's are safely removed in search URLs.
Original comment by Steve8x8
on 14 Mar 2012 at 1:52
Original issue reported on code.google.com by
Steve8x8
on 4 Mar 2012 at 8:58