User Tools

Site Tools


api:dk11:delphi:gislayer.tgis_layer.setcsbywktfile_string

Table of Contents

TGIS_Layer.SetCSByWKTFile method

DK11 for Delphi | GisLayer.TGIS_Layer.SetCSByWKTFile | Constructors | Fields | Methods | Properties | Events

Sets up Coordinate System to a coordinate system provided by a file which contains a 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.

Syntax

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

Parameters

Name Type Description
_path String path with WKT string (for example shapefile .PRJ)
2020/05/07 01:07