NMEA Parser

GPS ke NMEA sentences ko coordinates, speed aur GeoJSON me badlein, checksum jaanch ke saath.

NMEA Parser poori tarah aapke browser me chalta hai: GPS log aapke device par decode hota hai, location history kabhi bahar nahi jaati.

Banaya aur maintain kiya: Udit Agarwal

GPX Viewer kholein

NMEA Parser ke baare mein

Lagbhag har GPS receiver NMEA 0183 bolta hai: comma se alag sentences jo talker id aur type se shuru hote hain aur XOR checksum par khatm. Inhe aankh se padhna thakaau aur galti-bhara hai, khaaskar isliye ki coordinates degree-aur-decimal-minute me aate hain, decimal degree me nahi. Field 4807.038,N ka matlab 48,1173 degree hai, 48,07 nahi — isi galti se point galat desh me chala jaata hai. Yeh parser GGA, RMC, GLL, VTG, GSA, GSV aur ZDA ko padhne laayak table me kholta hai aur track GeoJSON me deta hai.

Features

  • GGA, RMC, GLL, VTG, GSA, GSV aur ZDA sentences decode karta hai
  • Degree-minute ko decimal degree me sahi tareeke se badalta hai
  • Har line ka XOR checksum jaanchta aur galat ko mark karta hai
  • Samay, altitude, speed, course, fix quality aur satellites dikhata hai
  • Fixes ko GeoJSON track aur har fix ke point me export karta hai
  • Receiver kaunse sentence bhej raha hai, unki ginti

NMEA Parser kaise use karein

  1. Receiver ka log paste karein, ek line me ek sentence
  2. Decode ki hui table padhein: galat checksum mark hote hain
  3. Track geometry dekhne ke liye GeoJSON par jaayein
  4. GeoJSON download karke map ya GIS me kholein

Example

Input

$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47

Output

48.117300, 11.516667 · 12:35:19 UTC
GPS fix · 8 satellites · 545.4 m altitude

4807.038 matlab 48° 07,038′, yaani 48,1173° — 48,07 nahi, wahi galti jo point ko 50 kilometre khiska deti hai.

Common errors aur troubleshooting

  • Positions dozens kilometre door gir rahi hain. — Degree-minute field ko decimal degree padh liya gaya. Pehle ank degree hain, baaki minute jo 60 se bhaag hote hain.
  • Kisi sentence ka checksum fail hota hai. — Line kat gayi ya serial line ne bytes khoye. Checksum dollar aur asterisk ke beech sab ka XOR hai.

Aksar pooche jaane wale sawaal

NMEA 0183 kya hai?
GPS aur marine electronics ka standard sentence format: dollar, do akshar ka talker, teen akshar ka type aur comma se alag fields.
NMEA coordinates ko decimal degree me kaise badlein?
Degree aur minute alag karein: point se pehle ke aakhri do ank chhodkar sab degree hain. Minute ko 60 se bhaag dein, joden, S ya W par sign badlein.
GPGGA ka matlab kya hai?
GP GPS talker id hai aur GGA fix data sentence: samay, position, quality, satellites, HDOP aur altitude.
Kya mera GPS log upload hota hai?
Nahi. Log aapke browser me parse hota hai, isliye aap kahan the yeh jaankari device par hi rehti hai.

Related tools

  • GPX Viewer — Ek .gpx track ko map par kholein aur distance, elevation aur GeoJSON export dekhein.
  • Coordinate Converter — Ek lat/long pair ko decimal degrees, DMS aur DDM ke beech convert karein.
  • GPX se GeoJSON — GPX ko GeoJSON mein aur wapas convert karein — GPS tracks, routes aur waypoints ko GeoJSON features, ya GeoJSON ko wapas GPX file mein.
  • GeoJSON Viewer — GeoJSON ko validate karein aur map par preview karein, feature summary aur bounding box ke saath.
  • Coordinate Distance — Do coordinates ke beech great-circle distance, bearing aur midpoint nikalein.
  • Map Tile Calculator — Coordinates, XYZ, TMS aur quadkey, tile count ke saath.

Geo / Maps ke aur tools

  • Maidenhead Grid Square Converter — Coordinates ko Maidenhead locator mein aur wapas badliye, distance aur beam heading ke saath.
  • Geographic Midpoint Calculator — Do ya zyada coordinates ka asli midpoint nikaaliye, optional weights ke saath.
  • Point in Polygon Checker — Dekhiye kaunse coordinate GeoJSON ke andar aate hain.
  • Web Mercator Converter — WGS84 degree se EPSG:3857 metre aur wapas.
  • Country Code Lookup — ISO 3166-1 alpha-2, alpha-3, numeric, dial code aur ccTLD.
  • Coordinate Map Viewer — Latitude/longitude ko OpenStreetMap map par plot karein aur click se coordinates padhein.
  • GPX se GeoJSON — GPX ko GeoJSON mein aur wapas convert karein — GPS tracks, routes aur waypoints ko GeoJSON features, ya GeoJSON ko wapas GPX file mein.
  • KML se GeoJSON — KML ko GeoJSON mein aur wapas convert karein — Google Earth KML ko web maps ke liye GeoJSON banayein, ya GeoJSON ko wapas KML mein.
  • WKT se GeoJSON — WKT (Well-Known Text) ko GeoJSON mein aur wapas convert karein, aapke browser mein.
  • GeoJSON se CSV — Ek GeoJSON FeatureCollection ko CSV mein aur wapas convert karein — Point features apni properties ke saath latitude/longitude columns bante hain.
  • Plus Codes Converter — Latitude/longitude aur ek Plus Code (Open Location Code) ke beech dono taraf convert karein, cover kiye gaye bounding box aur cell size ke saath.
  • MGRS Converter — Latitude/longitude aur MGRS (Military Grid Reference System) coordinates ke beech, dono taraf convert karein, aapke browser mein.

Geo / Maps ke sabhi tools dekhein (23) · Saare tools