<div dir="ltr">cool. Thanks to both of you.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 29 Nov 2020 at 23:16, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On dimanche 29 novembre 2020 22:45:59 CET Paul Harwood wrote:<br>
> Hi<br>
> <br>
> I am asking just in case someone has solved this problem already.<br>
> <br>
> Does anyone know of a way to load NMEA format GPS data as OGR points in<br>
> GDAL?<br>
<br>
Yes, through the GPSBabel driver<br>
( <a href="https://gdal.org/drivers/vector/gpsbabel.html" rel="noreferrer" target="_blank">https://gdal.org/drivers/vector/gpsbabel.html</a> ) provided the gpsbabel <br>
executable is accessible through the PATH.<br>
<br>
$ echo '$GPGGA,194546.127,5231.525,N,01323.391,E,1,12,1.0,0.0,M,0.0,M,,*6E<br>
$GPGSA,A,3,01,02,03,04,05,06,07,08,09,10,11,12,1.0,1.0,1.0*30<br>
$GPRMC,194546.127,A,5231.525,N,01323.391,E,2372.1,093.7,200220,000.0,W*40<br>
$GPGGA,194547.127,5231.456,N,01324.467,E,1,12,1.0,0.0,M,0.0,M,,*63<br>
$GPGSA,A,3,01,02,03,04,05,06,07,08,09,10,11,12,1.0,1.0,1.0*30<br>
$GPRMC,194547.127,A,5231.456,N,01324.467,E,3968.7,122.8,200220,000.0,W*4F<br>
$GPGGA,194548.127,5230.657,N,01325.713,E,1,12,1.0,0.0,M,0.0,M,,*6F<br>
$GPGSA,A,3,01,02,03,04,05,06,07,08,09,10,11,12,1.0,1.0,1.0*30<br>
$GPRMC,194548.127,A,5230.657,N,01325.713,E,3968.7,122.8,200220,000.0,W*43' > <br>
test.nmea<br>
<br>
$ ogrinfo test.nmea<br>
INFO: Open of `test.nmea'<br>
using driver `GPSBabel' successful.<br>
1: tracks (Multi Line String)<br>
2: track_points (Point)<br>
<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</blockquote></div>