All Projects → jftuga → geodist

jftuga / geodist

Licence: MIT license
Golang package to compute the distance between two geographic latitude, longitude coordinates

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to geodist

haversine-geolocation
Get distances between two points or get closest position to current point. Based on the Haversine Formula
Stars: ✭ 20 (-84.96%)
Mutual labels:  distance, geolocation, haversine
laravel-geoly
Perform fast and efficient radius searches on your Laravel Eloquent models.
Stars: ✭ 25 (-81.2%)
Mutual labels:  distance, geolocation
geo
Geospatial primitives and algorithms for Crystal
Stars: ✭ 17 (-87.22%)
Mutual labels:  geolocation, haversine
Geolocation Python
Geolocation is simple google maps api for python users. This application allows you to get information about given location Application returns such information as: country, city, route/street, street number, reverse geocode, lat and lng, travel distance and time for a matrix of origins and destinations.
Stars: ✭ 77 (-42.11%)
Mutual labels:  distance, geolocation
captAR
Augmented Reality Geolocation Capture-the-Flag Mobile Game Capstone Project
Stars: ✭ 24 (-81.95%)
Mutual labels:  geolocation
ember-cli-geo
Geolocation service for Ember.js web apps
Stars: ✭ 48 (-63.91%)
Mutual labels:  geolocation
utils-do
utils-do is a javascript package that provides functionalities that'll easily help you to interact with Dominican Republic's data.
Stars: ✭ 18 (-86.47%)
Mutual labels:  geolocation
go-coronanet
Go implementation of the Corona Network
Stars: ✭ 35 (-73.68%)
Mutual labels:  distance
geolocation
A laravel integration for using the IPInfoDB and Ip2Location services
Stars: ✭ 38 (-71.43%)
Mutual labels:  geolocation
SkeletonMatching
This repository implements skeleton matching algorithm.
Stars: ✭ 30 (-77.44%)
Mutual labels:  distance
Geocoding-with-Map-Vector
Resources for the ACL 2018 publication "Which Melbourne? Augmenting Geocoding with Maps", published in July 2018.
Stars: ✭ 24 (-81.95%)
Mutual labels:  geolocation
df-aggregator
Networked DFing software that can handle multiple DOA receivers.
Stars: ✭ 47 (-64.66%)
Mutual labels:  geolocation
wifi-locate
Locates your Wi-Fi-enabled machine using Wi-Fi access points signal strengths, using Google's API
Stars: ✭ 20 (-84.96%)
Mutual labels:  geolocation
cheap-ruler-cpp
Fast approximations for common geodesic measurements
Stars: ✭ 32 (-75.94%)
Mutual labels:  distance
tinygeoip
🐉 tiny geoip microservice
Stars: ✭ 13 (-90.23%)
Mutual labels:  geolocation
distance
Go lib to calculate distance 🗺
Stars: ✭ 16 (-87.97%)
Mutual labels:  distance
lala
🌎 Analyze and generate reports of web logs (NGINX)
Stars: ✭ 59 (-55.64%)
Mutual labels:  geolocation
FakeGPS
[NOT MAINTAINED] FakeGPS driver for Windows
Stars: ✭ 85 (-36.09%)
Mutual labels:  geolocation
enmSdm
Faster, better, smarter ecological niche modeling and species distribution modeling
Stars: ✭ 39 (-70.68%)
Mutual labels:  distance
radiocells-nlp-android
radiocells.org Unified Network Location Provider
Stars: ✭ 35 (-73.68%)
Mutual labels:  geolocation

geodist

GoLang package to compute the distance between two geographic latitude, longitude coordinates

Algorithm Comparison

Example

	var newYork = geodist.Coord{Lat: 40.7128, Lon: 74.0060}
	var sanDiego = geodist.Coord{Lat: 32.7157, Lon: 117.1611}
	miles, km, ok := geodist.VincentyDistance(newYork, sanDiego)
	if !ok {
		fmt.Println("Unable to compute Vincenty Distance.")
		return
	}
	fmt.Printf(" [Vincenty] New York to San Diego: %.3f m, %.3f km\n", miles, km)

	var elPaso = geodist.Coord{Lat: 31.7619, Lon: 106.4850}
	var stLouis = geodist.Coord{Lat: 38.6270, Lon: 90.1994}
	miles, km = geodist.HaversineDistance(elPaso, stLouis)
	fmt.Printf("[Haversine] El Paso to St. Louis:  %.3f m, %.3f km\n", miles, km)

Online Calculators

Acknowledgements

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].