Skip to content

RtreeSpatialIndex

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
RtreeSpatialIndex()
RtreeSpatialIndex(String)
RtreeSpatialIndex(String,FileAccess)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
CanDelete Boolean N/A
DataFormat RtreeSpatialIndexDataFormat N/A
HasIdx Boolean N/A
IsOpen Boolean N/A
PageSize Int32 Property PageSize.
PathFilename String N/A
ReadWriteMode FileAccess N/A

Protected Properties Summary

Name Return Type Description
IsOpenCore Boolean N/A

Public Methods Summary

Name
Add(BaseShape)
Add(Feature)
Close()
CreatePointSpatialIndex(String)
CreatePointSpatialIndex(String,RtreeSpatialIndexPageSize)
CreatePointSpatialIndex(String,RtreeSpatialIndexPageSize,RtreeSpatialIndexDataFormat)
CreateRectangleSpatialIndex(String)
CreateRectangleSpatialIndex(String,RtreeSpatialIndexPageSize)
CreateRectangleSpatialIndex(String,RtreeSpatialIndexPageSize,RtreeSpatialIndexDataFormat)
Delete(Feature)
Delete(BaseShape)
DeleteRecord(BaseShape)
Dispose()
Equals(Object)
Flush()
GetBestPageSize(Int32)
GetBoundingBox()
GetFeatureCount()
GetFeatureIdsContainingRectangleShape(RectangleShape)
GetFeatureIdsIntersectingBoundingBox(RectangleShape,Double,Double,Int32,Collection<RectangleShape>)
GetFeatureIdsIntersectingBoundingBox(RectangleShape)
GetFeatureIdsNearestTo(PointShape,Int32)
GetFeatureIdsWithinBoundingBox(RectangleShape)
GetHashCode()
GetType()
IsRtreeSpatialIndexFileValid(String)
Open()
RefreshCache()
ToString()

Protected Methods Summary

Name
AddCore(Feature)
CloseCore()
DeleteCore(Feature)
Finalize()
GetFeatureCountCore()
GetFeatureIdsContainingRectangleShapeCore(RectangleShape)
GetFeatureIdsIntersectingBoundingBoxCore(RectangleShape)
GetFeatureIdsNearestToCore(PointShape,Int32)
GetFeatureIdsWithinBoundingBoxCore(RectangleShape)
GetRoot()
MemberwiseClone()
OnStreamLoading(StreamLoadingEventArgs)
OpenCore()

Public Events Summary

Name Event Arguments Description
StreamLoading StreamLoadingEventArgs N/A

Members Detail

Public Constructors

Name
RtreeSpatialIndex()
RtreeSpatialIndex(String)
RtreeSpatialIndex(String,FileAccess)

Protected Constructors

Public Properties

CanDelete

Summary

N/A

Remarks

N/A

Return Value

Boolean


DataFormat

Summary

N/A

Remarks

N/A

Return Value

RtreeSpatialIndexDataFormat


HasIdx

Summary

N/A

Remarks

N/A

Return Value

Boolean


IsOpen

Summary

N/A

Remarks

N/A

Return Value

Boolean


PageSize

Summary

Property PageSize.

Remarks

N/A

Return Value

Int32


PathFilename

Summary

N/A

Remarks

N/A

Return Value

String


ReadWriteMode

Summary

N/A

Remarks

N/A

Return Value

FileAccess


Protected Properties

IsOpenCore

Summary

N/A

Remarks

N/A

Return Value

Boolean


Public Methods

Add(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
baseShape BaseShape N/A

Add(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
feature Feature N/A

Close()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

CreatePointSpatialIndex(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pathFilename String N/A

CreatePointSpatialIndex(String,RtreeSpatialIndexPageSize)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pathFilename String N/A
pageSize RtreeSpatialIndexPageSize N/A

CreatePointSpatialIndex(String,RtreeSpatialIndexPageSize,RtreeSpatialIndexDataFormat)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pathFilename String N/A
pageSize RtreeSpatialIndexPageSize N/A
dataFormat RtreeSpatialIndexDataFormat N/A

CreateRectangleSpatialIndex(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pathFilename String N/A

CreateRectangleSpatialIndex(String,RtreeSpatialIndexPageSize)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pathFilename String N/A
pageSize RtreeSpatialIndexPageSize N/A

CreateRectangleSpatialIndex(String,RtreeSpatialIndexPageSize,RtreeSpatialIndexDataFormat)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pathFilename String N/A
pageSize RtreeSpatialIndexPageSize N/A
dataFormat RtreeSpatialIndexDataFormat N/A

Delete(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
feature Feature N/A

Delete(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
baseShape BaseShape N/A

DeleteRecord(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
shape BaseShape N/A

Dispose()

Summary

This method is targeting releasing or resetting unmanaged resources.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Equals(Object)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

Flush()

Summary

Write memory to disk if modified.

Remarks

N/A

Return Value

Type Description
Void true for success false for failure

Parameters

Name Type Description
N/A N/A N/A

GetBestPageSize(Int32)

Summary

Static method for getting the best page size according to the record count of a ShapeFile.

Remarks

N/A

Return Value

Type Description
RtreeSpatialIndexPageSize best page size

Parameters

Name Type Description
recordCount Int32 Record count of ShapeFile.

GetBoundingBox()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetFeatureCount()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetFeatureIdsContainingRectangleShape(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
boundingBox RectangleShape N/A

GetFeatureIdsIntersectingBoundingBox(RectangleShape,Double,Double,Int32,Collection<RectangleShape>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
rectangleShape RectangleShape N/A
screenWidth Double N/A
screenHeight Double N/A
simplifyPixelBufferSize Int32 N/A
dimensionlessBoxes Collection<RectangleShape> N/A

GetFeatureIdsIntersectingBoundingBox(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
boundingBox RectangleShape N/A

GetFeatureIdsNearestTo(PointShape,Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
pointShape PointShape N/A
maxReturningCount Int32 N/A

GetFeatureIdsWithinBoundingBox(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
boundingBox RectangleShape N/A

GetHashCode()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

IsRtreeSpatialIndexFileValid(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
indexFileName String N/A

Open()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

RefreshCache()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

ToString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

Protected Methods

AddCore(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
feature Feature N/A

CloseCore()

Summary

Close a previously opened index file.

Remarks

N/A

Return Value

Type Description
Void true for success false for failure

Parameters

Name Type Description
N/A N/A N/A

DeleteCore(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
feature Feature N/A

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

GetFeatureCountCore()

Summary

Get the count of all records in all leaf nodes.

Remarks

N/A

Return Value

Type Description
Int32 record count

Parameters

Name Type Description
N/A N/A N/A

GetFeatureIdsContainingRectangleShapeCore(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
rectangleShape RectangleShape N/A

GetFeatureIdsIntersectingBoundingBoxCore(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
boundingBox RectangleShape N/A

GetFeatureIdsNearestToCore(PointShape,Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
pointShape PointShape N/A
maxReturningCount Int32 N/A

GetFeatureIdsWithinBoundingBoxCore(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<String> N/A

Parameters

Name Type Description
boundingBox RectangleShape N/A

GetRoot()

Summary

Get the root node.

Remarks

N/A

Return Value

Type Description
Node root node

Parameters

Name Type Description
N/A N/A N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

OnStreamLoading(StreamLoadingEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e StreamLoadingEventArgs N/A

OpenCore()

Summary

Open an existing index file as read only.

Remarks

N/A

Return Value

Type Description
Void true for success false for failure

Parameters

Name Type Description
N/A N/A N/A

Public Events

StreamLoading

N/A

Remarks

N/A

Event Arguments

StreamLoadingEventArgs