User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layersqlogisabstract.mergelayerex_tgis_layervector_tgis_extent_tgis_shapetype_string_tgis_shape_string_boolean_boolean

Table of Contents

TGIS_LayerSqlOgisAbstract.MergeLayerEx method

DK11 for Java | tatukgis.jdk.TGIS_LayerSqlOgisAbstract.MergeLayerEx | Constructors | Fields | Methods | Properties

Merges layer with an existing layer.

Available also on: Delphi | .NET.

Overrides TGIS_LayerVector.MergeLayerEx.

Syntax

// Java
public void MergeLayerEx(
  TGIS_LayerVector _layer,
  TGIS_Extent _extent,
  TGIS_ShapeType _type,
  java.lang.String _scope,
  TGIS_Shape _shape,
  java.lang.String _de9im,
  bool _truncated,
  bool _restrict
);
// Oxygene
public
  procedure MergeLayerEx(
    _layer : TGIS_LayerVector;
    _extent : TGIS_Extent;
    _type : TGIS_ShapeType;
    _scope : String;
    _shape : TGIS_Shape;
    _de9im : String;
    _truncated : Boolean;
    _restrict : Boolean
  ); override;

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 java.lang.String
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 java.lang.String
String
DE-9IM matrix of comparison
_truncated bool
Boolean
if True, then all shapes will be truncated in _extent; if False, only the shape visible in _extent will be imported ;
_restrict bool
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.

2020/05/07 01:13