paleolimbot commented on issue #408:
URL: https://github.com/apache/sedona-db/issues/408#issuecomment-3612943181

   I believe the PR that removed these from the documentation has been 
merged...Matthew kindly ran all of the examples by hand which identified these 
cases nicely (we can also run the examples as a CI job but haven't implemented 
this yet).
   
   Specifically for "Distance Spheroid", a workaround ST_Distance() for 
geography. We don't have a great way to cast to geography at the moment but a 
workaround is to go through WKB. Sometime in January we will have a release 
that makes this operation faster/more ergonomic).
   
   ```sql
   SELECT ST_Distance(ST_GeogFromWKB(ST_AsBinary(geom1)), 
ST_GeogFromWKB(ST_AsBinary(geom2))) as d
   ```
   
   > Does the “use_sthenoid ” parameter in ST_KNN (A: Geometry, B: Geometry, k: 
Integer, use_sthenoid: Boolean) take effect?
   
   I believe it does!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to