Serial port and GPS

GpsxTest Class

Command line test program for creating Gpsx files

For a list of all members of this type, see GpsxTest Members.


[Visual Basic]
Public Class GpsxTest
public class GpsxTest

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Reads lines from stdin in format: latitute longitutde elevation each double in local fomat. Creates a GPX output describing the path from the input file.


Assuming locales requiring a comma as decimal point:

C:\>type path.txt
12,1234 49,2345 401,5
12,1244 49,2355 402,5
12,1254 49,2365 403,5

C:\>gpsx.exe path.gpx < path.txt

C:\>type path.gpx
<?xml version="1.0" encoding="utf-8"?>
<gpx xmlns="">
  <wpt lat="12.1234" lon="49.2345">
  <wpt lat="12.1244" lon="49.2355">
  <wpt lat="12.1254" lon="49.2365">
  <bounds minlat="12.1234" minlon="49.2345"
             maxlat="12.1254" maxlon="49.2365" />


Namespace: serial

Assembly: gpsx (in gpsx.exe)

See Also

GpsxTest Members | serial Namespace | Gpsx