java - JSI RTree implementation "contains" method giving incorrect results? -


i trying use jsi rtree implementation https://github.com/aled/jsi index geo locations application. load 7m entries , query using contains method bounding box around states of massachusetts , connecticut. results come not in bounding box. user error or bug in rtree implementation?

here bounding box:

rectangle r = new rectangle(-73.630f,43.185f,-69.675f,40.946f);

one of many incorrect results returned one

"lon" : -74.24565887, "lat" : 40.66231918

...but many of them farther out of box.

i have checked haven't accidentally mapped ids in index incorrectly wrong data.

when did initial testing added couple dozen points index , queried bounding box , found results accurate. i'm stumped. has advice.

author of jsi here. initial thoughts problem way you're using library.

if raise issue on github enough information reproduce i'll take look.


Comments