User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.setcsbywktfile_string

Table of Contents

TGIS_Viewer.SetCSByWKTFile method

DK11 for Delphi | GisViewer.TGIS_Viewer.SetCSByWKTFile | Constructors | Fields | Methods | Properties | Events

Setup Coordinate System to a coordinate system provided by file which contains WKT string (GEOGCS or PROJCS). If file does not exist or provided WKT string is empty then coordinate system will be turned off.

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

Syntax

Implements IGIS_Viewer.SetCSByWKTFile.

// Delphi
public
  procedure SetCSByWKTFile(
    const _path : String
  );
// C++ Builder
public:
  void SetCSByWKTFile(
    const UnicodeString _path
  );

Parameters

Name Type Description
_path String path with WKT string (for example shapefile .PRJ)

Remarks

All layers must have proper coordinate system. Otherwise coordinate system will be turned-off.

2022/11/30 19:19

Page Tools