paleolimbot commented on issue #1156: URL: https://github.com/apache/sedona-db/issues/1156#issuecomment-5268498769
Thanks for opening...not good! I believe we're using the custom rewrite of geo's distance algorithm for this (geo-generic-alg). A quick fix would be to switch to GEOS, although this will slow things down quite a bit. A more robust fix would be to use tg's edge iteration primitives to calculate the distance, where we get the benefit of the concurrent edge index when computing distances between complex shapes (e.g., a scalar representing a complex admin boundary). We could also try to patch the geo distance algorithm but their "intersects" is slow and will also probably slow things down by quite a bit. -- 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]
