User Tools

Site Tools


api:dk11:delphi:gislayersqlogis.tgis_layersqlogisabstract.build_string_tgis_extent_tgis_shapetype_tgis_dimensiontype

Table of Contents

TGIS_LayerSqlOgisAbstract.Build(String; TGIS_Extent; TGIS_ShapeType; TGIS_DimensionType) method

DK11 for Delphi | GisLayerSqlOgis.TGIS_LayerSqlOgisAbstract.Build | Overloads | Constructors | Fields | Methods | Properties

Build new OGIS layer.

Available also on: .NET | Java.

Syntax

// Delphi
public
  procedure Build(
    const _path : String;
    const _extent : TGIS_Extent;
    const _type : TGIS_ShapeType;
    const _dim : TGIS_DimensionType
  ); override;
// C++ Builder
public:
  virtual void Build(
    const UnicodeString _path,
    TGIS_Extent* const _extent,
    TGIS_ShapeType* const _type,
    TGIS_DimensionType* const _dim
  );

Parameters

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

Remarks

See TGIS_LayerVector.Build for details and example. Note that existing SQL layer will be deleted.

2018/01/06 01:20