OGS
|
Implementation of the AsciiRasterInterface class.
Definition in file AsciiRasterInterface.cpp.
#include "AsciiRasterInterface.h"
#include <fstream>
#include <tuple>
#include "BaseLib/FileTools.h"
#include "BaseLib/Logging.h"
#include "BaseLib/StringTools.h"
#include "GeoLib/Point.h"
Go to the source code of this file.
Namespaces | |
namespace | FileIO |
Functions | |
static double | FileIO::readDoubleFromStream (std::istream &in) |
Reads a double replacing comma by point. | |
static std::optional< GeoLib::RasterHeader > | FileIO::readASCHeader (std::ifstream &in) |
static std::optional< std::tuple< GeoLib::RasterHeader, double, double > > | FileIO::readSurferHeader (std::ifstream &in) |
std::vector< std::string > | FileIO::readFile (std::istream &in) |
std::optional< std::array< double, 3 > > | FileIO::readXyzCoordinates (std::string const &line) |
GeoLib::RasterHeader | FileIO::getXyzHeader (std::vector< std::string > const &lines) |
static bool | FileIO::allRastersExist (std::vector< std::string > const &raster_paths) |
Checks if all raster files actually exist. | |
std::optional< std::vector< GeoLib::Raster const * > > | FileIO::readRasters (std::vector< std::string > const &raster_paths) |