User Tools

Site Tools


Table of Contents

TGIS_DbAbstract.sqlBuild method

DK11 for .NET | TatukGIS.NDK.TGIS_DbAbstract.sqlBuild | Constructors | Fields | Methods | Properties | Events

Build new SQL layer.

Available also on: Delphi | Java.


// C#
public abstract void sqlBuild(
  string _path,
  TGIS_Extent _extent,
  TGIS_ShapeType _type,
  string _storage,
  string _layerName
' VisualBasic
Public MustOverride Sub sqlBuild(
  ByVal _path As String,
  ByVal _extent As TGIS_Extent,
  ByVal _type As TGIS_ShapeType,
  ByVal _storage As String,
  ByVal _layerName As String
// Oxygene
  procedure sqlBuild(
    _path : String;
    _extent : TGIS_Extent;
    _type : TGIS_ShapeType;
    _storage : String;
    _layerName : String
  ); virtual; abstract;


Name Type Description
_path string
path to .ttkls file; if empty the build base on existing parameters SQLParameter; if points to non-existent file then will be treated as a list of CRLF or '\n' deliminated parameters
_extent TGIS_Extent starting extent of a layer - cannot be zero-sized
_type TGIS_ShapeType shape type supported by the layer
_storage string
storage type
_layerName string
layer name


If _path was provided but not exists the Access (MSJET) layer will be created in a database named "Layers.mdb". Current layer name will be used. If current name is empty then name will be constructed based on ttkls file name. Internal table name could be canonized to be based only on ASCII characters - in worst case replaced by NAME_xxxx unique identifier.

2020/05/07 01:16

Page Tools