4 #include "../../Config.h" 12 #include <QApplication> 20 std::string rinfo (
"file://");
22 std::string data_dir = TERRALIB_DATA_DIR;
26 std::string filename(data_dir +
"/Nulos/nulos2.shp");
28 rinfo += data_dir +
"/geotiff/cbers2b_rgb342_crop.tif";
34 std::unique_ptr<te::da::DataSourceTransactor> tr = ds->getTransactor();
35 std::unique_ptr<te::da::DataSetType>
dt = tr->getDataSetType(
"cbers2b_rgb342_crop.tif");
38 std::unique_ptr<te::da::DataSet> dataSet = tr->getDataSet(
"cbers2b_rgb342_crop.tif");
41 std::unique_ptr<te::rst::Raster> raster = dataSet->getRaster(rpos);
50 if(dlg.exec() == QDialog::Accepted)
This file contains include headers for the Data Type module of TerraLib.
static std::unique_ptr< DataSource > make(const std::string &driver, const te::core::URI &connInfo)
This file contains include headers for TerraLib Symbology Encoding module.
static te::dt::Date ds(2010, 01, 01)
static te::dt::TimeDuration dt(20, 30, 50, 11)
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos...
TEDATAACCESSEXPORT std::size_t GetFirstPropertyPos(const te::da::DataSet *dataset, int datatype)
This file contains include headers for the Data Access module of TerraLib.