pairwise distance for 2 geopoints

Deep
Deep Registered Posts: 1

Is there any tool available to calculate pairwise distance.

I have 2 different geo points available in dataframe .

Answers

  • Yasmine_T
    Yasmine_T Registered Posts: 15 ✭✭

    Hi,

    I hope that you are doing well.

    From my understanding you have two columns (col_1 and col_2) with both geopoint data and would like to calculate the distance between these two points as output in a third column (col_3).

    If that is the case, we do have a processor called geo distance that is meant to computes the geodesic distance between a geospatial column and another geospatial object. The computation outputs a number of distance units (kilometers, miles) in another column.

    In the case of a distance between two geometries, the distance is the shortest distance between these two.

    (see: https://doc.dataiku.com/dss/latest/preparation/processors/geo-distance.html).

    We have a step by step tutorial available here: https://knowledge.dataiku.com/latest/data-preparation/prepare-recipe/tutorial-geo-processing.html#compute-the-distance-between-two-geopoints

    If this does not cover your use case/your request is different, please let me know!

    Best,

    Yasmine