mapteksdk.data.units module
Units and other enumrations for file operations.
- NO_UNIT = 'NO_UNIT'
Placeholder used to represent the absence of a unit.
- class UnsupportedUnit(unit_string)
Bases:
object
Class representing an unsupported unit.
- Parameters
unit_string (str) –
- unit_string: str
String representation of the unsupported unit.
- class DistanceUnit(value)
Bases:
Enum
Enum representing distance units supported by the Project.
- UNKNOWN = -1
- ANGSTROM = 301
- PICOMETRE = 316
- NANOMETRE = 302
- MICROMETRE = 303
- MILLIMETRE = 304
- CENTIMETRE = 305
- DECIMETRE = 306
- METRE = 307
- DECAMETRE = 308
- HECTOMETRE = 309
- KILOMETRE = 310
- MEGAMETRE = 311
- GIGAMETRE = 312
- ASTRONOMICAL_UNIT = 313
- LIGHT_YEAR = 314
- PARSEC = 315
- MICROINCH = 351
- THOU = 352
- INCH = 353
- FEET = 354
- LINK = 356
- CHAIN = 357
- YARD = 358
- FATHOM = 359
- MILE = 360
- US_SURVEY_INCH = 361
- US_SURVEY_FEET = 362
- US_SURVEY_YARD = 363
- NAUTICAL_MILE = 364
- metre = 307
- millimetre = 304
- feet = 354
- yard = 358