rtreego icon indicating copy to clipboard operation
rtreego copied to clipboard

Add bounding box for points

Open ghost opened this issue 6 years ago • 1 comments

Seem quite weird to me that there is no way to take two points and create rect. I would expect to be able to create bounding box taking 2+ points and creating Rect based on min and max lng/lat/..(x/y/..) values.

I see there is private function for this, why not make it public?

ghost avatar Feb 03 '19 12:02 ghost

Sounds reasonable — feel free to submit a pull request.

On Sun, Feb 3, 2019 at 7:26 AM ivanjaros [email protected] wrote:

Seem quite weird to me that there is no way to take two points and create rect. I would expect to be able to create bounding box taking 2+ points and creating Rect based on min and max lng/lat/..(x/y/..) values.

I see there is private function for this, why not make it public?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dhconnelly/rtreego/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYx_4Md0-sPNBLBRuWWbaUs3RoqoMqQks5vJtWEgaJpZM4agFJV .

dhconnelly avatar Feb 03 '19 13:02 dhconnelly