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

Method verifyLas

tools/nitfwrap/NitfWrap.cpp:234–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234bool NitfWrap::verifyLas(ILeStream& in, BOX3D& bounds, bool& compressed)
235{
236 LasHeader h;
237
238 try
239 {
240 in >> h;
241 }
242 catch (LasHeader::error&)
243 {
244 return false;
245 }
246 compressed = h.compressed();
247 bounds = h.getBounds();
248 gdal::reprojectBounds(bounds, h.srs(), "EPSG:4326");
249 return true;
250}
251
252
253bool NitfWrap::verifyBpf(ILeStream& in, BOX3D& bounds)

Callers

nothing calls this directly

Calls 4

reprojectBoundsFunction · 0.85
compressedMethod · 0.45
getBoundsMethod · 0.45
srsMethod · 0.45

Tested by

no test coverage detected