Convert NMEA to SHP
Turn NMEA files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop NMEA files on the dialor turn it to pick what to do
A zipped shapefile of your GPS log.Fixes become one track with times and heights. Each shape type gets its own shapefile.
What you get
One zip file. It holds a shapefile for each kind of geometry the log produces among points, lines and polygons. Each shapefile has its .shp, .shx, .dbf, .prj and .cpg parts, in the source's coordinate system, with the attributes stored as UTF-8 columns.
The fixes in the log become one track. Each fix keeps its time, height, satellite count and dilution values. Heights stay in the shapes as Z and in the ele column of points.
What changes or is dropped
Speed and course are dropped. Sentences with a wrong checksum are skipped, so those fixes do not appear.
A shapefile has no type for times, so times become text. Column names are cut to 10 characters. Lists and nested values become JSON text. Features without a geometry are left out, and so are columns that no feature fills.
Layers and column names
A layer column names the GPX layer each feature comes from: waypoints, routes, tracks, route_points or track_points. Waypoints become points, routes become lines and tracks become multilines with a part for each segment.
Every route and track point also becomes a point of its own. It carries its time in UTC and the values the device logged with it, such as satellites, heart rate as hr and cadence as cad. The track_fid and route_fid columns tie each point to its track or route.
Longer names are shortened: track_seg_id, track_seg_point_id and route_point_id become trksegid, trksegptid and rteptid.
NMEA and SHP.What each format is.
The formats
NMEA Log
Raw sentences from a GPS receiver.
- Extensions
- .nmea
- MIME type
- text
/x -nmea - Kind
- Text and data
Shapefile
Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.
- Extensions
- .shp.zip .shz .shp
- MIME type
- application
/x -shapefile +zip - Kind
- Text and data
In your code.The same NMEA to SHP conversion through the API, for your app or your agent.
$ cv convert report.nmea report.shp.zip$ cv convert report.nmea report.shp.zipQuestions.What people ask about NMEA to SHP.
A shapefile for each kind of geometry among points, lines and polygons. Each has its .shp, .shx, .dbf, .prj and .cpg parts.
No. Speed and course are dropped. Time, height, satellite count and dilution values are kept.
They are skipped and do not appear in the shapefile.
As text, since a shapefile has no type for times. Point times are in UTC.