LasDataset's error codes.
| Constant | Value | Description |
|---|---|---|
| E_​LAS_​BAD_​Z_​SOURCE | -2147201024 | The specified Z source is not supported for this operation. |
| E_​LAS_​DATASET_​EXISTS | -2147201023 | The specified dataset already exists. |
| E_​LAS_​FAILED_​TO_​OVER_​WRITE | -2147201022 | Failed to over write the dataset. |
| E_​LAS_​FAILED_​TO_​SAVE | -2147201021 | Failed to save the dataset. |
| E_​LAS_​FAILED_​TO_​OPEN | -2147201020 | Failed to open the dataset. |
| E_​LAS_​NO_​STATISTICS | -2147201019 | No statistics available for the operation. |
| E_​LAS_​FAILED_​TO_​COPY_​FILE | -2147201018 | Failed to copy file(s). |
| E_​LAS_​IN_​MEMORY_​DATASET | -2147201017 | Operation not supported with in-memory datasets. |
| E_​LAS_​CLASS_​FLAG_​NOT_​SUPPORTED | -2147201016 | Classification flag not supported in this version. |
| E_​LAS_​BAD_​CLASS_​CODE | -2147201015 | Invalid classification code. |
| E_​LAS_​INVALID_​VERSION | -2147201014 | Invalid version. |
| E_​LAS_​UNABLE_​TO_​EDIT_​ZIP_​FILE | -2147201013 | Unable to edit compressed file. |
| E_​LAS_​OPERATION_​NOT_​SUPPORTED_​ON_​ZIP_​FILE | -2147201012 | Unable to edit compressed file. |
| E_​LAS_​OVERLAP_​FLAG_​NOT_​SUPPORTED | -2147201011 | Overlap flag not supported in this point-record format. |
| E_​LAS_​TOO_​MANY_​POINTS | -2147201010 | The number of points in the file exceeds limit. |
| E_​LAS_​NOT_​ENOUGH_​GROUND_​POINTS | -2147201009 | The number of ground points is less than 3. |
| E_​LAS_​BAD_​SAMPLE_​DISTANCE | -2147201008 | The specified sample distance is less than 10 meters. |
| E_​LAS_​BAD_​DEM_​RESOLUTION | -2147201007 | The specified DEM resolution is less than 0.3 meters. |
| E_​LAS_​BAD_​LAS_​VERSION | -2147201006 | Invalid or unsupported LAS version. |
| E_​LAS_​BAD_​LAS_​POINT_​FORMAT | -2147201005 | Invalid or unsupported LAS point format. |
| E_​LAS_​NEED_​SPATIAL_​REF | -2147201004 | Spatial reference is required for the process. |
| E_​LAS_​NEED_​LAS_​VERSION | -2147201003 | Output LAS version and/or point format ID not specified. |
| E_​LAS_​INVALID_​FORMAT_​CHANGE | -2147201002 | Changing from formats 6 and above to formats 5 and below not supported. |
| E_​LAS_​DIFFERENT_​GPS_​TIME | -2147201001 | Different types of GPS times. |
| E_​LAS_​WRITER_​INITIALIZED | -2147201000 | The LAS builder object already initialized. |
| E_​LAS_​WRITER_​NOT_​INITIALIZED | -2147200999 | The LAS builder object is not initialized. |
| E_​LAS_​WRITER_​WRONG_​ORDER | -2147200998 | Data are added in a wrong order (e.g., adding a VLR after point records have been added). |
| E_​WRONG_​EXTRABYTE_​COUNT | -2147200997 | Incorrect extra byte count. |
| E_​LAS_​ARRAY_​SIZE_​MISMATCH | -2147200996 | The spacified arrays do not have the same size. |
| E_​LAS_​WRONG_​EXTRABYTE_​TYPE | -2147200995 | Data type for extra bytes must be char or unsigned char. |
| E_​LAS_​EVLR_​NOT_​SUPPORTED | -2147200994 | Extended variable length records not supported in this version. |
| E_​LAS_​INVALID_​PYRAMID | -2147200993 | LasDataset pyramid is invalid or does not exist. |
| E_​LAS_​TIN_​SIZE_​TOO_​BIG | -2147200992 | TIN size exceeds limit. |
| E_​LAS_​NOT_​AN_​EDITED_​ZLAS_​FILE | -2147200991 | TIN size exceeds limit. |