kemnet
Posts: 26
Joined: Sat Aug 10, 2013 12:11 am

Extracting data from GPS device to Python

Fri Mar 18, 2016 1:36 am

I have purchased this GPS device GPS Receiver - GP-735 (56 Channel) along with another device needed to connect to is VIA USB.

My ultimate goal is to get latitude and longitude information FROM the device (or any other information I would like) from the device and place it in a python script, Or basically just access the "latitude"/"longitude" information given by the device from a python script.

Apart from connecting the device via usb, I have no idea how to extract this information and turned to this forum for help.

I have looked at this forum where the author's goal seemed similar to mine. However I can't make much of it.

Hoping I could be pointed on the right path to extract data from my device.

Thank you.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Extracting data from GPS device to Python

Fri Mar 18, 2016 8:09 am

You propably want to use GPSD to manage the device :

http://www.danmandle.com/blog/getting-g ... th-python/


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

kemnet
Posts: 26
Joined: Sat Aug 10, 2013 12:11 am

Re: Extracting data from GPS device to Python

Fri Mar 18, 2016 2:11 pm

Seems perfect,
Just hope GPSd will work with this device (will be wiring it to USB)

http://www.amazon.com/gp/product/B01BVZ ... ge_o00_s00

gordon77
Posts: 5036
Joined: Sun Aug 05, 2012 3:12 pm

Re: Extracting data from GPS device to Python

Fri Mar 18, 2016 4:20 pm

here's an example using python...

viewtopic.php?f=91&t=90715&p=653120#p653120

you may have to change the port '/dev/ttyUSB0' to suit.

Return to “Automation, sensing and robotics”