C# 클래스 SharpMap.Data.Providers.OleDbPoint

The OleDbPoint provider is used for rendering point data from an OleDb compatible datasource.

The data source will need to have two double-type columns, xColumn and yColumn that contains the coordinates of the point, and an integer-type column containing a unique identifier for each row.

To get good performance, make sure you have applied indexes on ID, xColumn and yColumns in your datasource table.

상속: IProvider, IDisposable
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Closes the datasource

Dispose ( ) : void

Disposes the object

ExecuteIntersectionQuery ( SharpMap geom, FeatureDataSet ds ) : void

Throws NotSupportedException.

GetExtents ( ) : SharpMap.Geometries.BoundingBox

Boundingbox of dataset

GetFeature ( uint RowID ) : FeatureDataRow

Returns a datarow based on a RowID

GetFeatureCount ( ) : int

Returns the number of features in the dataset

GetGeometriesInView ( SharpMap bbox ) : List

Returns geometries within the specified bounding box

GetGeometryByID ( uint oid ) : SharpMap.Geometries.Geometry

Returns the geometry corresponding to the Object ID

GetObjectIDsInView ( SharpMap bbox ) : List

Returns geometry Object IDs whose bounding box intersects 'bbox'

GetXYTolerance ( ) : double?
OleDbPoint ( string ConnectionStr, string tablename, string OID_ColumnName, string xColumn, string yColumn ) : System

Initializes a new instance of the OleDbPoint provider

Open ( ) : void

Opens the datasource

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Close() 공개 메소드

Closes the datasource
public Close ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the object
public Dispose ( ) : void
리턴 void

ExecuteIntersectionQuery() 공개 메소드

Throws NotSupportedException.
public ExecuteIntersectionQuery ( SharpMap geom, FeatureDataSet ds ) : void
geom SharpMap
ds FeatureDataSet FeatureDataSet to fill data into
리턴 void

GetExtents() 공개 메소드

Boundingbox of dataset
public GetExtents ( ) : SharpMap.Geometries.BoundingBox
리턴 SharpMap.Geometries.BoundingBox

GetFeature() 공개 메소드

Returns a datarow based on a RowID
public GetFeature ( uint RowID ) : FeatureDataRow
RowID uint
리턴 FeatureDataRow

GetFeatureCount() 공개 메소드

Returns the number of features in the dataset
public GetFeatureCount ( ) : int
리턴 int

GetGeometriesInView() 공개 메소드

Returns geometries within the specified bounding box
public GetGeometriesInView ( SharpMap bbox ) : List
bbox SharpMap
리턴 List

GetGeometryByID() 공개 메소드

Returns the geometry corresponding to the Object ID
public GetGeometryByID ( uint oid ) : SharpMap.Geometries.Geometry
oid uint Object ID
리턴 SharpMap.Geometries.Geometry

GetObjectIDsInView() 공개 메소드

Returns geometry Object IDs whose bounding box intersects 'bbox'
public GetObjectIDsInView ( SharpMap bbox ) : List
bbox SharpMap
리턴 List

GetXYTolerance() 공개 메소드

public GetXYTolerance ( ) : double?
리턴 double?

OleDbPoint() 공개 메소드

Initializes a new instance of the OleDbPoint provider
public OleDbPoint ( string ConnectionStr, string tablename, string OID_ColumnName, string xColumn, string yColumn ) : System
ConnectionStr string
tablename string
OID_ColumnName string
xColumn string
yColumn string
리턴 System

Open() 공개 메소드

Opens the datasource
public Open ( ) : void
리턴 void