rapidsai / cuspatial

CUDA-accelerated GIS and spatiotemporal algorithms
https://docs.rapids.ai/api/cuspatial/stable/
Apache License 2.0
612 stars 154 forks source link

`pairwise_distance(mixed_geometry_column lhs, mixed_geometry_column rhs)` support #1058

Open isVoid opened 1 year ago

isVoid commented 1 year ago

pairwise_distance is the last step of ST_Distance(geometric). It computes shortest distances between two mixed geometric columns.

After implementing mixed geometry column in libcuspatial #1057 , the interface can accept two mixed geoemtry columns. It then needs to resort to a dispatching mechanism to find the corresponding computing kernel between each geometry combination. This dispatching mechanism should be independent from the distance implementation itself since it can be reused throughout every other symmetric binary operations.

### Tasks
- [ ] Implement `symmetric_operation_double_dispatch`
- [ ] Implement `pairwise_distance`
harrism commented 1 year ago

Please describe.