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: Delphi VCL | .NET WinForms | .NET WPF | Java.

Syntax

// 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.

2019/02/27 15:28