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

Method readyFile

io/LasWriter.cpp:337–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335
336
337void LasWriter::readyFile(const std::string& filename, const SpatialReference& srs)
338{
339 std::ostream *out = Utils::createFile(filename, true);
340 if (!out)
341 throwError("Couldn't open file '" + filename + "' for output.");
342 d->curFilename = filename;
343 Utils::writeProgress(m_progressFd, "READYFILE", filename);
344 prepOutput(out, srs);
345}
346
347
348void LasWriter::prepOutput(std::ostream *outStream, const SpatialReference& srs)

Callers

nothing calls this directly

Calls 2

writeProgressFunction · 0.85
createFileFunction · 0.50

Tested by

no test coverage detected