27 #include <terralib_buildconfig.h> 30 #include "../Config.h" 33 #include <boost/test/unit_test.hpp> 34 #include <boost/shared_ptr.hpp> 42 std::map<std::string, std::string> auxRasterInfo;
44 auxRasterInfo[
"URI"] = TERRALIB_DATA_DIR
"/geotiff/cbers_rgb342_crop1.tif";
47 BOOST_CHECK( inputRasterPtr.get() );
51 auxRasterInfo[
"URI"] =
"TsReprojection_tcReprojection1.tif";
52 boost::shared_ptr< te::rst::Raster > outputRasterPtr(
53 inputRasterPtr->transform( 32621, auxRasterInfo, 1 ) );
54 BOOST_CHECK( outputRasterPtr.get() );
65 BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(reprojectin2_test)
BOOST_AUTO_TEST_SUITE(reprojection_tests) BOOST_AUTO_TEST_CASE(reprojection1_test)
static Raster * open(const std::map< std::string, std::string > &rinfo, te::common::AccessPolicy p=te::common::RAccess)
It opens a raster with the given parameters and default raster driver.