User Tools

Site Tools


thinkgeo.mapsuite.core.sqlitefeaturelayer

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.Core.SqliteFeatureLayer

This class represents a layer backed by SQLite.

<!– Class –>

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodSqliteFeatureLayer This is default constructor.
Public MethodSqliteFeatureLayer String, String, String, String This constructor allows you to pass in everything the layer need to load assuming that the layer itself will manage the database connections.
Public MethodSqliteFeatureLayer SQLiteConnection, String, String, String This constructor allows you to pass in everything the layer need to load assuming that you will pass in a connection and we will re-use it.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCloneDeep Layer Create a copy of Layer using the deep clone process.
Public MethodClose Layer This method closes the Layer and releases any resources it was using.
Public MethodDraw GeoCanvas, Collection<SimpleCandidate> Layer This method draws the Layer.
Public MethodEquals Object Object See Object documentation.
Public MethodExecuteNonQuery String This method executes a query that does not return a SQL result.
Public MethodGetBoundingBox Layer This method returns the bounding box of the Layer.
Public MethodGetFirstGeometryType Get The shape type from the first record.
Public MethodGetHashCode Object See Object documentation.
Public MethodGetType Object See Object documentation.
Public MethodStatic MemberLoadLayer Stream Layer Not Used in this layer.
Public MethodStatic MemberLoadLayer Uri Layer Not Used in this layer.
Public MethodOpen Layer This method opens the Layer so that it is initialized and ready to use.
Public MethodRequestDrawing Layer
Public MethodRequestDrawing RectangleShape, TimeSpan, BufferTimeType Layer
Public MethodRequestDrawing RectangleShape Layer
Public MethodRequestDrawing TimeSpan Layer
Public MethodRequestDrawing IEnumerable<RectangleShape> Layer
Public MethodRequestDrawing IEnumerable<RectangleShape>, TimeSpan Layer
Public MethodRequestDrawing RectangleShape, TimeSpan Layer
Public MethodRequestDrawing TimeSpan, BufferTimeType Layer
Public MethodRequestDrawing IEnumerable<RectangleShape>, TimeSpan, BufferTimeType Layer
Public MethodToString Object See Object documentation.

Protected Methods

Public Properties

Protected Properties

Name Return DeclaringType Summary
Protected PropertyIsOpenCore Boolean Layer(overriden)

Public Events

Public Constructors

SqliteFeatureLayer()

Parameters

Name Type Description

Go Back

SqliteFeatureLayer(String, String, String, String)

Parameters

Name Type Description
connectionString String<!– System.String –>
tableName String<!– System.String –>
featureIdColumn String<!– System.String –>
geometryColumnName String<!– System.String –>

Go Back

SqliteFeatureLayer(SQLiteConnection, String, String, String)

Parameters

Name Type Description
connection SQLiteConnection<!– System.Data.SQLite.SQLiteConnection –>
tableName String<!– System.String –>
featureIdeColumn String<!– System.String –>
geometryColumnName String<!– System.String –>

Go Back

Protected Constructors

Public Methods

CloneDeep()

Return Value

Return Type Description
Layer<!– ThinkGeo.MapSuite.Core.Layer –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Close()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Draw(GeoCanvas, Collection<SimpleCandidate>)

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
labelsInAllLayers Collection<SimpleCandidate><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.SimpleCandidate} –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Equals(Object)

Return Value

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

Parameters

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

<!– System.Object –> Go Back

ExecuteNonQuery(String)

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

GetBoundingBox()

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

GetFirstGeometryType()

Return Value

Return Type Description
WellKnownType<!– ThinkGeo.MapSuite.Core.WellKnownType –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> 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

LoadLayer(Stream)

<!– static –>

Return Value

Return Type Description
Layer<!– ThinkGeo.MapSuite.Core.Layer –>

Parameters

Name Type Description
layerStream Stream<!– System.IO.Stream –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

LoadLayer(Uri)

<!– static –>

Return Value

Return Type Description
Layer<!– ThinkGeo.MapSuite.Core.Layer –>

Parameters

Name Type Description
layerUri Uri<!– System.Uri –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Open()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(RectangleShape, TimeSpan, BufferTimeType)

Return Value

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

Parameters

Name Type Description
extentToRefresh RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>
bufferTime TimeSpan<!– System.TimeSpan –>
bufferTimeType BufferTimeType<!– ThinkGeo.MapSuite.Core.BufferTimeType –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(RectangleShape)

Return Value

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

Parameters

Name Type Description
extentToRefresh RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(TimeSpan)

Return Value

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

Parameters

Name Type Description
bufferTime TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(IEnumerable<RectangleShape>)

Return Value

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

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.RectangleShape} –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(IEnumerable<RectangleShape>, TimeSpan)

Return Value

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

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.RectangleShape} –>
bufferTime TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(RectangleShape, TimeSpan)

Return Value

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

Parameters

Name Type Description
extentToRefresh RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>
bufferTime TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(TimeSpan, BufferTimeType)

Return Value

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

Parameters

