geokdbush icon indicating copy to clipboard operation
geokdbush copied to clipboard

Range method that handles date line wrapping

Open mourner opened this issue 8 years ago • 2 comments

KDBush already has a range method, but geokdbush should have a wrapper around it that handles the date line wrapping.

mourner avatar Mar 18 '17 16:03 mourner

I would also love to see this

sthomp avatar Sep 08 '17 00:09 sthomp

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.

DanLatimer avatar May 10 '19 14:05 DanLatimer