Messages posted here can also be received as emails: information pre-print options:     

Templot Club Home list recently active topics
  Search  Image Gallery  My Account  Members  Help       


 
Forums and resources for users of Templot track design software about Templot Club

Please click: important information for new members and first-time visitors.
 
quick links: files, photos and messages archive on Yahoo
A single message from topic:  Making sense of program code in Lazarus   in forum:  Off track
main Templot web site

Single message by DerekStuart       Topic: Making sense of program code in Lazarus
Posted: 18 Dec 2020 18:04
 PM  Reply with quote  Reply blank  Go to topic 
DerekStuart
United Kingdom

 

view images in gallery
view images as slides
Thanks Martin
I've made a bit of a breakthrough in understanding the codes necessary to understand GPS output.

As far as I can see, standalone GPS trackers use a format known as NMEA and the output comes out like this:

$GPGGA,185259.858,5131.860,N,00007.412,W,1,12,1.0,0.0,M,0.0,M,,*73
$GPGSA,A,3,01,02,03,04,05,06,07,08,09,10,11,12,1.0,1.0,1.0*30
$GPRMC,185259.858,A,5131.860,N,00007.412,W,,,181220,000.0,W*6F

This is the location of the passenger footbridge at Kings Cross, platform 8.

Although I don't know how to do it- yet- I'm sure when the time comes, parsing this into the format required by a map won't be a problem. You were dead right in what you once said to me- this is addictive once you get on a roll.


Rob,
There aren't enough Twiglets on planet Earth for the both of us. I suggest instead we just collect small tree branches and dip them in Marmite.

Derek

EDIT: Clarification: As I understand it NMEA is the standard method of GPS operation for the USA's system and how some/ many GPS units work internally; this does not necessarily mean they output in this format to the end user. 


Last edited on 18 Dec 2020 18:11 by DerekStuart


A single message from topic:  Making sense of program code in Lazarus   in forum:  Off track
about Templot Club

list recently active topics Templot Companion live online chat Please click: important information for new members and first-time visitors.

Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes. If you want to re-publish any of this material or use it commercially, you must first obtain the owner's permission to do so.

The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason.
Problems with this web site? Contact webmaster@templot.com.
Powered by UltraBB - © 2009 Data 1 Systems