User Tools

Site Tools


api:dk11:java:tatukgis.jdk.igis_viewer.setcsbywktfile_string

Table of Contents



IGIS_Viewer.SetCSByWKTFile method

DK for Java | tatukgis.jdk.IGIS_Viewer.SetCSByWKTFile | Methods | Properties

Sets the coordinate system from a file containing a WKT (Well-Known Text) string with a GEOGCS or PROJCS definition.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public abstract void SetCSByWKTFile(
  java.lang.String _path
);
// Oxygene
public
  procedure SetCSByWKTFile(
    _path : String
  );

Parameters

Name Type Description
_path java.lang.String
String
Path to the file with the WKT (Well-Known Text) string, for example a Shapefile .PRJ file. If the file does not exist or the WKT string is empty, the coordinate system is turned off.

Remarks

All layers must have a proper coordinate system. Otherwise the coordinate system will be turned off.

USAGE: Load a coordinate reference system from a WKT definition file.

gis.SetCSByWKTFile(prj_path)

2026/10/31 23:12

Page Tools