You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "Dominik Riemer (Jira)" <ji...@apache.org> on 2022/11/26 17:57:00 UTC
[jira] [Commented] (STREAMPIPES-641) Improve Distance Calculator with more accuracy
[ https://issues.apache.org/jira/browse/STREAMPIPES-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17639529#comment-17639529 ]
Dominik Riemer commented on STREAMPIPES-641:
--------------------------------------------
This issue has been migrated to https://github.com/apache/streampipes/issues/796
> Improve Distance Calculator with more accuracy
> ----------------------------------------------
>
> Key: STREAMPIPES-641
> URL: https://issues.apache.org/jira/browse/STREAMPIPES-641
> Project: StreamPipes
> Issue Type: Sub-task
> Reporter: Florian Micklich
> Assignee: Florian Micklich
> Priority: Major
> Labels: Subta
> Fix For: 1.0.0
>
> Attachments: City_Koords.csv
>
>
> at the moment the Haversine formula is used to calculate the distance between 2 lat/lng spherical points. Using the Vincenty solutions leads to a more accurate result
> https://github.com/apache/streampipes/tree/dev/streampipes-extensions/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/processor/staticdistancecalculator
> The distance is calculated from a static point
> Berlin
> lat 52.520008
> lng 13.404954
> ||city|| distance_sp|| distance Vincenty || alpha ||
> |Karlsruhe| 524.871 | 525.735 | -0.864 |
> | Sidney | 16094.221| 16088.138 | 6.083 |
> |Hamburg | 255.306 | 256.015 | -0.709 |
> | New York | 6384.996 | 6402.425 | -17.429 |
> Backgroundinfo https://www.neovasolutions.com/2019/10/04/haversine-vs-vincenty-which-is-the-best/
> Testdata:
> [^City_Koords.csv]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)