User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.setcsbywktfile_string

Table of Contents

IGIS_Viewer.SetCSByWKTFile method

DK11 for Delphi | GisInterfaces.IGIS_Viewer.SetCSByWKTFile | Methods | Properties

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

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

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/16 01:18

Page Tools