Log I/O
LasMessage Class Reference

A LAS message indicates warning or errors during the LAS file read process or problems/inconsistencies with the read content. More...

Public Types

enum  Severity { ERROR, WARNING }
 LAS message severity. More...
 

Public Member Functions

string GetMessage ()
 Get text of this message. More...
 
Severity GetSeverity ()
 Get severity of this message. More...
 
object GetSource ()
 Get source of message. More...
 
override string ToString ()
 

Detailed Description

A LAS message indicates warning or errors during the LAS file read process or problems/inconsistencies with the read content.

From the reading process:

    LasFileReader reader = new LasFileReader(new FileInfo("/path/to/file"));
    IList<LasFile> lasFiles = reader.Read(true);
    IList<LasMessage> messages = reader.GetMessages();
  

LAS file validation:

    IList<LasMessage> messages = LasValidator.Validate(lasFile);
  
Author
Petroware AS

Member Enumeration Documentation

enum Severity
strong

LAS message severity.

Enumerator
ERROR 

LAS format error.

The format is wrong according to the standard and the parsed result may be wrong or deficient.

WARNING 

LAS format warning.

The format is wrong according to the standard, but it should have no practical implications on the result. /summary>

Member Function Documentation

string GetMessage ( )

Get text of this message.

Returns
Text of this message. Never null.
Severity GetSeverity ( )

Get severity of this message.

Returns
Severity of this message.
object GetSource ( )

Get source of message.

Returns
Record source where the message applies. Typically a LasRecord, a LasSection or a LasFile. Never null.

The documentation for this class was generated from the following file: