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

Method initialize

plugins/tiledb/io/TileDBWriter.cpp:190–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void TileDBWriter::initialize()
191{
192 try
193 {
194 if (!m_args->m_cfgFileName.empty())
195 {
196 tiledb::Config cfg(m_args->m_cfgFileName);
197 m_ctx.reset(new tiledb::Context(cfg));
198 }
199 else
200 m_ctx.reset(new tiledb::Context());
201 }
202 catch (const tiledb::TileDBError& err)
203 {
204 throwError(std::string("TileDB Error: ") + err.what());
205 }
206}
207
208void TileDBWriter::ready(pdal::BasePointTable& table)
209{

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
resetMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected