Reader small image

You're reading from  Learning Geospatial Analysis with Python - Third Edition

Product typeBook
Published inSep 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789959277
Edition3rd Edition
Languages
Tools
Right arrow
Author (1)
Joel Lawhead
Joel Lawhead
author image
Joel Lawhead

Joel Lawhead is a PMI-certified Project Management Professional (PMP), a certified GIS Professional (GISP), and vice president of NVision Solutions, Inc., an award-winning firm specializing in geospatial technology integration and sensor engineering for NASA, FEMA, NOAA, the US Navy, and many other commercial and non-profit organizations. Joel began using Python in 1997 and started combining it with geospatial software development in 2000. He has authored multiple editions of Learning Geospatial Analysis with Python and QGIS Python Programming Cookbook, both from Packt. He is also the developer of the open source Python Shapefile Library (PyShp) and maintains a geospatial technical blog.
Read more about Joel Lawhead

Right arrow

Using GPS data

The most common type of GPS data these days is the Garmin GPX format. We covered this XML format in Chapter 4, Geospatial Python Toolbox, which has become an unofficial industry standard. Because it is an XML format, all of the well-documented rules of XML apply to it. However, there is another type of GPS data that pre-dates XML and GPX, called the National Marine Electronics Association (NMEA). This data is ASCII text sentences that are designed to be streamed.

You occasionally bump into this format from time to time because even though it is older and esoteric, it is still very much alive and well, especially for communicating ship locations via the Automated Identification System (AIS), which tracks ships globally. But as usual, you have a good option in pure Python. The pynmea module is available on PyPI. The following code is a small sample of NMEA sentences...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Geospatial Analysis with Python - Third Edition
Published in: Sep 2019Publisher: PacktISBN-13: 9781789959277

Author (1)

author image
Joel Lawhead

Joel Lawhead is a PMI-certified Project Management Professional (PMP), a certified GIS Professional (GISP), and vice president of NVision Solutions, Inc., an award-winning firm specializing in geospatial technology integration and sensor engineering for NASA, FEMA, NOAA, the US Navy, and many other commercial and non-profit organizations. Joel began using Python in 1997 and started combining it with geospatial software development in 2000. He has authored multiple editions of Learning Geospatial Analysis with Python and QGIS Python Programming Cookbook, both from Packt. He is also the developer of the open source Python Shapefile Library (PyShp) and maintains a geospatial technical blog.
Read more about Joel Lawhead