RTree
RTree copied to clipboard
R-Tree Library for Javascript, optimized for maps.
how to limit the count of search rtree.bbox(area, limit) ? I want to limit max 5 feature returned by rtree.bbox(area, 5) or rtree.search(area, 5) How to do that?
#33 This patch introduces an epsilon in `overlapRectangle` to accommodate floating point precision errors when searching for exact points within an rtree. I selected `1e-6` for the epsilon, but it's...
Hi there, so I've run into an issue with floating point precision when searching for exact points in an rtree. For a demonstration of this bug, grab my test case...
The examples show how to use delete function > _###Usage: > •Deletes all object that touch the 10x10 rectangle starting at position 10x10: > • var myDelCount = myRTree.delete({x:10, y:10,...
Hi, As far as I can see, when inserting an object to structure, algorithm chooses best node based on `squarifiedRatio` ([rtree.js#L144-L161](https://github.com/leaflet-extras/RTree/blob/master/lib/rtree.js#L144-L161)) . So the more square the region is better,...
I've been tinkering with this module. In my tests this happens: 1. insert initial node 2. insert more nodes 3. perform searches for those nodes Any nodes inserted after the...
It would be nice to have a separate supported RTree implementation without the GeoJSON stuff that can be used for general use cases, and additionally a `rtree-geojson.js` extension or something...