User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_viewerwnd.setcsbywktfile_string

Table of Contents

TGIS_ViewerWnd.SetCSByWKTFile method

DK11 for .NET | TatukGIS.NDK.WPF.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 FMX | Delphi VCL | .NET WinForms | Java.

Syntax

// C#
public void SetCSByWKTFile(
  string _path
);
' VisualBasic
Public Sub SetCSByWKTFile(
  ByVal _path As String
)
// Oxygene
public
  procedure SetCSByWKTFile(
    _path : String
  );

Parameters

Name Type Description
_path string
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:49