On Monday August 18, [EMAIL PROTECTED] 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

_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to