38 PGMIO(
const std::string& configfile);
52 void read2DGrid_internal(
Grid2DObject& grid_out,
const std::string& full_name);
53 size_t getNextHeader(std::vector<std::string>& vecString,
const std::string& filename, std::ifstream& fin);
56 static const double plugin_nodata;
57 std::string coordin, coordinparam, coordout, coordoutparam;
58 std::string grid2dpath_in, grid2dpath_out;
virtual void read2DGrid(Grid2DObject &grid_out, const std::string ¶meter="")
A generic function for parsing 2D grids into a Grid2DObject. The string parameter shall be used for a...
Definition: PGMIO.cc:183
A class representing the IO Layer of the software Alpine3D. For each type of IO (File, DB, Webservice, etc) a derived class is to be created that holds the specific implementation of the appropriate virtual methods. The IOHandler class is a wrapper class that is able to deal with all above implementations of the IOInterface abstract base class.
Definition: IOInterface.h:43
virtual void readDEM(DEMObject &dem_out)
Parse the DEM (Digital Elevation Model) into the Grid2DObject.
Definition: PGMIO.cc:194
virtual void write2DGrid(const Grid2DObject &grid_in, const std::string &filename)
Write a Grid2DObject The filename is specified relative to GRID2DPATH for most plugins.
Definition: PGMIO.cc:201
This class writes 2D grids as Portable Grey Map file format.
Definition: PGMIO.h:36
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:58
A class to represent DEMs and automatically compute some properties. This class stores elevation grid...
Definition: DEMObject.h:39
A class to represent 2D Grids. Typical application as DEM or Landuse Model.
Definition: Grid2DObject.h:37
A class to handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:79
PGMIO(const std::string &configfile)
Definition: PGMIO.cc:56
Parameters
Definition: MeteoData.h:44