User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_csunits.create_integer_string_string_tgis_csunitstype_double

Table of Contents

TGIS_CSUnits.__init__(int, str, str, TGIS_CSUnitsType, float) constructor

Syntax

# Python
def __init__(
  self,
  _epsg: int,
  _wkt: str,
  _symbol: str,
  _type: TGIS_CSUnitsType,
  _factor: float
) -> None: 

Parameters

Name Type Description
_epsg int EPSG code for the unit
_wkt str WKT name for the unit
_symbol str units symbol like 'km', 'm'
_type TGIS_CSUnitsType angular, linear or areal units
_factor float factor between unit and basic unit (meter or radians); for example factor for kilometer is 1000.
2023/08/09 01:53

Page Tools