... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dateiformat GPSlogger 2 *.gpl?
#6
(10.11.2012, 12:22)Gidiano Wrote: besteht die Möglichkeit, das Dateiformat *.gpl vom GPSlogger zu unterstützen?

Hallo Namensvetter,

wie @kumo schon herausgefunden hat: das ist eines der so ungeliebten Binärformate.

(10.11.2012, 12:22)Gidiano Wrote: Die Sources sollten dort auch als Java verfügbar sein.

Das ist immerhin ein Anfang und unter der GPL steht es auch. Der Code ist ziemlich redundant zum navigation-formats Paket von RouteConverter und läßt sich nicht einfach so übernehmen. Doch jemand müßte aus com.emacberry.gpslogger.data.Path

PHP Code:
public void write(DataOutputStream out) throws IOException { out.writeInt(GPSLOGGER_FILEFORMAT); out.writeUTF(name); out.writeLong(date.getTime()); out.writeInt(records.size()); for (int i = 0; i<records.size(); i++) { Record rec = (Record) records.elementAt(i); rec.write(out); } }

und com.emacberry.gpslogger.data.Record

PHP Code:
public void write(DataOutputStream out) throws IOException { out.writeLong(tStamp); out.writeFloat(speed); out.writeFloat(heading); out.writeFloat(alt); out.writeDouble(latitude); out.writeDouble(longitude); out.writeInt(sats); if(name==null){ out.writeUTF(""); }else{ out.writeUTF(name); } out.writeFloat(hAccuracy); out.writeFloat(vAccuracy); out.writeBoolean(isAfterPause); }

ein GpsLoggerFormat bauen können.

(10.11.2012, 12:22)Gidiano Wrote: Die Software hat zwar einen eigenen GPX Export. Durch direktes Einlesen könnte man diesen Schritt jedoch überspringen.

Ich akzeptiere Pull Requests, wenn sie der Commit Policy entsprechen Wink
--
Christian
Reply


Messages In This Thread
Dateiformat GPSlogger 2 *.gpl? - by Gidiano - 10.11.2012, 12:22
RE: Dateiformat GPSlogger 2 *.gpl? - by kumo - 10.11.2012, 15:24
RE: Dateiformat GPSlogger 2 *.gpl? - by kumo - 10.11.2012, 17:32
RE: Dateiformat GPSlogger 2 *.gpl? - by routeconverter - 10.11.2012, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)