OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OkMap Forum - English
 General topics, announcements
 OkMap live protocol v.02
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

okmap

Italy
2566 Posts

Posted - 29/10/2017 :  11:11:11  Show Profile  Visit okmap's Homepage
This is the string to send via socket to OkMap to implement live track (fields are separated by semicolon):

Original
01. Id (sender identification); any string that identify your sender
02. Longitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
03. Latitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
04. Altitude (meters); negative for deep
05. Date-Time (MM/dd/yyyy hh:mm:ss); universal time format
06. Speed (km/h); Double.MinValue if not specified
07. Bearing (0-359.9999…); Double.MinValue if not specified
08. Track tickness in pixel (Integer); optional, if not specified will be used the value specified in preferences
09. Track color (integer ARGB 32 bit); optional, if not specified will be used the value specified in preferences

Example:
TestLive;9.137600913291672;45.506435647252495;202.2;06/08/2012 15:09:47;0;0;3;-65536;



From 10.10.1 version (backward compatible)

01. Record version = $OKMAP-V01
02. Id (sender identification); any string that identify your sender
03. Longitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
04. Latitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
05. Altitude (meters); negative for deep
06. Date-Time (MM/dd/yyyy hh:mm:ss); universal time format
07. Speed (km/h); Double.MinValue if not specified
08. Bearing (0-359.9999…); Double.MinValue if not specified
09. Flag new segment (0=false, 1=true); not significant for first point (0 or 1)
10. Track tickness in pixel (Integer); optional, if not specified will be used the value specified in preferences
11. Track color (integer ARGB 32 bit); optional, if not specified will be used the value specified in preferences

Example:
$OKMAP-V01;TestLive;9.137600913291672;45.506435647252495;202.2;06/08/2012 15:09:47;0;0;0;3;-65536;



From 13.8.0 version (backward compatible)
Track point

01. Record version = $OKMAP-V02
02. Record type (T = track point)
03. Id (sender identification); any string that identify your sender
04. Longitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
05. Latitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
06. Altitude (meters); negative for deep
07. Date-Time (MM/dd/yyyy hh:mm:ss); universal time format
08. Speed (km/h); Double.MinValue if not specified
09. Bearing (0-359.9999…); Double.MinValue if not specified
10.. Flag new segment (0=false, 1=true); not significant for first point (0 or 1)
11. Track tickness in pixel (Integer); optional, if not specified will be used the value specified in preferences
12. Track color (integer ARGB 32 bit); optional, if not specified will be used the value specified in preferences

Example:
$OKMAP-V02;T;TestLive;9.137600913291672;45.506435647252495;202.2;06/08/2012 15:09:47;0;0;0;3;-65536;

Waypoint

01. Record version = $OKMAP-V02
02. Record type (W = waypoint)
03. Id (sender identification); any string that identify your sender
04. Name
05. Comment
06. Description
07. Source
08. Link
09. Symbol
10. Type
11. Longitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
12. Latitude (decimal degrees); datum is specified in Preferences NMEA (default WGS84)
13. Altitude (meters); negative for deep
14. Date-Time (MM/dd/yyyy hh:mm:ss)

Example:
$OKMAP-V02;W;TestLive;WptName;Comment;Description;;;;;9.137600913291672;45.506435647252495;202.2;06/08/2012 15:09:47;
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07