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

Method initialize

plugins/rdb/io/RdbReader.cpp:149–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148
149void RdbReader::initialize()
150{
151 if (pdal::Utils::isRemote(m_filename))
152 m_filename = pdal::Utils::fetchRemote(m_filename);
153
154 m_pointcloud.reset(new RdbPointcloud(m_filename, m_filter, m_extras));
155 // Set spatial reference form source if not overridden.
156 if (getSpatialReference().empty())
157 setSpatialReference(getSpatialReferenceSystem(*m_pointcloud));
158 readMetadata(*m_pointcloud, getMetadata());
159}
160
161
162void RdbReader::addDimensions(PointLayoutPtr layout)

Callers

nothing calls this directly

Calls 6

isRemoteFunction · 0.85
fetchRemoteFunction · 0.85
setSpatialReferenceFunction · 0.50
getMetadataFunction · 0.50
resetMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected