User Tools

Site Tools


Table of Contents

TGIS_Shape.PrepareExportShape method

DK11 for Delphi | GisLayerVector.TGIS_Shape.PrepareExportShape | Constructors | Fields | Methods | Properties

Prepare reprojected shape, truncated by extent and copy fields to the result.

Available also on: .NET | Java | ActiveX.


// Delphi
  function PrepareExportShape(
    const _cs : TGIS_CSCoordinateSystem;
    const _extent : TGIS_Extent;
    const _truncate : Boolean;
    const _copyfield : Boolean
  ) : TGIS_Shape;
// C++ Builder
  TGIS_Shape* PrepareExportShape(
    TGIS_CSCoordinateSystem* const _cs,
    TGIS_Extent* const _extent,
    const bool _truncate,
    const bool _copyfield


Name Type Description
_cs TGIS_CSCoordinateSystem coordinate system
_extent TGIS_Extent extent used to truncate shape (in a same space as _cs)
_truncate Boolean If True, the result shape will be truncated
_copyfield Boolean If True, the result shape will copy the source fields


Type Description
TGIS_Shape Shape prepared for export. If shape as not truncated not reprojected then is same as shape itself; otherwise a new object is created.
2020/05/07 01:09

Page Tools