mourner / rbush

RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How are points inserted?

bryevdv opened this issue · comments

The README mentions that RBush can index points, but it also says that the data format is [minX, minY, maxX, maxY] which seems to also be reflected in the code. How are points indexed? Does it work to set minX = maxX and minY = maxY?

Yep. Edited the readme accordingly.