DK11 for Python | tatukgis.pdk.TGIS_CSUnitsList.Add | Constructors | Methods | Properties
Add a new item into the list.
# Python def Add( self _epsg: int _wkt: str _symbol: str _type: tatukgis.pdk.TGIS_CSUnitsType _factor: float ) -> tatukgis.pdk.TGIS_CSUnits:
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 |
_symbol | str | units symbol like 'km', 'm' |
_type | tatukgis.pdk.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. |
Type | Description |
---|---|
tatukgis.pdk.TGIS_CSUnits | Newly created object. |