User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_dbabstract.sqlbuild_string_tgis_extent_tgis_shapetype_string_string

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.

Syntax

// 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
public
  procedure sqlBuild(
    _path : String;
    _extent : TGIS_Extent;
    _type : TGIS_ShapeType;
    _storage : String;
    _layerName : String
  ); virtual; abstract;

Parameters

Name Type Description
_path string
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
String
storage type
_layerName string
String
layer name

Remarks

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