mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
We are now using the code from "qgis" branch: https://github.com/hobu/untwine/tree/qgis It is in sync with "main" branch of untwine as of today, just with a couple of small patches to make it work with PDAL older than 2.4. The new version of untwine includes: - indexing to COPC (in addition to EPT) - fixes to bugs that were reported in QGIS - error reporting Untwine now also directly links to lazperf library (in addition to PDAL).
57 lines
1.4 KiB
C++
57 lines
1.4 KiB
C++
/*****************************************************************************
|
|
* Copyright (c) 2020, Hobu, Inc. (info@hobu.co) *
|
|
* *
|
|
* All rights reserved. *
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 3 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
****************************************************************************/
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <unordered_map>
|
|
#include <vector>
|
|
|
|
#include "PyramidManager.hpp"
|
|
|
|
namespace pdal
|
|
{
|
|
class ProgramArgs;
|
|
}
|
|
|
|
namespace untwine
|
|
{
|
|
|
|
struct Options;
|
|
class ProgressWriter;
|
|
|
|
namespace bu
|
|
{
|
|
|
|
class FileInfo;
|
|
|
|
class BuPyramid
|
|
{
|
|
public:
|
|
BuPyramid(BaseInfo& common);
|
|
void run(ProgressWriter& progress);
|
|
|
|
private:
|
|
void getInputFiles();
|
|
void readBaseInfo();
|
|
size_t queueWork();
|
|
void writeInfo();
|
|
|
|
BaseInfo m_b;
|
|
PyramidManager m_manager;
|
|
std::unordered_map<VoxelKey, FileInfo> m_allFiles;
|
|
};
|
|
|
|
} // namespace bu
|
|
} // namespace untwine
|