User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_csunitslist.addauto_integer_string_arrayarrayinteger

Table of Contents

TGIS_CSUnitsList.AddAuto method

DK11 for Python | tatukgis.pdk.TGIS_CSUnitsList.AddAuto | Constructors | Methods | Properties

Add a new item into the list.

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

Syntax

# Python
def AddAuto(
  self,
  _epsg: int,
  _wkt: str,
  _subunits: int
) -> TGIS_CSUnits: 

Parameters

Name Type Description
_epsg int EPSG code for the unit; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt str WKT name for the unit
_subunits int list of units in a set ordered by factor; if contains areal units then order should be by squared factor of all units except areas

Result

Type Description
TGIS_CSUnits Newly created object.

Remarks

function will not check _epsg and _wkt for being unique

2023/08/09 01:53

Page Tools