Re: GPSMAP 60Cx or 76Cx?




Harald Hanche-Olsen <hanche@xxxxxxxxxxxx> writes:
Assuming one trackpoint per second, that is about 120 bytes per
trackpoint. That's a lot of bytes; enough to make me wonder if they
are using an XML based format. 8-)

Sigh, they are using xml. I was really hoping it would be something
along the lines of:

float-lat
float-lon
float-altitude
int32 time

That would have been 16 bytes per trackpoint. Instead we have:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1"; creator="MapSource 6.5" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd";>
<trk>
<name>ACTIVE LOG145605</name>
<trkseg>
<trkpt lat="37.123456" lon="-121.123456">
<ele>26.106</ele>
<time>2006-06-05T21:56:05Z</time>
</trkpt>
...
</trkseg>
</trk>
</gpx>

They also only log 6 decimal places of lat/lon which seems awfully
disproportionate seeing how no other aspect of this format strives for
any kind of efficiency. If they are still using what they call
semi-circles internally, the internal representation is roughly
equivalent to 7-8 decimal places. Arbitrarily truncating it from 8
bytes to 6 in order to save 4 bytes total seems silly. After the fact
averaging could have benefited from the extra information.

;; semi-circle is 360 degrees divided into 2^32 equal parts.
(/ 360.0 (expt 2.0 32)) 8.381903171539307e-08

-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
.



Relevant Pages

  • Re: GPSMAP 60Cx or 76Cx?
    ... are using an XML based format. ... Sigh, they are using xml. ... That would have been 16 bytes per trackpoint. ... I have the GPS Utility software. ...
    (sci.geo.satellite-nav)
  • Re: GPSMAP 60Cx or 76Cx?
    ... | I guess the files are not anything as simple as ASCII text files. ... Assuming one trackpoint per second, that is about 120 bytes per ... XML is the format. ...
    (sci.geo.satellite-nav)
  • Re: Sane Syntax
    ... vital role in the future of TeX but we need some more human friendly ... Generating well formed LaTeX2e documents from XML ... Another approach is to convert existing documents to XML format and go ... TEI, together with DocBook, are the two ...
    (comp.text.tex)
  • Re: XHTML vs HTML
    ... to be the predominant type of HTML used on the web for many years yet. ... First, it is XML. ... XHTML is also ... transformed using XSL from and into virtually *any* other data format. ...
    (microsoft.public.frontpage.programming)
  • Re: text to bibliography?
    ... to xml: you can store binary data in an xml file. ... including your well-formattedbibliography(no longer in xml format). ... It is in annotated bibliographies (something Word 2007 does not ... that %I is actually the field representing the publisher. ...
    (microsoft.public.word.docmanagement)