You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using libLAS for reading LAS and LAZ files while filtering using the built in filters I ran into some issues.
If a filter is applied and a LAS is used the code (ReaderImpl::ReadNextPoint()) will return an out_of_range exception if the stream is EOF, this exception is caught by Reader::ReadNextPoint()
When using libLAS for reading LAS and LAZ files while filtering using the built in filters I ran into some issues.
If a filter is applied and a LAS is used the code (ReaderImpl::ReadNextPoint()) will return an out_of_range exception if the stream is EOF, this exception is caught by Reader::ReadNextPoint()
If a filter is applied and a LAZ is used the code (ZipReaderImpl::ReadNextPoint()) will use ReadIdiom() with the following code:
This function throws a liblas_error and this exception is NOT caught by Reader::ReadNextPoint().
Neither implementation handle the out_of_bounds in a clean fashion since they read the next point before checking if the stream is EOF.
The code below is used for reading in zipreader, I was wondering why it has the
if(!FilterPoint(*m_point))
in the first place?The text was updated successfully, but these errors were encountered: