A general object for holding several different raster layers.
More...
#include <LSDRasterAggregator.hpp>
|
| LSDRasterAggregator () |
| the default constructor. This doesn't do anything.
|
|
| LSDRasterAggregator (string path, string file_prefix) |
| This constructor requires a filename The filename and path point to files with the rasters. More...
|
|
void | load_raster_filenames (string filename) |
| This function load a csv file containing names of a DEMs and (possibly) other rasters The first row of the file contains column headers and is ignored Thereafter you have two columns in each row, comma seperated, with the raster type as the first column and the raster filename (with full path) as the second. More...
|
|
void | load_parameters (string filename) |
| This loads parameters It creates a map of parameter values. More...
|
|
void | check_rasters () |
| this function checks the existence and georeferencing of the rasters outlined in the file list More...
|
|
A general object for holding several different raster layers.
LSDRasterAggregator::LSDRasterAggregator |
( |
string |
path, |
|
|
string |
file_prefix |
|
) |
| |
|
inline |
This constructor requires a filename The filename and path point to files with the rasters.
- Parameters
-
path | The path to the files |
file_prefix | the prefix of the files |
- Author
- SMM
- Date
- 10/02/2016
void LSDRasterAggregator::check_rasters |
( |
| ) |
|
this function checks the existence and georeferencing of the rasters outlined in the file list
- Author
- SMM
- Date
- 10/02/2016
void LSDRasterAggregator::load_parameters |
( |
string |
filename | ) |
|
This loads parameters It creates a map of parameter values.
- Parameters
-
filename | a string of the full filename |
- Author
- SMM
- Date
- 10/02/2016
void LSDRasterAggregator::load_raster_filenames |
( |
string |
filename | ) |
|
This function load a csv file containing names of a DEMs and (possibly) other rasters The first row of the file contains column headers and is ignored Thereafter you have two columns in each row, comma seperated, with the raster type as the first column and the raster filename (with full path) as the second.
- Parameters
-
filename | the name of the file |
- Author
- SMM
- Date
- 10/02/2016
map<string,string> LSDRasterAggregator::parameter_map |
|
protected |
A map holding the parameter values. These are stored as strings and converted to the appropriate data type as needed
map< string,string > LSDRasterAggregator::raster_filenames |
|
protected |
A map for holding the different raster filenames The index into the raster filenames is the raster type. There are some commone raster types: DEM is the DEM —more to come here—
The documentation for this class was generated from the following files: