GPS logger / field data collection

Neil Brown neilb at suse.de
Tue Aug 19 02:54:36 CEST 2008


On Monday August 18, ml at e4net.com wrote:
> 
> I was kind of surprised that gpsd didn't give me a simple way to just get the current location, I 
> had to capture 5 sentences to do that simple thing, but what I really wanted was to simply get the 
> last known lat and long I was at. With the data logger I can presumably do that by getting the last 
> entry of the log.

 from the man page for gpsd

 p
           Returns the current position in the form "P=%f %f"; numbers are in
           degrees, latitude first.



$ telnet tangogps.org gpsd
Trying 82.240.156.91...
Connected to tangogps.org.
Escape character is '^]'.
p  
GPSD,P=43.739028 7.364333
^]
telnet> q
Connection closed.

43 degrees north, 7 east.


NeilBrown




More information about the community mailing list