MCPcopy Create free account
hub / github.com/PDAL/PDAL / checkTile

Method checkTile

io/EptReader.cpp:789–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787}
788
789void EptReader::checkTile(const ept::TileContents& tile)
790{
791 if (tile.error().size())
792 {
793 m_p->done = true;
794 // Since tasks for all tiles were added to the queue, clear them
795 // before stopping the pool.
796 m_p->pool->clearTasks();
797 m_p->pool->stop();
798 log()->get(LogLevel::Warning) <<
799 "Use readers.ept.ignore_unreadable to ignore this error" <<
800 std::endl;
801 throwError("Error reading tile " + tile.key().toString() + ": " +
802 tile.error());
803 }
804}
805
806
807// This code runs in a single thread, so doesn't need locking.

Callers

nothing calls this directly

Calls 6

logFunction · 0.50
sizeMethod · 0.45
errorMethod · 0.45
getMethod · 0.45
toStringMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected