Class WkbFileFeatureSource
- Namespace
- ThinkGeo.Core
- Assembly
- ThinkGeo.Core.dll
public class WkbFileFeatureSource : FeatureSource
- Inheritance
-
WkbFileFeatureSource
- Inherited Members
-
Constructors
WkbFileFeatureSource()
public WkbFileFeatureSource()
WkbFileFeatureSource(string)
public WkbFileFeatureSource(string wkbPathFilename)
Parameters
wkbPathFilename
string
WkbFileFeatureSource(string, FileAccess)
public WkbFileFeatureSource(string wkbPathFilename, FileAccess readWriteMode)
Parameters
wkbPathFilename
string
readWriteMode
FileAccess
Properties
ReadWriteMode
public FileAccess ReadWriteMode { get; set; }
Property Value
- FileAccess
SimplificationAreaInPixel
public int SimplificationAreaInPixel { get; set; }
Property Value
- int
SimplifiedAreas
public Collection<RectangleShape> SimplifiedAreas { get; }
Property Value
- Collection<RectangleShape>
WkbPathFilename
public string WkbPathFilename { get; set; }
Property Value
- string
Methods
CanGetBoundingBoxQuicklyCore()
protected override bool CanGetBoundingBoxQuicklyCore()
Returns
- bool
CanGetCountQuicklyCore()
protected override bool CanGetCountQuicklyCore()
Returns
- bool
CloseCore()
protected override void CloseCore()
CommitTransactionCore(TransactionBuffer)
protected override TransactionResult CommitTransactionCore(TransactionBuffer transactions)
Parameters
transactions
TransactionBuffer
Returns
- TransactionResult
CreateWkbFile(string, WkbFileType, IEnumerable<FeatureSourceColumn>, IEnumerable<Feature>)
public static void CreateWkbFile(string pathFilename, WkbFileType wkbFileType, IEnumerable<FeatureSourceColumn> columns, IEnumerable<Feature> features)
Parameters
pathFilename
string
wkbFileType
WkbFileType
columns
IEnumerable<FeatureSourceColumn>
features
IEnumerable<Feature>
GetAllFeaturesCore(IEnumerable<string>)
protected override Collection<Feature> GetAllFeaturesCore(IEnumerable<string> returningColumnNames)
Parameters
returningColumnNames
IEnumerable<string>
Returns
- Collection<Feature>
GetBoundingBoxCore()
protected override RectangleShape GetBoundingBoxCore()
Returns
- RectangleShape
GetColumnsCore()
protected override Collection<FeatureSourceColumn> GetColumnsCore()
Returns
- Collection<FeatureSourceColumn>
GetCountCore()
protected override long GetCountCore()
Returns
- long
GetFeatureIdsCore()
protected override Collection<string> GetFeatureIdsCore()
Returns
- Collection<string>
GetFeatureIdsForDrawing(RectangleShape, double, double)
public Collection<string> GetFeatureIdsForDrawing(RectangleShape boundingBox, double screenWidth, double screenHeight)
Parameters
boundingBox
RectangleShape
screenWidth
double
screenHeight
double
Returns
- Collection<string>
GetFeatureIdsForDrawingCore(RectangleShape, double, double)
protected virtual Collection<string> GetFeatureIdsForDrawingCore(RectangleShape boundingBox, double screenWidth, double screenHeight)
Parameters
boundingBox
RectangleShape
screenWidth
double
screenHeight
double
Returns
- Collection<string>
GetFeaturesByIdsCore(IEnumerable<string>, IEnumerable<string>)
protected override Collection<Feature> GetFeaturesByIdsCore(IEnumerable<string> ids, IEnumerable<string> returningColumnNames)
Parameters
ids
IEnumerable<string>
returningColumnNames
IEnumerable<string>
Returns
- Collection<Feature>
GetFeaturesInsideBoundingBoxCore(RectangleShape, IEnumerable<string>)
protected override Collection<Feature> GetFeaturesInsideBoundingBoxCore(RectangleShape boundingBox, IEnumerable<string> returningColumnNames)
Parameters
boundingBox
RectangleShape
returningColumnNames
IEnumerable<string>
Returns
- Collection<Feature>
GetFeaturesOutsideBoundingBoxCore(RectangleShape, IEnumerable<string>)
protected override Collection<Feature> GetFeaturesOutsideBoundingBoxCore(RectangleShape boundingBox, IEnumerable<string> returningColumnNames)
Parameters
boundingBox
RectangleShape
returningColumnNames
IEnumerable<string>
Returns
- Collection<Feature>
GetFirstFeaturesWellKnownTypeCore()
protected override WellKnownType GetFirstFeaturesWellKnownTypeCore()
Returns
- WellKnownType
GetWkbFileType()
public WkbFileType GetWkbFileType()
Returns
- WkbFileType
OpenCore()
protected override void OpenCore()