User Tools

Site Tools


thinkgeo.mapsuite.portablecore.rtreespatialindex

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex

<!– Class –> Rtree is a facade class of MapSuiteRtree.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodRtreeSpatialIndex DefauLb constructor.
Public MethodRtreeSpatialIndex String
Public MethodRtreeSpatialIndex String, RtreeSpatialIndexReadWriteMode

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodAddCore Feature SpatialIndex(overriden)
Protected MethodCloseCore SpatialIndex(overriden) Close a previously opened index file.
Protected MethodDeleteCore Feature SpatialIndex(overriden)
Protected MethodFinalize Object(overriden)
Protected MethodGetFeatureCountCore SpatialIndex(overriden) Get the count of all records in all leaf nodes.
Protected MethodGetFeatureIdsContainingRectangleShapeCore RectangleShape
Protected MethodGetFeatureIdsIntersectingBoundingBoxCore RectangleShape SpatialIndex(overriden)
Protected MethodGetFeatureIdsNearestToCore PointShape, Int32
Protected MethodGetFeatureIdsWithinBoundingBoxCore RectangleShape
Protected MethodMemberwiseClone Object
Protected MethodOnStreamLoading StreamLoadingEventArgs
Protected MethodOpenCore SpatialIndex(overriden) Open an existing index file as read only.

Public Properties

Name Return DeclaringType Summary
Public PropertyCanDelete Boolean SpatialIndex
Public PropertyDataFormat RtreeSpatialIndexDataFormat
Public PropertyIsOpen Boolean SpatialIndex
Public PropertyPageSize Int32 Property PageSize.
Public PropertyPathFileName String
Public PropertyReadWriteMode RtreeSpatialIndexReadWriteMode

Protected Properties

Name Return DeclaringType Summary
Protected PropertyIsOpenCore Boolean SpatialIndex

Public Events

Name Event Arguments DeclaringType Summary
Public EventStreamLoading StreamLoadingEventArgs

Public Constructors

RtreeSpatialIndex()

DefauLb constructor.

Parameters

Name Type Description

Go Back

RtreeSpatialIndex(String)

Parameters

Name Type Description
pathFileName String<!– System.String –>

Go Back

RtreeSpatialIndex(String, RtreeSpatialIndexReadWriteMode)

Parameters

Name Type Description
pathFileName String<!– System.String –>
readWriteMode RtreeSpatialIndexReadWriteMode<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexReadWriteMode –>

Go Back

Protected Constructors

Public Methods

Add(Feature)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

Add(BaseShape)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
baseShape BaseShape<!– ThinkGeo.MapSuite.PortableCore.BaseShape –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

Close()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

CreatePointSpatialIndex(String, RtreeSpatialIndexPageSize, RtreeSpatialIndexDataFormat)

<!– static –>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
pathFileName String<!– System.String –>
pageSize RtreeSpatialIndexPageSize<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexPageSize –>
dataFormat RtreeSpatialIndexDataFormat<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexDataFormat –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

CreatePointSpatialIndex(String, RtreeSpatialIndexPageSize)

<!– static –>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
pathFileName String<!– System.String –>
pageSize RtreeSpatialIndexPageSize<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexPageSize –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

CreatePointSpatialIndex(String)

<!– static –>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
pathFileName String<!– System.String –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

CreateRectangleSpatialIndex(String)

<!– static –>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
pathFileName String<!– System.String –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

CreateRectangleSpatialIndex(String, RtreeSpatialIndexPageSize)

<!– static –>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
pathFileName String<!– System.String –>
pageSize RtreeSpatialIndexPageSize<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexPageSize –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

CreateRectangleSpatialIndex(String, RtreeSpatialIndexPageSize, RtreeSpatialIndexDataFormat)

<!– static –>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
pathFileName String<!– System.String –>
pageSize RtreeSpatialIndexPageSize<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexPageSize –>
dataFormat RtreeSpatialIndexDataFormat<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexDataFormat –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

Delete(BaseShape)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
baseShape BaseShape<!– ThinkGeo.MapSuite.PortableCore.BaseShape –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

Delete(Feature)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

Dispose()

This method is targeting releasing or resetting unmanaged resources.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

Flush()

Write memory to disk if modified.

Return Value

Return Type Description
Void<!– System.Void –> true for success false for failure

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetBestPageSize(Int32)

<!– static –> Static method for getting the best page size according to the record count of a ShapeFile.

Return Value

Return Type Description
RtreeSpatialIndexPageSize<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexPageSize –> best page size

Parameters

Name Type Description
recordCount Int32<!– System.Int32 –> Record count of ShapeFile.

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetFeatureCount()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

GetFeatureIdsContainingRectangleShape(RectangleShape)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
boundingBox RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetFeatureIdsIntersectingBoundingBox(RectangleShape)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
boundingBox RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

GetFeatureIdsNearestTo(PointShape, Int32)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
pointShape PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –>
maxReturningCount Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetFeatureIdsWithinBoundingBox(RectangleShape)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
boundingBox RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

IsRtreeSpatialIndexFileValid(String)

<!– static –>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
indexFileName String<!– System.String –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

Open()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

AddCore(Feature)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex(overriden) –> Go Back

CloseCore()

Close a previously opened index file.

Return Value

Return Type Description
Void<!– System.Void –> true for success false for failure

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex(overriden) –> Go Back

DeleteCore(Feature)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex(overriden) –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

GetFeatureCountCore()

Get the count of all records in all leaf nodes.

Return Value

Return Type Description
Int32<!– System.Int32 –> record count

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex(overriden) –> Go Back

GetFeatureIdsContainingRectangleShapeCore(RectangleShape)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
rectangleShape RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetFeatureIdsIntersectingBoundingBoxCore(RectangleShape)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
boundingBox RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex(overriden) –> Go Back

GetFeatureIdsNearestToCore(PointShape, Int32)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
pointShape PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –>
maxReturningCount Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

GetFeatureIdsWithinBoundingBoxCore(RectangleShape)

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
boundingBox RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnStreamLoading(StreamLoadingEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e StreamLoadingEventArgs<!– ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

OpenCore()

Open an existing index file as read only.

Return Value

Return Type Description
Void<!– System.Void –> true for success false for failure

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex(overriden) –> Go Back

Public Properties

CanDelete

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

DataFormat

Return Value

Return Type
RtreeSpatialIndexDataFormat<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexDataFormat –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

IsOpen

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

PageSize

Property PageSize.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

PathFileName

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

ReadWriteMode

Return Value

Return Type
RtreeSpatialIndexReadWriteMode<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndexReadWriteMode –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

Protected Properties

IsOpenCore

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.PortableCore.SpatialIndex –> Go Back

Public Events

StreamLoading

Event Arguments

Event Arguments
StreamLoadingEventArgs<!– ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs –>

<!– ThinkGeo.MapSuite.PortableCore.RtreeSpatialIndex –> Go Back

NOTOC MapSuitePortableCore ThinkGeo.MapSuite.PortableCore UpdateDocumentation

thinkgeo.mapsuite.portablecore.rtreespatialindex.1440040133.txt.gz · Last modified: 2015/09/21 08:17 (external edit)