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

Function ready

pdal/FlexWriter.hpp:95–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 { return false; }
94
95 virtual void ready(PointTableRef table) final
96 {
97 readyTable(table);
98
99 // Ready the file if we're writing a single file.
100 if (m_hashPos == std::string::npos)
101 {
102 if (!table.spatialReferenceUnique() && !srsOverridden())
103 log()->get(LogLevel::Error) << getName() <<
104 ": Attempting to write '" << filename() <<
105 "' with multiple point spatial references." << std::endl;
106 readyFile(generateFilename(), table.spatialReference());
107 }
108 }
109
110 virtual void prerun(const PointViewSet& views) final
111 {

Callers

nothing calls this directly

Calls 6

readyTableFunction · 0.85
srsOverriddenFunction · 0.85
generateFilenameFunction · 0.85
logFunction · 0.70
getNameFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected