Very simple application of GPS road registration.
Emergency system for recording traces of ULM competitions.
The generated files are in CSV format. They can be transmitted to a server via a webservice very easy to implement.
The URL of the webservice is configurable.
PHP webservice example:
ob_start ();
$ sRepTraceGPS = "myrep";
$ json = array ("success" => true);
$ jsonDataIN = json_decode ($ _ POST ["json"], true);
for ($ f = 0; $ f {
$ sFileBase = $ sRepTraceGPS. "/". $ JsonDataIN [$ f] [ "file_name"];
file_put_contents ($ sFileBase, $ jsonDataIN [$ f] ["contents"]);
}
$ json ["nb_trace"] = count ($ jsonDataIN);
ob_clean ();
header ("Content-type: text / html; charset = utf-8");
echo json_encode ($ json);
?>
Emergency system for recording traces of ULM competitions.
The generated files are in CSV format. They can be transmitted to a server via a webservice very easy to implement.
The URL of the webservice is configurable.
PHP webservice example:
ob_start ();
$ sRepTraceGPS = "myrep";
$ json = array ("success" => true);
$ jsonDataIN = json_decode ($ _ POST ["json"], true);
for ($ f = 0; $ f {
$ sFileBase = $ sRepTraceGPS. "/". $ JsonDataIN [$ f] [ "file_name"];
file_put_contents ($ sFileBase, $ jsonDataIN [$ f] ["contents"]);
}
$ json ["nb_trace"] = count ($ jsonDataIN);
ob_clean ();
header ("Content-type: text / html; charset = utf-8");
echo json_encode ($ json);
?>
Show More