|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】odsispatialindex maxdepth and maxcoun
odsispatialindex maxdepth and maxcount
odsispatialindex maxdepth and maxcount
hi,
can you explain me how to use setmaxnodesize and setmaxtreedepth methods.
how can i optimize their use.
excuse my english
(please help me...)
spatial index is a binary tree. while building the index, each tree node is filled up to maxnodesize, until it spits to child nodes. maxtreedepth is maximum depth of this tree. if the node is at the lowest level, it will not split, even if it will contain more than maxnodesize elements.
default values are maxnodesize = 20, maxtreedepth = 30.
ideally maxtreedepth should be ~ logb((drawingextent)/(minimal element size))
vladimir
thank you for your answer.
|