TransWikia.com

How to convert negative NMEA latitude and longitude values ('S' and 'W')?

Geographic Information Systems Asked by P N R on February 8, 2021

I’m getting from GPS data in the form of NMEA. There I’m getting positive latitude and longitude values(‘N’ and ‘E’).

How do I convert the negative latitude and longitude values(‘S’ and ‘W’) into decimal degree format.

One Answer

Have a look at this tutorial. It may be able to help you out. Also, depending on how you are getting the data, you may have built in ways to convert it. For instance, if you're reading the NMEA stream via something like a Trimble SDK, they usually have converters in there.

I also remember that if you're using a .NET program, there were numerous converters out there as open source. For my application build in .NET, I ended up just writing my own algorithm to convert NMEA streams to decimal degrees.

This post outlines some programming parts to it. If you're not looking to use a programmatic method to convert it, there are converters online such as this one from the US FTC.

Answered by Branco on February 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP