[ https://issues.apache.org/jira/browse/SPARK-34410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283020#comment-17283020 ]
Sean R. Owen commented on SPARK-34410: -------------------------------------- More niche than haversine, so like in SPARK-34409 I'd say this doesn't need to be in Spark itself. > Vincenty distance spark function > -------------------------------- > > Key: SPARK-34410 > URL: https://issues.apache.org/jira/browse/SPARK-34410 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 3.2.0 > Reporter: Darshan Jani > Priority: Major > > Add new spark function to compute the distance between two geo-points using > vincenty distance formula > Vincenty uses the oblate spheroid whereas haversine uses unit sphere, this > will give roughly > 22m better accuracy (in worst case) than haversine > https://en.wikipedia.org/wiki/Vincenty%27s_formulae -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org