User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.build_string_boolean_tgis_cscoordinatesystem_tgis_extent_double_tgis_layerpixelsubformat

Table of Contents

TGIS_LayerPixel.Build(String; Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Double; TGIS_LayerPixelSubFormat) method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.Build | Overloads | Constructors | Fields | Methods | Properties | Events

Builds a layer.

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

Syntax

// Delphi
public
  procedure Build(
    const _path : String;
    const _grid : Boolean;
    const _cs : TGIS_CSCoordinateSystem;
    const _ext : TGIS_Extent;
    const _pixelsize : Double;
    const _subformat : TGIS_LayerPixelSubFormat
  ); overload; virtual;
// C++ Builder
public:
  virtual void Build(
    const UnicodeString _path,
    const bool _grid,
    TGIS_CSCoordinateSystem* const _cs,
    TGIS_Extent* const _ext,
    const double _pixelsize,
    TGIS_LayerPixelSubFormat* const _subformat
  ) /* overload */;

Parameters

Name Type Description
_path String path to a layer; if empty then layer in-memory
_grid Boolean if true then layer will be treated as grid a image layer will be created otherwise
_cs TGIS_CSCoordinateSystem Coordinate system of the layer
_ext TGIS_Extent extent of the layer expresses in Coordinate System units (_cs)
_pixelsize Double pixel layer resolution in Coordinate System units
_subformat TGIS_LayerPixelSubFormat details specification of layer format like compression etc.

Remarks

Layer's extent might be little expanded to ensure exact _pixelsize.

References

2023/02/24 20:35

Page Tools