You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to calculate the height of an R-tree after inserting my data set. Based on my understanding, I've attempted to use the properties of the index to calculate the height, but the results don't seem right.
Here's the data and the method I used:
leaf_capacity=100internalNode_capacity=100pagesize=4096fanout=113n=len(LandPolygons) # The size of my datasetM=internalNode_capacityL=leaf_capacityh=1# Starting with the leaf levelwhilen>L* (M** (h-1)):
h+=1print("Height of r-tree:", h)
When using a dataset of about one million polygons, I consistently get a height of 2, which doesn't seem right. Could someone help me identify where I might be making an error, or offer insights on how the height should be correctly calculated?
Any help or pointers would be much appreciated!
The text was updated successfully, but these errors were encountered:
Hello all,
I've been trying to calculate the height of an R-tree after inserting my data set. Based on my understanding, I've attempted to use the properties of the index to calculate the height, but the results don't seem right.
Here's the data and the method I used:
When using a dataset of about one million polygons, I consistently get a height of 2, which doesn't seem right. Could someone help me identify where I might be making an error, or offer insights on how the height should be correctly calculated?
Any help or pointers would be much appreciated!
The text was updated successfully, but these errors were encountered: