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

Method l_initialize

pdal/Reader.cpp:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98
99void Reader::l_initialize(PointTableRef table)
100{
101 Stage::l_initialize(table);
102
103 if (m_overrideSrs.valid() && m_defaultSrs.valid())
104 throwError("Cannot specify both 'override_srs' and 'default_srs'");
105
106 if (m_overrideSrs.valid())
107 setSpatialReference(m_overrideSrs);
108 else if (m_defaultSrs.valid())
109 setSpatialReference(m_defaultSrs);
110}
111
112void Reader::l_prepared(PointTableRef table)
113{

Callers

nothing calls this directly

Calls 3

l_initializeFunction · 0.85
setSpatialReferenceFunction · 0.70
validMethod · 0.45

Tested by

no test coverage detected