Method | Description | |
---|---|---|
Close ( ) : void |
Closes the datasource
|
|
CreateDataTable ( SharpMap datasource, string tablename, string connstr ) : int |
Creates a new table in a Microsoft SQL Server database and copies rows from an existing datasource. The datatable created will contain six extra columns besides the attribute data: "OID" (Object ID row), "WKB_Geometry" (Geometry stored as WKB), and Envelope_MinX, Envelope_MinY, Envelope_MaxX, Envelope_MaxY for geometry bounding box. |
|
Dispose ( ) : void |
Disposes the object
|
|
ExecuteIntersectionQuery ( SharpMap geom, FeatureDataSet ds ) : void |
Returns the features that intersects with 'geom' [NOT IMPLEMENTED]
|
|
ExecuteIntersectionQuery ( SharpMap bbox, SharpMap ds ) : void |
Returns all features with the view box
|
|
GetExtents ( ) : SharpMap.Geometries.BoundingBox |
Boundingbox of dataset
|
|
GetFeature ( uint RowID ) : SharpMap.Data.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? | ||
MsSql ( string ConnectionStr, string tablename, string geometryColumnName, string OID_ColumnName ) : System |
Initializes a new connection to MS Sql Server
|
|
Open ( ) : void |
Opens the datasource
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
GetBoxClause ( SharpMap bbox ) : string | ||
Type2SqlType ( |
Returns the name of the SqlServer datatype based on a .NET datatype
|
public static CreateDataTable ( SharpMap datasource, string tablename, string connstr ) : int | ||
datasource | SharpMap | Datasource to upload |
tablename | string | Name of table to create (existing table will be overwritten!) |
connstr | string | Connection string to database |
return | int |
public ExecuteIntersectionQuery ( SharpMap geom, FeatureDataSet ds ) : void | ||
geom | SharpMap | |
ds | FeatureDataSet | FeatureDataSet to fill data into |
return | void |
public ExecuteIntersectionQuery ( SharpMap bbox, SharpMap ds ) : void | ||
bbox | SharpMap | view box |
ds | SharpMap | FeatureDataSet to fill data into |
return | void |
public GetExtents ( ) : SharpMap.Geometries.BoundingBox | ||
return | SharpMap.Geometries.BoundingBox |
public GetFeature ( uint RowID ) : SharpMap.Data.FeatureDataRow | ||
RowID | uint | |
return | SharpMap.Data.FeatureDataRow |
public GetGeometriesInView ( SharpMap bbox ) : List |
||
bbox | SharpMap | |
return | List |
public GetGeometryByID ( uint oid ) : SharpMap.Geometries.Geometry | ||
oid | uint | Object ID |
return | SharpMap.Geometries.Geometry |
public GetObjectIDsInView ( SharpMap bbox ) : List |
||
bbox | SharpMap | |
return | List |
public MsSql ( string ConnectionStr, string tablename, string geometryColumnName, string OID_ColumnName ) : System | ||
ConnectionStr | string | Connectionstring |
tablename | string | Name of data table |
geometryColumnName | string | Name of geometry column |
OID_ColumnName | string | Name of column with unique identifier |
return | System |