Closed hcho3 closed 7 months ago
The use of the Haversine distance from cuSpatial is no longer up to date in examples rapids-ec2-mnmg and rapids-autoscaling-multi-tenant-kubernetes.
rapids-ec2-mnmg
rapids-autoscaling-multi-tenant-kubernetes
cuspatial.haversine_distance( df["pickup_longitude"], df["pickup_latitude"], df["dropoff_longitude"], df["dropoff_latitude"], )
should be updated to
pickup = cuspatial.GeoSeries.from_points_xy( part[["pickup_longitude", "pickup_latitude"]].interleave_columns() ) dropoff = cuspatial.GeoSeries.from_points_xy( part[["dropoff_longitude", "dropoff_latitude"]].interleave_columns() ) res = cuspatial.haversine_distance(pickup, dropoff) res.index = part.index return res
to use the latest API.
Fixed by #336 and #329
The use of the Haversine distance from cuSpatial is no longer up to date in examples
rapids-ec2-mnmg
andrapids-autoscaling-multi-tenant-kubernetes
.should be updated to
to use the latest API.