Documentation | Samples | SQLWizard
How to create a wizard for SQL connection: to select a database, a layer, and a layer format.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_Tokenizer | A simple tokenizer for parameters line splitting. |
TGIS_Tokenizer.ExecuteEx | Do tokenizing of simple stream like “aaaa”,“aaaa”,123,“aaaa”. |
TGIS_Tokenizer.Execute | Do tokenizing. |
TGIS_LayerVectorSqlAbstract.SQLParametersEx | List of additional connection parameters. |
TGIS_Layer.GetAvailableLayers | Gets a list of layers available in storage. |
TGIS_Config.Save | Save backup copy of configuration file. |
TGIS_Config.WriteString | Write parameters given by _name. |
TGIS_Config.Section | By assigning this value you are overriding default TGIS_Config behavior. |
TGIS_ConfigFactory.CreateConfig | Create a config instance based on a path extension. |
This sample is available on following platforms (click to see source code):