All Projects → vanng822 → gps-util

vanng822 / gps-util

Licence: MIT license
GPS related functionalities for nodejs

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gps-util

xavc rtmd2srt
Extract real time meta-data and GPS tracks from Sony XAVC video
Stars: ✭ 29 (-6.45%)
Mutual labels:  gps, gps-data
vx8 gps
DIY GPS module for Yaesu VX-8DR/VX-8DE handheld transceiver.
Stars: ✭ 41 (+32.26%)
Mutual labels:  gps, gps-data
GPSMachineLearning
No description or website provided.
Stars: ✭ 122 (+293.55%)
Mutual labels:  gps, gps-data
Maps
🌍🌏🌎 The whole world fits inside your cloud!
Stars: ✭ 253 (+716.13%)
Mutual labels:  gps
rpi boat utils
Utilities for Raspberry Pi, mostly for usage on a boat. Includes UART control scripts, traffic measurement tools for Mikrotik (RouterOS) and OpenWrt, AIS wireless daemon, AIS decoder and an extensible boat & IoT sensor daemon for Signal K.
Stars: ✭ 71 (+129.03%)
Mutual labels:  gps
beboptwo4g
4G/LTE softmod for the Parrot Bebop 2
Stars: ✭ 50 (+61.29%)
Mutual labels:  gps
Guidancesteering
Guidance Steering (AutoTrack) for Farming Simulator 19.
Stars: ✭ 228 (+635.48%)
Mutual labels:  gps
LocationShare
A simple Android application to share your location
Stars: ✭ 75 (+141.94%)
Mutual labels:  gps
geospatial-storytelling
Visualization of gps tracking data
Stars: ✭ 20 (-35.48%)
Mutual labels:  gps-data
realtime-geolocation
Geolocation tracking app with Node.js, Socket.io, & AngularJS
Stars: ✭ 29 (-6.45%)
Mutual labels:  gps
jsigc
A browser-based viewer for gliding flight recorder logs.
Stars: ✭ 23 (-25.81%)
Mutual labels:  gps
nmea msgs
nmea_msgs is a ROS package containing messages related to the NMEA standard
Stars: ✭ 21 (-32.26%)
Mutual labels:  gps
Python-NEO-6M-GPS-Raspberry-Pi
Python script for the NEO-6M GPS module on the Raspberry Pi
Stars: ✭ 41 (+32.26%)
Mutual labels:  gps
aw-clock
Astronomy/weather clock
Stars: ✭ 41 (+32.26%)
Mutual labels:  gps
FusedBulb
Location fetch library.
Stars: ✭ 22 (-29.03%)
Mutual labels:  gps
erlymon
Open Source GPS Tracking System
Stars: ✭ 32 (+3.23%)
Mutual labels:  gps
Map Based Visual Localization
A general framework for map-based visual localization. It contains 1) Map Generation which support traditional features or deeplearning features. 2) Hierarchical-Localizationvisual in visual(points or line) map. 3)Fusion framework with IMU, wheel odom and GPS sensors.
Stars: ✭ 229 (+638.71%)
Mutual labels:  gps
esp32 gps thingy
GPS location provider and distance measurement with ESP32
Stars: ✭ 36 (+16.13%)
Mutual labels:  gps
spoofgo
An Application for Spoofing Movement written in Golang
Stars: ✭ 15 (-51.61%)
Mutual labels:  gps
JT808Platform
简单的JT808车辆监控平台
Stars: ✭ 97 (+212.9%)
Mutual labels:  gps

gps-util

GPS related functionalities. For getting and deleting gps info on an image one need to install exiftool.

http://www.sno.phy.queensu.ca/~phil/exiftool/index.html

Make sure exiftool is executable. if you have to install it manually on linux you can try ./scripts/install_exiftool.sh

Functions

getDistance(lng1, lat1, lng2, lat2)

Calculate distance of 2 given points

  • lng1 longitude of point 1 in decimal degrees
  • lat1 latitude of point 1 in decimal degrees
  • lng2 longitude of point 2 in decimal degrees
  • lat2 latitude of point 2 in decimal degrees

getTotalDistance(points)

Calculate total distance of a serial of points

  • points array of point, example

    [{lat: 59.19288511388004, lng: 17.66255029477179 },{ lat: 59.19290036894381, lng: 17.662896132096648 }]

getBoundingBox(lat, lng, distance)

  • lat latitude of the center, in decimal degrees.
  • lng longitude of the center, in decimal degrees.
  • distance radius that spans the bounding box, in meters.

return an array containing 2 points that represent the bounding box.

getMidPoint(points)

  • points list of coordinate, each point with properties lat and lng

return Object/point with lat and lng

toDMS(decDegrees)

Convert decimal degrees to degrees, minutes and seconds (return an object)

getDMSLatitude(decDegrees)

Return a string representation in DMS format, ie 59° 19' 59.88" N

getDMSLongitude(decDegrees)

Return a string representation in DMS format, ie 18° 3' 0" E

toDD(degrees, minutes, seconds)

Convert to decimal degrees

gpxParse(data, callback)

  • data xml string of gpx format
  • callback function which take 2 arguments, error and result

gpxParseFile(filename, callback)

  • filename file to parse the data in of gpx format
  • callback function which take 2 arguments, error and result

gpxParseURL(url, callback)

  • url where the gpx data is located
  • callback function(error, result)

toGPX(trackingResult, callback, name)

  • trackingResult
  • callback function(error, result)
  • name the name you want to call for this gpx document

toKml(points, callback)

  • points Track points for instance returned value from gpxParse or tcxParse
  • callback function(error, result)

tcxParse(data, callback)

  • data xml string of tcx format
  • callback function which take 2 arguments, error and result

tcxParseFile(filename, callback)

  • filename file to parse the data in of tcx format
  • callback function which take 2 arguments, error and result

tcxParseURL(url, callback)

  • url where the tcx data is located
  • callback function(error, result)

calculateFromGPX(points, callback, fromIndex, toIndex)

  • points Track points for instance returned value from gpxParse
  • callback function(error, result) result is a TrackingResult (see calc.js for details)
  • fromIndex Integer from 0
  • toIndex Integer from 1

imageGpsInfo(image, callback)

  • image path to image to get GPS info
  • callback function(error, result)

removeGPSInfo(image, callback)

  • image path to image to delete GPS info
  • callback function(error, result) result is boolean

geohashEncode(latitude, longitude, precision)

  • latitude decimal latitude of the gps position
  • longitude decimal longitude of the gps position
  • precision number of chars to represent the gps position, default 12

geohashDecode(hash)

  • hash hashed string representing the gps position
  • return object of latitude, longitude, error
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].