apache / sedona

A cluster computing framework for processing large-scale geospatial data

Home Page:https://sedona.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

confuse about ST_DistanceSphere and ST_DistanceSpheroid

MyqueWooMiddo opened this issue · comments

When calculating point to non-point with ST_DistanceSphere and ST_DistanceSpheroid , both functions use centroid rather than closest point?
I think this is unreasonable , and ST_Distance using JTS's distance , the result is reasonable.

@MyqueWooMiddo Unfortunately, the spheroid distance lib used in Sedona only works for points. It does not take non-point objects as input.