Range method that handles date line wrapping
mourner opened this issue · comments
Volodymyr Agafonkin commented
KDBush already has a range
method, but geokdbush
should have a wrapper around it that handles the date line wrapping.
Scott Thompson commented
I would also love to see this
Daniel Latimer commented
I would love this too. For now as I don't need an exact orthogonal range (I'm only using this to reduce the set of items I need to process for efficiency) I'm changing my bounding box into a bounding circle by calculating the distance between my southWest and northEast points dividing by two and using that as my radius for the "around" function.
Just putting this comment here in case this workaround might be of help to others.