User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_layervector.exportlayerex_tgis_layervector_tgis_extent_tgis_shapetype_string_tgis_shape_string_boolean

Table of Contents

TGIS_LayerVector.ExportLayerEx method

DK11 for Python | tatukgis.pdk.TGIS_LayerVector.ExportLayerEx | Constructors | Methods | Properties | Events

Exports layer.

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
def ExportLayerEx(
  self
  _layer: tatukgis.pdk.TGIS_LayerVector
  _extent: tatukgis.pdk.TGIS_Extent
  _type: tatukgis.pdk.TGIS_ShapeType
  _scope: str
  _shape: tatukgis.pdk.TGIS_Shape
  _de9im: str
  _truncated: bool
) -> None: 

Parameters

Name Type Description
_layer tatukgis.pdk.TGIS_LayerVector layer to be exported to
_extent tatukgis.pdk.TGIS_Extent starting extent of layer - can't be zero sized
_type tatukgis.pdk.TGIS_ShapeType shape type supported by a layer; if gistypeUnknown is used then export will try to recognize shape on its own;
_scope str SQL query for which shape will be exported
_shape tatukgis.pdk.TGIS_Shape if not nil, then only shapes matched _de9im matrix with _shape will be found
_de9im str DE-9IM matrix of comparison
_truncated bool if True, then all shapes will be truncated in _extent; if False, only the shape visible in _extent will be exported ;

Remarks

Remember to assign 'path' property to the layer you want to export to, for proper export of the new layer to a file.
Use this method to export a layer. To do this, choose a layer to export to, and use ExportLayer method with proper params. See also the opposite method, ImportLayer.

2022/11/30 16:02

Page Tools