GPS data
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 10
- Joined: Sat Aug 22, 2009 6:48 am
GPS data
Greetings! I am fairly new to Live Code. I'm a hobbyist programmer. For a living I do a lot of road traveling. I am curious. Is there a way to access GPS data from Live Code somehow? There are a lot of thing I could do to make my life a lot easier if there was a way to keep track of my location in a car using GPS. I'm not interested in directions, just the current location of where I am -- city, state, county, etc. I'm sure there isn't a native way to do this. But what kind of hack could I do? If I was going to target a specific system, it would be Windows based workstations. For instance, there are commercial USB GPS devices that simply plug into your computer. That's what I want to do. I want to be able to grab accurate information about my location. If I could do that, there's a virtual endless amount of opportunities for me. Any suggestions?
-
- Livecode Opensource Backer
- Posts: 89
- Joined: Mon Jul 19, 2010 6:59 am
- Location: Illinois, USA
Re: GPS data
The short answer:
If your GPS device is NMEA compliant like the Globalsat BU 353, then it transmits serial data via usb. LC can read data from a serial device, so it would just be up to you to parse and display.
Perhaps if necessary, someone more knowledgeable than I could give you a more detailed answer. I'm still very much a LC newbie.
If your GPS device is NMEA compliant like the Globalsat BU 353, then it transmits serial data via usb. LC can read data from a serial device, so it would just be up to you to parse and display.
Perhaps if necessary, someone more knowledgeable than I could give you a more detailed answer. I'm still very much a LC newbie.
-
- Posts: 10
- Joined: Sat Aug 22, 2009 6:48 am
Re: GPS data
Hey, thanks a lot! I'm sure it is possible. I might have to jump through a few hoops, but it shouldn't be too difficult. I've worked with Java, Python, Perl, C# and a few others. LC is a breeze compared to what else is available. By all means, anyone else out there with more information, please explaindeebee wrote:The short answer:
If your GPS device is NMEA compliant like the Globalsat BU 353, then it transmits serial data via usb. LC can read data from a serial device, so it would just be up to you to parse and display.
Perhaps if necessary, someone more knowledgeable than I could give you a more detailed answer. I'm still very much a LC newbie.