You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by GitBox <gi...@apache.org> on 2022/11/26 12:54:01 UTC
[GitHub] [streampipes] dominikriemer opened a new issue, #283: Increase Accuracy of the Geo Distance Calculation
dominikriemer opened a new issue, #283:
URL: https://github.com/apache/streampipes/issues/283
At the moment the Distance Calculation and Static Distance Calulation are using the using the ‘haversine’ formula [1].
But the result can be improved:
Issue:
Calc distance between Karlsruhe and New York:
StreamPipes: 6230.166 km
reference PostGIS: 6246.970 km
\--\> Difference of ~17 km or 0,26 % error
Calc distance between Karlsruhe and Rastatt:
StreamPipes: 21.87866 km
reference PostGIS: 21.908 km
\--\> Difference of ~0,029 km or 0,13 % error
Solution:
Using GeographicLib as Library under MIT Licende [3][4]
Using Geodesy Algorithm resolving different problems mentions in this paper [5]
[1] https://www.movable-type.co.uk/scripts/latlong.html
[3] https://mvnrepository.com/artifact/net.sf.geographiclib/GeographicLib-Java/1.50
[4] https://geographiclib.sourceforge.io/html/java/
[5] https://link.springer.com/article/10.1007/s00190-012-0578-z
Imported from Jira [STREAMPIPES-131](https://issues.apache.org/jira/browse/STREAMPIPES-131). Original Jira may contain additional context.
Reported by: micklich.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [streampipes] dominikriemer closed issue #283: Increase Accuracy of the Geo Distance Calculation
Posted by GitBox <gi...@apache.org>.
dominikriemer closed issue #283: Increase Accuracy of the Geo Distance Calculation
URL: https://github.com/apache/streampipes/issues/283
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org