All Projects → JamesLMilner → Cheap Ruler Go

JamesLMilner / Cheap Ruler Go

📏 cheapruler in Go: fast geodesic measurements

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Cheap Ruler Go

geodesy-php
Geodesy PHP - Port of some known geodesic/math functions for getting distance from a known point A to a known point B given their coordinates. It also supports conversion between units of length, Polar position to Cartesian coordinates, and different Reference Datums.
Stars: ✭ 26 (-85.23%)
Mutual labels:  distance, geospatial
similarity measures
Quantify the difference between two arbitrary curves in space
Stars: ✭ 140 (-20.45%)
Mutual labels:  measure, distance
geos-cli
A native geometry command line library using libgeos.
Stars: ✭ 20 (-88.64%)
Mutual labels:  geometry, geospatial
Geokit
Geo-Toolkit for PHP.
Stars: ✭ 223 (+26.7%)
Mutual labels:  geometry, distance
Cga.js
CGA 3D 计算几何算法库 | 3D Compute Geometry Algorithm Library webgl three.js babylon.js等任何库都可以使用
Stars: ✭ 313 (+77.84%)
Mutual labels:  geospatial, geometry
placekey-py
placekey.io
Stars: ✭ 49 (-72.16%)
Mutual labels:  distance, geospatial
erkir
Երկիր (Erkir) - a C++ library for geodesic and trigonometric calculations
Stars: ✭ 26 (-85.23%)
Mutual labels:  geometry, distance
ARGoal
Get more goals. | Virtual Goals & Goal Distance | App Doctor Hu
Stars: ✭ 14 (-92.05%)
Mutual labels:  measure, distance
Stereo Vision
This program has been developed as part of a project at the University of Karlsruhe in Germany. The final purpose of the algorithm is to measure the distance to an object by combining two webcams and use them as a Stereo Camera.
Stars: ✭ 160 (-9.09%)
Mutual labels:  distance, measure
Three Mesh Bvh
A BVH implementation to speed up raycasting against three.js meshes.
Stars: ✭ 302 (+71.59%)
Mutual labels:  geometry, distance
Distancemeasure
📷 An android demo which can measure the distance from user to something while taking photos ( Android 拍照测距 )
Stars: ✭ 185 (+5.11%)
Mutual labels:  distance, measure
Pas Coogeo
Pas-CooGeo is coordinate geometry library for Pascal.
Stars: ✭ 25 (-85.8%)
Mutual labels:  geometry, distance
topo
A Geometry library for Elixir that calculates spatial relationships between two geometries
Stars: ✭ 125 (-28.98%)
Mutual labels:  geometry, geospatial
TriangleMeshDistance
Header only, single file, simple and efficient C++11 library to compute the signed distance function (SDF) to a triangle mesh
Stars: ✭ 55 (-68.75%)
Mutual labels:  geometry, distance
Wicket
A modest library for moving between Well-Known Text (WKT) and various framework geometries
Stars: ✭ 484 (+175%)
Mutual labels:  geospatial, geometry
Mapbox Gl Controls
Stars: ✭ 93 (-47.16%)
Mutual labels:  distance, measure
Gismo
G+Smo (pronounced gismo or gizmo) is a C++ library for isogeometric analysis (IGA). Geometry plus simulation modules aims at the seamless integration of Computer-aided Design (CAD) and Finite Element Analysis (FEA).
Stars: ✭ 152 (-13.64%)
Mutual labels:  geometry
Code4java
Repository for my java projects.
Stars: ✭ 164 (-6.82%)
Mutual labels:  geospatial
D3 Geo Voronoi
Voronoi / Delaunay tessellations on the sphere
Stars: ✭ 155 (-11.93%)
Mutual labels:  geospatial
Funie Gan
Fast underwater image enhancement for Improved Visual Perception. #TensorFlow #PyTorch
Stars: ✭ 155 (-11.93%)
Mutual labels:  measure

Cheapruler (Go)

godoc reference

"A collection of very fast approximations to common geodesic measurements. Useful for performance-sensitive code that measures things on a city scale.

The approximations are based on an FCC-approved formula of ellipsoidal Earth projection. For distances under 500 kilometers and not on the poles, the results are very precise — within 0.1% margin of error compared to Vincenti formulas, and usually much less for shorter distances."

Usage

Here is an example of doing a distance measurement in kilometers, with a ruler Latitude of 32.8351:


cr, _ := NewCheapruler(32.8351, "kilometers")
pointA := []float64{-96.920341, 32.838261}
pointB := []float64{-96.920421, 32.838295}
dist := cr.Distance(pointA, pointB)
fmt.Println(dist)
// Output: 0.008385790760648736

Acknowledgements

Based on Vladimir Agafonkin's JavaScript library cheapruler

License

ISC License

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