Documentation | Samples | SQLLayerAdvanced
How to open export layer to a new SQL Layer and get familiar with .ttkls connector files.
In .NET it is necessary to manually attach ADODB file to the sample. ADODB file is located in “Deployment” folder.
Edit gistest.ttkls to provied your database access You can use *.ttkls as any other layer (for example open in editor).
This sample illustrates use of:
Name | Description |
---|---|
TGIS_LayerVectorSqlAbstract.CreateStyleTable | Create a table with layer styles. |
TGIS_LayerVectorSqlAbstract.WriteStyle | Write or update a style to database. |
TGIS_Viewer.ProjectFile | Project file itself as opened in Open procedure. |
TGIS_Viewer.SaveProjectAsEx | Save current project under new name. |
TGIS_LayerVector.ImportLayer | Imports a layer from an existing layer. |
TGIS_Config.GetStrings | Parse and fill list with values. |
TGIS_Config.SetLayer | Select layer on which the operation will be performed. |
TGIS_ConfigFactory.CreateConfig | Create a config instance based on a path extension. |
TGIS_LayerSqlSqlite.Build | Builds a new layer - prepares storage. |
This sample is available on following platforms (click to see source code):