User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.setcsbywktfile_string

Table of Contents

TGIS_ViewerWnd.SetCSByWKTFile method

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.SetCSByWKTFile | Constructors | 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 WinForms | 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/16 01:14

Page Tools