Name Type Description
bufferTime TimeSpan<!– System.TimeSpan –>
bufferTimeType BufferTimeType<!– ThinkGeo.MapSuite.Core.BufferTimeType –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestDrawing(IEnumerable<RectangleShape>, TimeSpan, BufferTimeType)

Return Value

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

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.RectangleShape} –>
bufferTime TimeSpan<!– System.TimeSpan –>
bufferTimeType BufferTimeType<!– ThinkGeo.MapSuite.Core.BufferTimeType –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

CloneDeepCore()

Return Value

Return Type Description
Layer<!– ThinkGeo.MapSuite.Core.Layer –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

CloseCore()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

DrawAttributionCore(GeoCanvas, String)

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
attribution String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawCore(GeoCanvas, Collection<SimpleCandidate>)

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
labelsInAllLayers Collection<SimpleCandidate><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.SimpleCandidate} –>

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

DrawException(GeoCanvas, Exception)

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
e Exception<!– System.Exception –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawExceptionCore(GeoCanvas, Exception)

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
e Exception<!– System.Exception –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Finalize()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetBoundingBoxCore()

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

OnDrawingAttribution(DrawingAttributionLayerEventArgs)

Return Value

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

Parameters

Name Type Description
args DrawingAttributionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnDrawingException(DrawingExceptionLayerEventArgs)

Return Value

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

Parameters

Name Type Description
e DrawingExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnDrawingFeatures(DrawingFeaturesEventArgs)

Return Value

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

Parameters

Name Type Description
e DrawingFeaturesEventArgs<!– ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

Return Value

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

Parameters

Name Type Description
e DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs)

Return Value

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

Parameters

Name Type Description
e DrawingWrappingFeaturesFeatureLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

OnDrawnAttribution(DrawnAttributionLayerEventArgs)

Return Value

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

Parameters

Name Type Description
args DrawnAttributionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnDrawnException(DrawnExceptionLayerEventArgs)

Return Value

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

Parameters

Name Type Description
e DrawnExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnRequestedDrawing(RequestedDrawingLayerEventArgs)

Return Value

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

Parameters

Name Type Description
eventArgs RequestedDrawingLayerEventArgs<!– ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnRequestingDrawing(RequestingDrawingLayerEventArgs)

Return Value

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

Parameters

Name Type Description
eventArgs RequestingDrawingLayerEventArgs<!– ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OpenCore()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

SetupTools()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

SetupToolsCore()

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Public Properties

Attribution

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

CommandTimeout

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

ConnectionString

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

DrawingExceptionMode

Return Value

Return Type
DrawingExceptionMode<!– ThinkGeo.MapSuite.Core.DrawingExceptionMode –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingMarginPercentage

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawingQuality

Return Value

Return Type
DrawingQuality<!– ThinkGeo.MapSuite.Core.DrawingQuality –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawingTime

Return Value

Return Type
TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

EditTools

Return Value

Return Type
EditTools<!– ThinkGeo.MapSuite.Core.EditTools –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FeatureIdColumn

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

FeatureIdsToExclude

Return Value

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

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FeatureSource

Return Value

Return Type
FeatureSource<!– ThinkGeo.MapSuite.Core.FeatureSource –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FetchTime

Return Value

Return Type
TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FetchedBytes

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FetchedCount

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

GeometryColumnName

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

HasBoundingBox

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

IsGrayscale

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

IsNegative

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

IsOpen

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

IsVisible

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

MaxRecordsToDraw

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Name

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

QueryTools

Return Value

Return Type
QueryTools<!– ThinkGeo.MapSuite.Core.QueryTools –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

RequestDrawingInterval

Return Value

Return Type
TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

StyleTime

Return Value

Return Type
TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

TableName

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

Transparency

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

WhereClause

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.SqliteFeatureLayer –> Go Back

WrappingExtent

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

WrappingMode

Return Value

Return Type
WrappingMode<!– ThinkGeo.MapSuite.Core.WrappingMode –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

ZoomLevelSet

Return Value

Return Type
ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Protected Properties

IsOpenCore

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

Public Events

DrawingAttribution

Event Arguments

Event Arguments
DrawingAttributionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingException

Event Arguments

Event Arguments
DrawingExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingFeatures

Event Arguments

Event Arguments
DrawingFeaturesEventArgs<!– ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawingProgressChanged

Event Arguments

Event Arguments
DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingWrappingFeatures

Event Arguments

Event Arguments
DrawingWrappingFeaturesFeatureLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawnAttribution

Event Arguments

Event Arguments
DrawnAttributionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawnException

Event Arguments

Event Arguments
DrawnExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestedDrawing

Event Arguments

Event Arguments
RequestedDrawingLayerEventArgs<!– ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

RequestingDrawing

Event Arguments

Event Arguments
RequestingDrawingLayerEventArgs<!– ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

NOTOC SQLiteExtension ThinkGeo.MapSuite.Core UpdateDocumentation

thinkgeo.mapsuite.core.sqlitefeaturelayer.1440040130.txt.gz · Last modified: 2015/09/06 10:44 (external edit)