User Tools

Site Tools


api:dk11:delphi:gislayersqlogis.tgis_layersqlogisabstract.mergelayerex_tgis_layervector_tgis_extent_tgis_shapetype_string_tgis_shape_string_boolean_boolean

Table of Contents

TGIS_LayerSqlOgisAbstract.MergeLayerEx method

DK11 for Delphi | GisLayerSqlOgis.TGIS_LayerSqlOgisAbstract.MergeLayerEx | Constructors | Fields | Methods | Properties

Merge layer from an existing layer.

Available also on: .NET | Java.

Overrides TGIS_LayerVector.MergeLayerEx.

Syntax

// Delphi
public
  procedure MergeLayerEx(
    const _layer : TGIS_LayerVector;
    const _extent : TGIS_Extent;
    const _type : TGIS_ShapeType;
    const _scope : String;
    const _shape : TGIS_Shape;
    const _de9im : String;
    const _truncated : Boolean;
    const _restrict : Boolean
  ); override;
// C++ Builder
public:
  virtual void MergeLayerEx(
    TGIS_LayerVector* const _layer,
    TGIS_Extent* const _extent,
    TGIS_ShapeType* const _type,
    const UnicodeString _scope,
    TGIS_Shape* const _shape,
    const UnicodeString _de9im,
    const bool _truncated,
    const bool _restrict
  );

Parameters

Name Type Description
_layer TGIS_LayerVector layer to be imported
_extent TGIS_Extent starting extent of layer - can't be zero sized
_type TGIS_ShapeType shape type supported by a layer; if gistypeUnknown is used then import will try to recognize shape on its own;
_scope String SQL query for which shape will be imported
_shape TGIS_Shape if not nil, then only shapes matched _de9im matrix with _shape will be found
_de9im String DE-9IM matrix of comparison
_truncated Boolean if True, then all shapes will be truncated in _extent; if False, only the shape visible in _extent will be imported ;
_restrict Boolean if True, any field structure modification will raise error, otherwise allow to resize fields

Remarks

Remember to assign 'path' property to layer you want to import from for proper import a new layer to file.
Use this method to merge layers. Before the merge SaveData will be fired.

2019/02/08 01:15