geographic-center
JavaScript module for calculating the geographic center of given (probably somewhat inexact) GPS/WGS84 coordinates located in a zone with a maximal width of 200km.
Made during DB Open Data Tech Hackday on 17./18.06.2016.
Usage
const geocenter = let points = lat: 52523370725444884 lon: 13359761238098145 lat: 52522328870925726 lon: 1336810827255249 lat: 5252602355445194 lon: 13368194103240967let center = // {lat: 52.5239077824627, lon: 13.365354502660765}
Contributing
If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.