Static property to get/set maximum levels used by internal quad tree data structure

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Property QuadTreeMaxLevels As Integer
	Get
	Set
C#
public static int QuadTreeMaxLevels { get; set; }
Visual C++
public:
static property int QuadTreeMaxLevels {
	int get ();
	void set (int value);
}
JavaScript
EGIS.ShapeFileLib.ShapeFile.get_quadTreeMaxLevels = function();
EGIS.ShapeFileLib.ShapeFile.set_quadTreeMaxLevels = function(value);

Remarks

Internally a quad tree data structure is used as an in memory spatial index to speed up methods to find the closest shape or intersecting records. Use this method to control the maximum number of levels used in the quad tree.

Setting a higher level will generally produde increased performance, but will use more memory and take longer to create the quad tree.

The default number of levels is 8.

See Also