diff --git a/CI/main_superbuild.cmake b/CI/main_superbuild.cmake index 27ac7ffe2cc39abd094f93e6a62f095cc03cacae..f6f0b1d7af18565f47c42a67ba50430dc7450681 100644 --- a/CI/main_superbuild.cmake +++ b/CI/main_superbuild.cmake @@ -39,20 +39,17 @@ if(WIN32) set(ENV{PATH} "${XDK_PATH_NATIVE}\\bin;$ENV{PATH}" ) set(ENV{PATH} "$ENV{PATH};${XDK_PATH_NATIVE}\\lib" ) set(ENV{GDAL_DATA} "${XDK_PATH_NATIVE}\\data" ) - set(ENV{GEOTIFF_CSV} "${XDK_PATH_NATIVE}\\share\\epsg_csv" ) - set(ENV{PROJ_LIB} "${XDK_PATH_NATIVE}\\share" ) + set(ENV{PROJ_LIB} "${XDK_PATH_NATIVE}\\share\\proj" ) # needed to load Qt plugins for testing, not for binary packages where we use a qt.conf file set(ENV{QT_PLUGIN_PATH} "${XDK_PATH_NATIVE}\\plugins") set( CTEST_ENVIRONMENT "PATH=$ENV{PATH} GDAL_DATA=$ENV{GDAL_DATA} -GEOTIFF_CSV=$ENV{GEOTIFF_CSV} PROJ_LIB=$ENV{PROJ_LIB} ") else() set(ENV{PATH} "${XDK_PATH}/lib:${XDK_PATH}/bin:$ENV{PATH}" ) set( GDAL_DATA "${XDK_PATH}/share/gdal" ) - set( GEOTIFF_CSV "${XDK_PATH}/share/epsg_csv" ) set( PROJ_LIB "${XDK_PATH}/share" ) set( CTEST_ENVIRONMENT "PATH=$ENV{PATH} diff --git a/CMake/otbcli.bat.in b/CMake/otbcli.bat.in index d9dbaff9a2c40696c6a5e96335fe90ef08ae8ffc..2066aee9482d51e3f04c4e5ea8fa46a71af6bbad 100644 --- a/CMake/otbcli.bat.in +++ b/CMake/otbcli.bat.in @@ -39,7 +39,7 @@ if exist %CURRENT_SCRIPT_DIR%..\@OTB_INSTALL_APP_DIR_NATIVE@ ( set OTB_APPLICATION_PATH=%CURRENT_SCRIPT_DIR%..\@OTB_INSTALL_APP_DIR_NATIVE@;%OTB_APPLICATION_PATH% ) -::set GDAL_DATA, EPSG_CSV and update PATH +::set GDAL_DATAs and update PATH if exist %CURRENT_SCRIPT_DIR%\..\otbenv.bat ( call %CURRENT_SCRIPT_DIR%\..\otbenv.bat ) diff --git a/CMake/otbcli.sh.in b/CMake/otbcli.sh.in index c16bd6060121483eaa66088981727fb691f30bf3..bc2d824d241bc0e788b34c017b85f276debb4226 100644 --- a/CMake/otbcli.sh.in +++ b/CMake/otbcli.sh.in @@ -38,7 +38,7 @@ fi # avoid numerical issues caused by locale export LC_NUMERIC=C -# Export GDAL_DATA, EPSG_CSV +# Export GDAL_DATA # Note that OTB_APPLICATION_PATH is reset here. if [ -f "$CURRENT_SCRIPT_DIR/../otbenv.profile" ]; then . "$CURRENT_SCRIPT_DIR/../otbenv.profile" diff --git a/CMake/otbgui.bat.in b/CMake/otbgui.bat.in index acaf9a41f450a2c1f1172149bab007416702b256..56b47d4df15075cf8d808f32771e2f9c8408bdd7 100644 --- a/CMake/otbgui.bat.in +++ b/CMake/otbgui.bat.in @@ -41,7 +41,7 @@ if exist %CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@ ( set LC_NUMERIC=C -::set GDAL_DATA, EPSG_CSV and update PATH +::set GDAL_DATA and update PATH if exist %CURRENT_SCRIPT_DIR%\..\otbenv.bat ( call %CURRENT_SCRIPT_DIR%\..\otbenv.bat ) diff --git a/CMake/otbgui.sh.in b/CMake/otbgui.sh.in index 6e4d81ea176a5c9d43b3e25253cda87114f68ef6..1320edf270b972f632e7dc51e42cf12bb91472ec 100644 --- a/CMake/otbgui.sh.in +++ b/CMake/otbgui.sh.in @@ -38,7 +38,7 @@ fi # avoid numerical issues caused by locale export LC_NUMERIC=C -# Export GDAL_DATA, EPSG_CSV +# Export GDAL_DATA if [ -f "$CURRENT_SCRIPT_DIR/../otbenv.profile" ]; then . "$CURRENT_SCRIPT_DIR/../otbenv.profile" else diff --git a/Data/Baseline/OTB/Files/ioOtbImageTestRadarsat.3.txt b/Data/Baseline/OTB/Files/ioOtbImageTestRadarsat.3.txt new file mode 100644 index 0000000000000000000000000000000000000000..dc5d0767a4ef202df819fb6bc7f0929aa64cc79c --- /dev/null +++ b/Data/Baseline/OTB/Files/ioOtbImageTestRadarsat.3.txt @@ -0,0 +1,136 @@ +------ IMAGE -------- +Spacing [1, 1] +Origin [0.5, 0.5] +Projection REF +GCP Projection GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]] +GCP Count 15 +GCP[0] Id 1 +GCP[0] Info +GCP[0] Row 0.5 +GCP[0] Col 0.5 +GCP[0] X 29.1794 +GCP[0] Y -1.29129 +GCP[0] Z 0 +---------------- +GCP[1] Id 2 +GCP[1] Info +GCP[1] Row 0.5 +GCP[1] Col 3349.5 +GCP[1] X 29.363 +GCP[1] Y -1.33284 +GCP[1] Z 0 +---------------- +GCP[2] Id 3 +GCP[2] Info +GCP[2] Row 0.5 +GCP[2] Col 6698.5 +GCP[2] X 29.5464 +GCP[2] Y -1.37434 +GCP[2] Z 0 +---------------- +GCP[3] Id 4 +GCP[3] Info +GCP[3] Row 2559.5 +GCP[3] Col 0.5 +GCP[3] X 29.1481 +GCP[3] Y -1.43243 +GCP[3] Z 0 +---------------- +GCP[4] Id 5 +GCP[4] Info +GCP[4] Row 2559.5 +GCP[4] Col 3349.5 +GCP[4] X 29.3316 +GCP[4] Y -1.47402 +GCP[4] Z 0 +---------------- +GCP[5] Id 6 +GCP[5] Info +GCP[5] Row 2559.5 +GCP[5] Col 6698.5 +GCP[5] X 29.5151 +GCP[5] Y -1.51557 +GCP[5] Z 0 +---------------- +GCP[6] Id 7 +GCP[6] Info +GCP[6] Row 5118.5 +GCP[6] Col 0.5 +GCP[6] X 29.1167 +GCP[6] Y -1.57356 +GCP[6] Z 0 +---------------- +GCP[7] Id 8 +GCP[7] Info +GCP[7] Row 5118.5 +GCP[7] Col 3349.5 +GCP[7] X 29.3003 +GCP[7] Y -1.6152 +GCP[7] Z 0 +---------------- +GCP[8] Id 9 +GCP[8] Info +GCP[8] Row 5118.5 +GCP[8] Col 6698.5 +GCP[8] X 29.4838 +GCP[8] Y -1.65679 +GCP[8] Z 0 +---------------- +GCP[9] Id 10 +GCP[9] Info +GCP[9] Row 7677.5 +GCP[9] Col 0.5 +GCP[9] X 29.0853 +GCP[9] Y -1.71469 +GCP[9] Z 0 +---------------- +GCP[10] Id 11 +GCP[10] Info +GCP[10] Row 7677.5 +GCP[10] Col 3349.5 +GCP[10] X 29.2689 +GCP[10] Y -1.75637 +GCP[10] Z 0 +---------------- +GCP[11] Id 12 +GCP[11] Info +GCP[11] Row 7677.5 +GCP[11] Col 6698.5 +GCP[11] X 29.4524 +GCP[11] Y -1.79801 +GCP[11] Z 0 +---------------- +GCP[12] Id 13 +GCP[12] Info +GCP[12] Row 10236.5 +GCP[12] Col 0.5 +GCP[12] X 29.0539 +GCP[12] Y -1.85581 +GCP[12] Z 0 +---------------- +GCP[13] Id 14 +GCP[13] Info +GCP[13] Row 10236.5 +GCP[13] Col 3349.5 +GCP[13] X 29.2375 +GCP[13] Y -1.89754 +GCP[13] Z 0 +---------------- +GCP[14] Id 15 +GCP[14] Info +GCP[14] Row 10236.5 +GCP[14] Col 6698.5 +GCP[14] X 29.421 +GCP[14] Y -1.93923 +GCP[14] Z 0 +---------------- +Geo Transform +Corners + UL[0] -> 0 + UL[1] -> 0 + UR[0] -> 6699 + UR[1] -> 0 + LL[0] -> 0 + LL[1] -> 10238 + LR[0] -> 6699 + LR[1] -> 10238 diff --git a/Data/Baseline/OTB/Files/ioOtbImageTestSAR_ERS.3.txt b/Data/Baseline/OTB/Files/ioOtbImageTestSAR_ERS.3.txt new file mode 100644 index 0000000000000000000000000000000000000000..d6e32a375cb5d835f247d7201bd294d6cb3db06b --- /dev/null +++ b/Data/Baseline/OTB/Files/ioOtbImageTestSAR_ERS.3.txt @@ -0,0 +1,48 @@ +------ IMAGE -------- +Spacing [1, 1] +Origin [0.5, 0.5] +Projection REF +GCP Projection GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]] +GCP Count 4 +GCP[0] Id 1 +GCP[0] Info +GCP[0] Row 0.5 +GCP[0] Col 0.5 +GCP[0] X 4.17 +GCP[0] Y 36.777 +GCP[0] Z 0 +---------------- +GCP[1] Id 2 +GCP[1] Info +GCP[1] Row 0.5 +GCP[1] Col 4899.5 +GCP[1] X 3.084 +GCP[1] Y 36.96 +GCP[1] Z 0 +---------------- +GCP[2] Id 3 +GCP[2] Info +GCP[2] Row 25224.5 +GCP[2] Col 4899.5 +GCP[2] X 2.856 +GCP[2] Y 36.075 +GCP[2] Z 0 +---------------- +GCP[3] Id 4 +GCP[3] Info +GCP[3] Row 25224.5 +GCP[3] Col 0.5 +GCP[3] X 3.929 +GCP[3] Y 35.893 +GCP[3] Z 0 +---------------- +Geo Transform +Corners + UL[0] -> 0 + UL[1] -> 0 + UR[0] -> 4900 + UR[1] -> 0 + LL[0] -> 0 + LL[1] -> 25225 + LR[0] -> 4900 + LR[1] -> 25225 diff --git a/Data/Baseline/OTB/Files/ioOtbVectorImageTestCOSMOSKYMED.txt b/Data/Baseline/OTB/Files/ioOtbVectorImageTestCOSMOSKYMED.txt index eeade032e8e80b43eeb83693f7e7fe4643dba8dd..4a92f40dd81e2a3948ed5a96c3f40f8b004e74b2 100644 --- a/Data/Baseline/OTB/Files/ioOtbVectorImageTestCOSMOSKYMED.txt +++ b/Data/Baseline/OTB/Files/ioOtbVectorImageTestCOSMOSKYMED.txt @@ -17,7 +17,11 @@ Projection REF PROJCS["Transverse_Mercator", PARAMETER["central_meridian",3], PARAMETER["scale_factor",0.9996], PARAMETER["false_easting",500000], - PARAMETER["false_northing",0]] + PARAMETER["false_northing",0], + UNIT["metre",1, + AUTHORITY["EPSG","9001"]], + AXIS["Easting",EAST], + AXIS["Northing",NORTH]] GCP Projection GCP Count 0 Geo Transform diff --git a/Data/Baseline/OTB/Files/ioOtbVectorImageTestFORMOSAT2.3.txt b/Data/Baseline/OTB/Files/ioOtbVectorImageTestFORMOSAT2.3.txt new file mode 100644 index 0000000000000000000000000000000000000000..3ce5a16e692395a432a8785f032be1d2e727449b --- /dev/null +++ b/Data/Baseline/OTB/Files/ioOtbVectorImageTestFORMOSAT2.3.txt @@ -0,0 +1,48 @@ +------ IMAGE -------- +Spacing [1, 1] +Origin [0.5, 0.5] +Projection REF +GCP Projection GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]] +GCP Count 4 +GCP[0] Id 1 +GCP[0] Info +GCP[0] Row 0.5 +GCP[0] Col 0.5 +GCP[0] X 1.05476 +GCP[0] Y 43.5896 +GCP[0] Z 0 +---------------- +GCP[1] Id 2 +GCP[1] Info +GCP[1] Row 0.5 +GCP[1] Col 2999.5 +GCP[1] X 1.41679 +GCP[1] Y 43.5219 +GCP[1] Z 0 +---------------- +GCP[2] Id 3 +GCP[2] Info +GCP[2] Row 2999.5 +GCP[2] Col 2999.5 +GCP[2] X 1.32096 +GCP[2] Y 43.313 +GCP[2] Z 0 +---------------- +GCP[3] Id 4 +GCP[3] Info +GCP[3] Row 2999.5 +GCP[3] Col 0.5 +GCP[3] X 0.960095 +GCP[3] Y 43.3803 +GCP[3] Z 0 +---------------- +Geo Transform +Corners + UL[0] -> 0 + UL[1] -> 0 + UR[0] -> 3000 + UR[1] -> 0 + LL[0] -> 0 + LL[1] -> 3000 + LR[0] -> 3000 + LR[1] -> 3000 diff --git a/Data/Baseline/OTB/Files/ioOtbVectorImageTestSpot5.3.txt b/Data/Baseline/OTB/Files/ioOtbVectorImageTestSpot5.3.txt new file mode 100644 index 0000000000000000000000000000000000000000..465456d6c79942c8abc8e1c8883df49e6df0139e --- /dev/null +++ b/Data/Baseline/OTB/Files/ioOtbVectorImageTestSpot5.3.txt @@ -0,0 +1,48 @@ +------ IMAGE -------- +Spacing [1, 1] +Origin [0.5, 0.5] +Projection REF +GCP Projection GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]] +GCP Count 4 +GCP[0] Id 1 +GCP[0] Info +GCP[0] Row 0.5 +GCP[0] Col 0.5 +GCP[0] X 51.1515 +GCP[0] Y 36.0442 +GCP[0] Z 0 +---------------- +GCP[1] Id 2 +GCP[1] Info +GCP[1] Row 0.5 +GCP[1] Col 5999.5 +GCP[1] X 51.8029 +GCP[1] Y 35.9172 +GCP[1] Z 0 +---------------- +GCP[2] Id 3 +GCP[2] Info +GCP[2] Row 5999.5 +GCP[2] Col 5999.5 +GCP[2] X 51.6467 +GCP[2] Y 35.3907 +GCP[2] Z 0 +---------------- +GCP[3] Id 4 +GCP[3] Info +GCP[3] Row 5999.5 +GCP[3] Col 0.5 +GCP[3] X 50.9995 +GCP[3] Y 35.5173 +GCP[3] Z 0 +---------------- +Geo Transform +Corners + UL[0] -> 0 + UL[1] -> 0 + UR[0] -> 6000 + UR[1] -> 0 + LL[0] -> 0 + LL[1] -> 6000 + LR[0] -> 6000 + LR[1] -> 6000 diff --git a/Data/Baseline/OTB/Files/ioTvMultiDatasetReading1.1.txt b/Data/Baseline/OTB/Files/ioTvMultiDatasetReading1.1.txt new file mode 100644 index 0000000000000000000000000000000000000000..48d90c2ca3fbb0308f467c568ae079de77154481 --- /dev/null +++ b/Data/Baseline/OTB/Files/ioTvMultiDatasetReading1.1.txt @@ -0,0 +1,122 @@ +VectorImage (0x22abdc0) + RTTI typeinfo: otb::VectorImage<double, 2u> + Reference Count: 3 + Modified Time: 91 + Debug: Off + Object Name: + Observers: + none + Source: (0x22a5720) + Source output name: Primary + Release Data: Off + Data Released: False + Global Release Data: Off + PipelineMTime: 20 + UpdateMTime: 0 + RealTimeStamp: 0 seconds + LargestPossibleRegion: + Dimension: 2 + Index: [0, 0] + Size: [4800, 4800] + BufferedRegion: + Dimension: 2 + Index: [0, 0] + Size: [0, 0] + RequestedRegion: + Dimension: 2 + Index: [0, 0] + Size: [0, 0] + Spacing: [231.65635826375, 231.656358263958] + Origin: [-12231339.8881539, 6671587.28982087] + Direction: +1 0 +0 -1 + + IndexToPointMatrix: +231.65635826375 0 +0 -231.656358263958 + + PointToIndexMatrix: +0.00431673884323719 0 +0 -0.00431673884323331 + + Inverse Direction: +1 0 +0 -1 + + VectorLength: 1 + PixelContainer: + ImportImageContainer (0x22a5650) + RTTI typeinfo: itk::ImportImageContainer<unsigned long, double> + Reference Count: 1 + Modified Time: 11 + Debug: Off + Object Name: + Observers: + none + Pointer: 0 + Container manages memory: true + Size: 0 + Capacity: 0 + ---> DataType = 0 + ---> DriverLongName = HDF4 Dataset + ---> DriverShortName = HDF4Image + ---> GeoTransform[0] = -12231455.716333 + ---> GeoTransform[1] = 231.65635826375 + ---> GeoTransform[2] = 0 + ---> GeoTransform[3] = 6671703.118 + ---> GeoTransform[4] = 0 + ---> GeoTransform[5] = -231.656358263958 + ---> LowerLeftCorner[0] = -12231455.716333 + ---> LowerLeftCorner[1] = 5559752.598333 + ---> LowerRightCorner[0] = -11119505.196667 + ---> LowerRightCorner[1] = 5559752.598333 + ---> Metadata_0 = DAYNIGHTFLAG=D + ---> Metadata_1 = EASTBOUNDINGCOORDINATE=-155.559418 + ---> Metadata_10 = PROCESSINGCENTER=MODAPS + ---> Metadata_11 = PROCESSINGENVIRONMENT=Linux minion5336 2.6.22.19-server-2mdv #1 SMP Mon May 5 21:13:00 EDT 2008 i686 IntelR XeonR CPU E5430 @ 2.66GHz GNU/Linux + ---> Metadata_12 = PRODUCTIONDATETIME=2008-12-03 19:03:08 + ---> Metadata_13 = RANGEBEGINNINGDATE=2006-08-21 + ---> Metadata_14 = RANGEBEGINNINGTIME=00:00:00 + ---> Metadata_15 = RANGEENDINGDATE=2006-08-28 + ---> Metadata_16 = RANGEENDINGTIME=23:59:59 + ---> Metadata_17 = scale_factor=0.0001 + ---> Metadata_18 = SHORTNAME=MOD09Q1G_EVI + ---> Metadata_19 = SOUTHBOUNDINGCOORDINATE=50.000000 + ---> Metadata_2 = HDFEOSVersion=HDFEOS_V2.9 + ---> Metadata_20 = TileID=51007003 + ---> Metadata_21 = valid_range=-2000, 10000 + ---> Metadata_22 = VERSIONID=5 + ---> Metadata_23 = VERTICALTILENUMBER=03 + ---> Metadata_24 = WESTBOUNDINGCOORDINATE=-180.000000 + ---> Metadata_25 = _FillValue=32767 + ---> Metadata_3 = HORIZONTALTILENUMBER=07 + ---> Metadata_4 = INPUTPOINTER=MOD09Q1.A2005001.h07v03.005.2007352095846.hdf,MOD09Q1.A2005009.h07v03.005.2007356042935.hdf,MOD09Q1.A2005017.h07v03.005.2007358144925.hdf,MOD09Q1.A2005025.h07v03.005.2007362053649.hdf,MOD09Q1.A2005033.h07v03.005.2007364181843.hdf,MOD09Q1.A2005041.h07v03.005.2008001225607.hdf,MOD09Q1.A2005049.h07v03.005.2008199094111.hdf,MOD09Q1.A2005057.h07v03.005.2008200060041.hdf,MOD09Q1.A2005065.h07v03.005.2008011022036.hdf,MOD09Q1.A2005073.h07v03.005.2008011212125.hdf,MOD09Q1.A2005081.h07v03.005.2008013054005.hdf,MOD09Q1.A2005089.h07v03.005.2008013133454.hdf,MOD09Q1.A2005097.h07v03.005.2008015013356.hdf,MOD09Q1.A2005105.h07v03.005.2008018163918.hdf,MOD09Q1.A2005113.h07v03.005.2008020052027.hdf,MOD09Q1.A2005121.h07v03.005.2008022182402.hdf,MOD09Q1.A2005129.h07v03.005.2008024223714.hdf,MOD09Q1.A2005137.h07v03.005.2008032153227.hdf,MOD09Q1.A2005145.h07v03.005.2008034052158.hdf,MOD09Q1.A2005153.h07v03.005.2008233033009.hdf,MOD09Q1.A2005161.h07v03.005.2008036233027.hdf,MOD09Q1.A2005169.h07v03.005.2008039165041.hdf,MOD09Q1.A2005177.h07v03.005.2008205013722.hdf,MOD09Q1.A2005185.h07v03.005.2008044090710.hdf,MOD09Q1.A2005193.h07v03.005.2008047145217.hdf,MOD09Q1.A2005201.h07v03.005.2008210120745.hdf,MOD09Q1.A2005209.h07v03.005.2008053125802.hdf,MOD09Q1.A2005217.h07v03.005.2008055040352.hdf,MOD09Q1.A2005225.h07v03.005.2008058000740.hdf,MOD09Q1.A2005233.h07v03.005.2008213101122.hdf,MOD09Q1.A2005241.h07v03.005.2008064002202.hdf,MOD09Q1.A2005249.h07v03.005.2008066033650.hdf,MOD09Q1.A2005257.h07v03.005.2008217124311.hdf,MOD09Q1.A2005265.h07v03.005.2008219075840.hdf,MOD09Q1.A2005273.h07v03.005.2008071102803.hdf,MOD09Q1.A2005281.h07v03.005.2008073133931.hdf,MOD09Q1.A2005289.h07v03.005.2008075034036.hdf,MOD09Q1.A2005297.h07v03.005.2008076174351.hdf,MOD09Q1.A2005305.h07v03.005.2008080141752.hdf,MOD09Q1.A2005313.h07v03.005.2008083221201.hdf,MOD09Q1.A2005321.h07v03.005.2008262094029.hdf,MOD09Q1.A2005329.h07v03.005.2008086084311.hdf,MOD09Q1.A2005337.h07v03.005.2008220163223.hdf,MOD09Q1.A2005345.h07v03.005.2008221215931.hdf,MOD09Q1.A2005353.h07v03.005.2008092055621.hdf,MOD09Q1.A2005361.h07v03.005.2008095024133.hdf,MOD09Q1.A2006001.h07v03.005.2008070193427.hdf,MOD09Q1.A2006009.h07v03.005.2008072135612.hdf,MOD09Q1.A2006017.h07v03.005.2008276212353.hdf,MOD09Q1.A2006025.h07v03.005.2008076154117.hdf,MOD09Q1.A2006033.h07v03.005.2008078191028.hdf,MOD09Q1.A2006041.h07v03.005.2008080125013.hdf,MOD09Q1.A2006049.h07v03.005.2008081182250.hdf,MOD09Q1.A2006057.h07v03.005.2008085025553.hdf,MOD09Q1.A2006065.h07v03.005.2008087112458.hdf,MOD09Q1.A2006073.h07v03.005.2008092234820.hdf,MOD09Q1.A2006081.h07v03.005.2008094112804.hdf,MOD09Q1.A2006089.h07v03.005.2008097163119.hdf,MOD09Q1.A2006097.h07v03.005.2008104024251.hdf,MOD09Q1.A2006105.h07v03.005.2008109184327.hdf,MOD09Q1.A2006113.h07v03.005.2008112065622.hdf,MOD09Q1.A2006121.h07v03.005.2008114114856.hdf,MOD09Q1.A2006129.h07v03.005.2008116161824.hdf,MOD09Q1.A2006137.h07v03.005.2008321005918.hdf,MOD09Q1.A2006145.h07v03.005.2008122023004.hdf,MOD09Q1.A2006153.h07v03.005.2008123012242.hdf,MOD09Q1.A2006161.h07v03.005.2008234022032.hdf,MOD09Q1.A2006169.h07v03.005.2008234074811.hdf,MOD09Q1.A2006177.h07v03.005.2008132204725.hdf,MOD09Q1.A2006185.h07v03.005.2008135162032.hdf,MOD09Q1.A2006193.h07v03.005.2008137192236.hdf,MOD09Q1.A2006201.h07v03.005.2008141212813.hdf,MOD09Q1.A2006209.h07v03.005.2008103130546.hdf,MOD09Q1.A2006217.h07v03.005.2008104140630.hdf,MOD09Q1.A2006225.h07v03.005.2008105043844.hdf,MOD09Q1.A2006233.h07v03.005.2008105044121.hdf,MOD09Q1.A2006241.h07v03.005.2008106172058.hdf,MOD09Q1.A2006249.h07v03.005.2008107093939.hdf,MOD09Q1.A2006257.h07v03.005.2008108021339.hdf,MOD09Q1.A2006265.h07v03.005.2008111101737.hdf,MOD09Q1.A2006273.h07v03.005.2008112052549.hdf,MOD09Q1.A2006281.h07v03.005.2008273123529.hdf,MOD09Q1.A2006289.h07v03.005.2008274210225.hdf,MOD09Q1.A2006297.h07v03.005.2008118080101.hdf,MOD09Q1.A2006305.h07v03.005.2008120230812.hdf,MOD09Q1.A2006313.h07v03.005.2008241150850.hdf,MOD09Q1.A2006321.h07v03.005.2008244194430.hdf,MOD09Q1.A2006329.h07v03.005.2008126194831.hdf,MOD09Q1.A2006337.h07v03.005.2008245113942.hdf,MOD09Q1.A2006345.h07v03.005.2008130125501.hdf,MOD09Q1.A2006353.h07v03.005.2008132125251.hdf,MOD09Q1.A2006361.h07v03.005.2008134123022.hdf,MOD09Q1.A2007001.h07v03.005.2007076052452.hdf,MOD09Q1.A2007009.h07v03.005.2007136101828.hdf,MOD09Q1.A2007017.h07v03.005.2007093100811.hdf,MOD09Q1.A2007025.h07v03.005.2007095141813.hdf,MOD09Q1.A2007033.h07v03.005.2007098192405.hdf,MOD09Q1.A2007041.h07v03.005.2007101004317.hdf,MOD09Q1.A2007049.h07v03.005.2007085092438.hdf,MOD09Q1.A2007057.h07v03.005.2007087160003.hdf,MOD09Q1.A2007065.h07v03.005.2007088114416.hdf,MOD09Q1.A2007073.h07v03.005.2007099084828.hdf,MOD09Q1.A2007081.h07v03.005.2007096142248.hdf,MOD09Q1.A2007089.h07v03.005.2007106224915.hdf,MOD09Q1.A2007097.h07v03.005.2007109005711.hdf,MOD09Q1.A2007105.h07v03.005.2007125012353.hdf,MOD09Q1.A2007113.h07v03.005.2007128052651.hdf,MOD09Q1.A2007121.h07v03.005.2007134225638.hdf,MOD09Q1.A2007129.h07v03.005.2007141162617.hdf,MOD09Q1.A2007137.h07v03.005.2007153014546.hdf,MOD09Q1.A2007145.h07v03.005.2007157171309.hdf,MOD09Q1.A2007153.h07v03.005.2007178163256.hdf,MOD09Q1.A2007161.h07v03.005.2007175194918.hdf,MOD09Q1.A2007169.h07v03.005.2007187125224.hdf,MOD09Q1.A2007177.h07v03.005.2007196172558.hdf,MOD09Q1.A2007185.h07v03.005.2007199131411.hdf,MOD09Q1.A2007193.h07v03.005.2007207123400.hdf,MOD09Q1.A2007201.h07v03.005.2007213034004.hdf,MOD09Q1.A2007209.h07v03.005.2007225042942.hdf,MOD09Q1.A2007217.h07v03.005.2007230064153.hdf,MOD09Q1.A2007225.h07v03.005.2007235133407.hdf,MOD09Q1.A2007233.h07v03.005.2007243114300.hdf,MOD09Q1.A2007241.h07v03.005.2007251112304.hdf,MOD09Q1.A2007249.h07v03.005.2007261034748.hdf,MOD09Q1.A2007257.h07v03.005.2007269054105.hdf,MOD09Q1.A2007265.h07v03.005.2007277010940.hdf,MOD09Q1.A2007273.h07v03.005.2008249094346.hdf,MOD09Q1.A2007281.h07v03.005.2007307120444.hdf,MOD09Q1.A2007289.h07v03.005.2007308194148.hdf,MOD09Q1.A2007297.h07v03.005.2007310022005.hdf,MOD09Q1.A2007305.h07v03.005.2007333221138.hdf,MOD09Q1.A2007313.h07v03.005.2007335153053.hdf,MOD09Q1.A2007321.h07v03.005.2007336102951.hdf,MOD09Q1.A2007329.h07v03.005.2007344152348.hdf,MOD09Q1.A2007337.h07v03.005.2007347030421.hdf,MOD09Q1.A2007345.h07v03.005.2007359183333.hdf,MOD09Q1.A2007353.h07v03.005.2007363073726.hdf,MOD09Q1.A2007361.h07v03.005.2008006173517.hdf + ---> Metadata_5 = LOCALGRANULEID=MOD09Q1G_EVI.A2006233.h07v03.005.2008338190308.hdf + ---> Metadata_6 = LONGNAME=MODIS/Terra Gap-Filled, Smoothed EVI 8-Day L4 500m SIN Grid + ---> Metadata_7 = long_name=MODIS EVI Computed from MOD09A1 + ---> Metadata_8 = NORTHBOUNDINGCOORDINATE=56.258333 + ---> Metadata_9 = PGEVERSION=5.0.6 + ---> NoDataValue[0] = 32767 + ---> ProjectionRef = PROJCS["unnamed", + GEOGCS["Unknown datum based upon the custom spheroid", + DATUM["Not_specified_based_on_custom_spheroid", + SPHEROID["Custom spheroid",6371007.181,0]], + PRIMEM["Greenwich",0], + UNIT["degree",0.0174532925199433, + AUTHORITY["EPSG","9122"]]], + PROJECTION["Sinusoidal"], + PARAMETER["longitude_of_center",0], + PARAMETER["false_easting",0], + PARAMETER["false_northing",0], + UNIT["Meter",1], + AXIS["Easting",EAST], + AXIS["Northing",NORTH]] + ---> ResolutionFactor = 0 + ---> SubDatasetIndex = 0 + ---> TileHintX = 4800 + ---> TileHintY = 4800 + ---> UpperLeftCorner[0] = -12231455.716333 + ---> UpperLeftCorner[1] = 6671703.118 + ---> UpperRightCorner[0] = -11119505.196667 + ---> UpperRightCorner[1] = 6671703.118 diff --git a/Data/Baseline/OTB/Files/ioTvMultiDatasetReading2.1.txt b/Data/Baseline/OTB/Files/ioTvMultiDatasetReading2.1.txt new file mode 100644 index 0000000000000000000000000000000000000000..681b7e222b8f1d2db4863032cb5ff03955e06335 --- /dev/null +++ b/Data/Baseline/OTB/Files/ioTvMultiDatasetReading2.1.txt @@ -0,0 +1,122 @@ +VectorImage (0x2055dc0) + RTTI typeinfo: otb::VectorImage<double, 2u> + Reference Count: 3 + Modified Time: 90 + Debug: Off + Object Name: + Observers: + none + Source: (0x204f720) + Source output name: Primary + Release Data: Off + Data Released: False + Global Release Data: Off + PipelineMTime: 20 + UpdateMTime: 0 + RealTimeStamp: 0 seconds + LargestPossibleRegion: + Dimension: 2 + Index: [0, 0] + Size: [4800, 4800] + BufferedRegion: + Dimension: 2 + Index: [0, 0] + Size: [0, 0] + RequestedRegion: + Dimension: 2 + Index: [0, 0] + Size: [0, 0] + Spacing: [231.65635826375, 231.656358263958] + Origin: [-12231339.8881539, 6671587.28982087] + Direction: +1 0 +0 -1 + + IndexToPointMatrix: +231.65635826375 0 +0 -231.656358263958 + + PointToIndexMatrix: +0.00431673884323719 0 +0 -0.00431673884323331 + + Inverse Direction: +1 0 +0 -1 + + VectorLength: 1 + PixelContainer: + ImportImageContainer (0x204f650) + RTTI typeinfo: itk::ImportImageContainer<unsigned long, double> + Reference Count: 1 + Modified Time: 11 + Debug: Off + Object Name: + Observers: + none + Pointer: 0 + Container manages memory: true + Size: 0 + Capacity: 0 + ---> DataType = 0 + ---> DriverLongName = HDF4 Dataset + ---> DriverShortName = HDF4Image + ---> GeoTransform[0] = -12231455.716333 + ---> GeoTransform[1] = 231.65635826375 + ---> GeoTransform[2] = 0 + ---> GeoTransform[3] = 6671703.118 + ---> GeoTransform[4] = 0 + ---> GeoTransform[5] = -231.656358263958 + ---> LowerLeftCorner[0] = -12231455.716333 + ---> LowerLeftCorner[1] = 5559752.598333 + ---> LowerRightCorner[0] = -11119505.196667 + ---> LowerRightCorner[1] = 5559752.598333 + ---> Metadata_0 = DAYNIGHTFLAG=D + ---> Metadata_1 = description= +1 = high quality MODIS EVI +2 = smoothed EVI +3 = fill value from MODIS + ---> Metadata_10 = PGEVERSION=5.0.6 + ---> Metadata_11 = PROCESSINGCENTER=MODAPS + ---> Metadata_12 = PROCESSINGENVIRONMENT=Linux minion5336 2.6.22.19-server-2mdv #1 SMP Mon May 5 21:13:00 EDT 2008 i686 IntelR XeonR CPU E5430 @ 2.66GHz GNU/Linux + ---> Metadata_13 = PRODUCTIONDATETIME=2008-12-03 19:03:08 + ---> Metadata_14 = RANGEBEGINNINGDATE=2006-08-21 + ---> Metadata_15 = RANGEBEGINNINGTIME=00:00:00 + ---> Metadata_16 = RANGEENDINGDATE=2006-08-28 + ---> Metadata_17 = RANGEENDINGTIME=23:59:59 + ---> Metadata_18 = SHORTNAME=MOD09Q1G_EVI + ---> Metadata_19 = SOUTHBOUNDINGCOORDINATE=50.000000 + ---> Metadata_2 = EASTBOUNDINGCOORDINATE=-155.559418 + ---> Metadata_20 = TileID=51007003 + ---> Metadata_21 = VERSIONID=5 + ---> Metadata_22 = VERTICALTILENUMBER=03 + ---> Metadata_23 = WESTBOUNDINGCOORDINATE=-180.000000 + ---> Metadata_3 = HDFEOSVersion=HDFEOS_V2.9 + ---> Metadata_4 = HORIZONTALTILENUMBER=07 + ---> Metadata_5 = INPUTPOINTER=MOD09Q1.A2005001.h07v03.005.2007352095846.hdf,MOD09Q1.A2005009.h07v03.005.2007356042935.hdf,MOD09Q1.A2005017.h07v03.005.2007358144925.hdf,MOD09Q1.A2005025.h07v03.005.2007362053649.hdf,MOD09Q1.A2005033.h07v03.005.2007364181843.hdf,MOD09Q1.A2005041.h07v03.005.2008001225607.hdf,MOD09Q1.A2005049.h07v03.005.2008199094111.hdf,MOD09Q1.A2005057.h07v03.005.2008200060041.hdf,MOD09Q1.A2005065.h07v03.005.2008011022036.hdf,MOD09Q1.A2005073.h07v03.005.2008011212125.hdf,MOD09Q1.A2005081.h07v03.005.2008013054005.hdf,MOD09Q1.A2005089.h07v03.005.2008013133454.hdf,MOD09Q1.A2005097.h07v03.005.2008015013356.hdf,MOD09Q1.A2005105.h07v03.005.2008018163918.hdf,MOD09Q1.A2005113.h07v03.005.2008020052027.hdf,MOD09Q1.A2005121.h07v03.005.2008022182402.hdf,MOD09Q1.A2005129.h07v03.005.2008024223714.hdf,MOD09Q1.A2005137.h07v03.005.2008032153227.hdf,MOD09Q1.A2005145.h07v03.005.2008034052158.hdf,MOD09Q1.A2005153.h07v03.005.2008233033009.hdf,MOD09Q1.A2005161.h07v03.005.2008036233027.hdf,MOD09Q1.A2005169.h07v03.005.2008039165041.hdf,MOD09Q1.A2005177.h07v03.005.2008205013722.hdf,MOD09Q1.A2005185.h07v03.005.2008044090710.hdf,MOD09Q1.A2005193.h07v03.005.2008047145217.hdf,MOD09Q1.A2005201.h07v03.005.2008210120745.hdf,MOD09Q1.A2005209.h07v03.005.2008053125802.hdf,MOD09Q1.A2005217.h07v03.005.2008055040352.hdf,MOD09Q1.A2005225.h07v03.005.2008058000740.hdf,MOD09Q1.A2005233.h07v03.005.2008213101122.hdf,MOD09Q1.A2005241.h07v03.005.2008064002202.hdf,MOD09Q1.A2005249.h07v03.005.2008066033650.hdf,MOD09Q1.A2005257.h07v03.005.2008217124311.hdf,MOD09Q1.A2005265.h07v03.005.2008219075840.hdf,MOD09Q1.A2005273.h07v03.005.2008071102803.hdf,MOD09Q1.A2005281.h07v03.005.2008073133931.hdf,MOD09Q1.A2005289.h07v03.005.2008075034036.hdf,MOD09Q1.A2005297.h07v03.005.2008076174351.hdf,MOD09Q1.A2005305.h07v03.005.2008080141752.hdf,MOD09Q1.A2005313.h07v03.005.2008083221201.hdf,MOD09Q1.A2005321.h07v03.005.2008262094029.hdf,MOD09Q1.A2005329.h07v03.005.2008086084311.hdf,MOD09Q1.A2005337.h07v03.005.2008220163223.hdf,MOD09Q1.A2005345.h07v03.005.2008221215931.hdf,MOD09Q1.A2005353.h07v03.005.2008092055621.hdf,MOD09Q1.A2005361.h07v03.005.2008095024133.hdf,MOD09Q1.A2006001.h07v03.005.2008070193427.hdf,MOD09Q1.A2006009.h07v03.005.2008072135612.hdf,MOD09Q1.A2006017.h07v03.005.2008276212353.hdf,MOD09Q1.A2006025.h07v03.005.2008076154117.hdf,MOD09Q1.A2006033.h07v03.005.2008078191028.hdf,MOD09Q1.A2006041.h07v03.005.2008080125013.hdf,MOD09Q1.A2006049.h07v03.005.2008081182250.hdf,MOD09Q1.A2006057.h07v03.005.2008085025553.hdf,MOD09Q1.A2006065.h07v03.005.2008087112458.hdf,MOD09Q1.A2006073.h07v03.005.2008092234820.hdf,MOD09Q1.A2006081.h07v03.005.2008094112804.hdf,MOD09Q1.A2006089.h07v03.005.2008097163119.hdf,MOD09Q1.A2006097.h07v03.005.2008104024251.hdf,MOD09Q1.A2006105.h07v03.005.2008109184327.hdf,MOD09Q1.A2006113.h07v03.005.2008112065622.hdf,MOD09Q1.A2006121.h07v03.005.2008114114856.hdf,MOD09Q1.A2006129.h07v03.005.2008116161824.hdf,MOD09Q1.A2006137.h07v03.005.2008321005918.hdf,MOD09Q1.A2006145.h07v03.005.2008122023004.hdf,MOD09Q1.A2006153.h07v03.005.2008123012242.hdf,MOD09Q1.A2006161.h07v03.005.2008234022032.hdf,MOD09Q1.A2006169.h07v03.005.2008234074811.hdf,MOD09Q1.A2006177.h07v03.005.2008132204725.hdf,MOD09Q1.A2006185.h07v03.005.2008135162032.hdf,MOD09Q1.A2006193.h07v03.005.2008137192236.hdf,MOD09Q1.A2006201.h07v03.005.2008141212813.hdf,MOD09Q1.A2006209.h07v03.005.2008103130546.hdf,MOD09Q1.A2006217.h07v03.005.2008104140630.hdf,MOD09Q1.A2006225.h07v03.005.2008105043844.hdf,MOD09Q1.A2006233.h07v03.005.2008105044121.hdf,MOD09Q1.A2006241.h07v03.005.2008106172058.hdf,MOD09Q1.A2006249.h07v03.005.2008107093939.hdf,MOD09Q1.A2006257.h07v03.005.2008108021339.hdf,MOD09Q1.A2006265.h07v03.005.2008111101737.hdf,MOD09Q1.A2006273.h07v03.005.2008112052549.hdf,MOD09Q1.A2006281.h07v03.005.2008273123529.hdf,MOD09Q1.A2006289.h07v03.005.2008274210225.hdf,MOD09Q1.A2006297.h07v03.005.2008118080101.hdf,MOD09Q1.A2006305.h07v03.005.2008120230812.hdf,MOD09Q1.A2006313.h07v03.005.2008241150850.hdf,MOD09Q1.A2006321.h07v03.005.2008244194430.hdf,MOD09Q1.A2006329.h07v03.005.2008126194831.hdf,MOD09Q1.A2006337.h07v03.005.2008245113942.hdf,MOD09Q1.A2006345.h07v03.005.2008130125501.hdf,MOD09Q1.A2006353.h07v03.005.2008132125251.hdf,MOD09Q1.A2006361.h07v03.005.2008134123022.hdf,MOD09Q1.A2007001.h07v03.005.2007076052452.hdf,MOD09Q1.A2007009.h07v03.005.2007136101828.hdf,MOD09Q1.A2007017.h07v03.005.2007093100811.hdf,MOD09Q1.A2007025.h07v03.005.2007095141813.hdf,MOD09Q1.A2007033.h07v03.005.2007098192405.hdf,MOD09Q1.A2007041.h07v03.005.2007101004317.hdf,MOD09Q1.A2007049.h07v03.005.2007085092438.hdf,MOD09Q1.A2007057.h07v03.005.2007087160003.hdf,MOD09Q1.A2007065.h07v03.005.2007088114416.hdf,MOD09Q1.A2007073.h07v03.005.2007099084828.hdf,MOD09Q1.A2007081.h07v03.005.2007096142248.hdf,MOD09Q1.A2007089.h07v03.005.2007106224915.hdf,MOD09Q1.A2007097.h07v03.005.2007109005711.hdf,MOD09Q1.A2007105.h07v03.005.2007125012353.hdf,MOD09Q1.A2007113.h07v03.005.2007128052651.hdf,MOD09Q1.A2007121.h07v03.005.2007134225638.hdf,MOD09Q1.A2007129.h07v03.005.2007141162617.hdf,MOD09Q1.A2007137.h07v03.005.2007153014546.hdf,MOD09Q1.A2007145.h07v03.005.2007157171309.hdf,MOD09Q1.A2007153.h07v03.005.2007178163256.hdf,MOD09Q1.A2007161.h07v03.005.2007175194918.hdf,MOD09Q1.A2007169.h07v03.005.2007187125224.hdf,MOD09Q1.A2007177.h07v03.005.2007196172558.hdf,MOD09Q1.A2007185.h07v03.005.2007199131411.hdf,MOD09Q1.A2007193.h07v03.005.2007207123400.hdf,MOD09Q1.A2007201.h07v03.005.2007213034004.hdf,MOD09Q1.A2007209.h07v03.005.2007225042942.hdf,MOD09Q1.A2007217.h07v03.005.2007230064153.hdf,MOD09Q1.A2007225.h07v03.005.2007235133407.hdf,MOD09Q1.A2007233.h07v03.005.2007243114300.hdf,MOD09Q1.A2007241.h07v03.005.2007251112304.hdf,MOD09Q1.A2007249.h07v03.005.2007261034748.hdf,MOD09Q1.A2007257.h07v03.005.2007269054105.hdf,MOD09Q1.A2007265.h07v03.005.2007277010940.hdf,MOD09Q1.A2007273.h07v03.005.2008249094346.hdf,MOD09Q1.A2007281.h07v03.005.2007307120444.hdf,MOD09Q1.A2007289.h07v03.005.2007308194148.hdf,MOD09Q1.A2007297.h07v03.005.2007310022005.hdf,MOD09Q1.A2007305.h07v03.005.2007333221138.hdf,MOD09Q1.A2007313.h07v03.005.2007335153053.hdf,MOD09Q1.A2007321.h07v03.005.2007336102951.hdf,MOD09Q1.A2007329.h07v03.005.2007344152348.hdf,MOD09Q1.A2007337.h07v03.005.2007347030421.hdf,MOD09Q1.A2007345.h07v03.005.2007359183333.hdf,MOD09Q1.A2007353.h07v03.005.2007363073726.hdf,MOD09Q1.A2007361.h07v03.005.2008006173517.hdf + ---> Metadata_6 = LOCALGRANULEID=MOD09Q1G_EVI.A2006233.h07v03.005.2008338190308.hdf + ---> Metadata_7 = LONGNAME=MODIS/Terra Gap-Filled, Smoothed EVI 8-Day L4 500m SIN Grid + ---> Metadata_8 = long_name=Composed EVI Quality + ---> Metadata_9 = NORTHBOUNDINGCOORDINATE=56.258333 + ---> ProjectionRef = PROJCS["unnamed", + GEOGCS["Unknown datum based upon the custom spheroid", + DATUM["Not_specified_based_on_custom_spheroid", + SPHEROID["Custom spheroid",6371007.181,0]], + PRIMEM["Greenwich",0], + UNIT["degree",0.0174532925199433, + AUTHORITY["EPSG","9122"]]], + PROJECTION["Sinusoidal"], + PARAMETER["longitude_of_center",0], + PARAMETER["false_easting",0], + PARAMETER["false_northing",0], + UNIT["Meter",1], + AXIS["Easting",EAST], + AXIS["Northing",NORTH]] + ---> ResolutionFactor = 0 + ---> SubDatasetIndex = 5 + ---> TileHintX = 4800 + ---> TileHintY = 4800 + ---> UpperLeftCorner[0] = -12231455.716333 + ---> UpperLeftCorner[1] = 6671703.118 + ---> UpperRightCorner[0] = -11119505.196667 + ---> UpperRightCorner[1] = 6671703.118 diff --git a/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv1_ORTHO_PMS_lossless_12bits.2.txt b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv1_ORTHO_PMS_lossless_12bits.2.txt new file mode 100644 index 0000000000000000000000000000000000000000..dffc6b4495008af393e85bac8dc40fe1a11bfa40 --- /dev/null +++ b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv1_ORTHO_PMS_lossless_12bits.2.txt @@ -0,0 +1,6 @@ +RESOLUTION: 0; DESC: Resolution: 0 (Image [w x h]: 40579x28672) +RESOLUTION: 1; DESC: Resolution: 1 (Image [w x h]: 20290x14336) +RESOLUTION: 2; DESC: Resolution: 2 (Image [w x h]: 10145x7168) +RESOLUTION: 3; DESC: Resolution: 3 (Image [w x h]: 5073x3584) +RESOLUTION: 4; DESC: Resolution: 4 (Image [w x h]: 2537x1792) +RESOLUTION: 5; DESC: Resolution: 5 (Image [w x h]: 1269x896) diff --git a/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv1_PRIMARY_PMS_lossless_12bits.2.txt b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv1_PRIMARY_PMS_lossless_12bits.2.txt new file mode 100644 index 0000000000000000000000000000000000000000..680bfc3fa50abff7f7d005fa253fd58fb69c4aa3 --- /dev/null +++ b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv1_PRIMARY_PMS_lossless_12bits.2.txt @@ -0,0 +1,6 @@ +RESOLUTION: 0; DESC: Resolution: 0 (Image [w x h]: 42000x24576) +RESOLUTION: 1; DESC: Resolution: 1 (Image [w x h]: 21000x12288) +RESOLUTION: 2; DESC: Resolution: 2 (Image [w x h]: 10500x6144) +RESOLUTION: 3; DESC: Resolution: 3 (Image [w x h]: 5250x3072) +RESOLUTION: 4; DESC: Resolution: 4 (Image [w x h]: 2625x1536) +RESOLUTION: 5; DESC: Resolution: 5 (Image [w x h]: 1313x768) diff --git a/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv2_PRIMARY_PMS_lossless_12bits.2.txt b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv2_PRIMARY_PMS_lossless_12bits.2.txt new file mode 100644 index 0000000000000000000000000000000000000000..c83e419b1f1df12688cce3a5760fa3c9c5577b4d --- /dev/null +++ b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_PHR_JP2_DIMAPv2_PRIMARY_PMS_lossless_12bits.2.txt @@ -0,0 +1,6 @@ +RESOLUTION: 0; DESC: Resolution: 0 (Image [w x h]: 42000x28672) +RESOLUTION: 1; DESC: Resolution: 1 (Image [w x h]: 21000x14336) +RESOLUTION: 2; DESC: Resolution: 2 (Image [w x h]: 10500x7168) +RESOLUTION: 3; DESC: Resolution: 3 (Image [w x h]: 5250x3584) +RESOLUTION: 4; DESC: Resolution: 4 (Image [w x h]: 2625x1792) +RESOLUTION: 5; DESC: Resolution: 5 (Image [w x h]: 1313x896) diff --git a/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_SIMUL_PHR_JP2_ORTHO_DIMAPv2_PMS-N_lossy_12bits.2.txt b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_SIMUL_PHR_JP2_ORTHO_DIMAPv2_PMS-N_lossy_12bits.2.txt new file mode 100644 index 0000000000000000000000000000000000000000..e154a0b05b895488b58b44f1e7385f05c42385f2 --- /dev/null +++ b/Data/Baseline/OTB/Files/ioTvMultiResolutionReadingInfo_SIMUL_PHR_JP2_ORTHO_DIMAPv2_PMS-N_lossy_12bits.2.txt @@ -0,0 +1,6 @@ +RESOLUTION: 0; DESC: Resolution: 0 (Image [w x h]: 42086x40960) +RESOLUTION: 1; DESC: Resolution: 1 (Image [w x h]: 21043x20480) +RESOLUTION: 2; DESC: Resolution: 2 (Image [w x h]: 10522x10240) +RESOLUTION: 3; DESC: Resolution: 3 (Image [w x h]: 5261x5120) +RESOLUTION: 4; DESC: Resolution: 4 (Image [w x h]: 2631x2560) +RESOLUTION: 5; DESC: Resolution: 5 (Image [w x h]: 1316x1280) diff --git a/Packaging/Files/otbenv.bash b/Packaging/Files/otbenv.bash index a2a7906ca45cbfdcea25fedb6fddd59e993f9d3a..72b60c4dd3f3cf1b5a13ab4c907ef26991efbf5a 100644 --- a/Packaging/Files/otbenv.bash +++ b/Packaging/Files/otbenv.bash @@ -44,7 +44,6 @@ unset LD_LIBRARY_PATH PATH=$(cat_path "$CURRENT_DIR/bin" "$PATH") GDAL_DATA=$CURRENT_DIR/share/data -GEOTIFF_CSV=$CURRENT_DIR/share/epsg_csv PYTHONPATH=$(cat_path "$CURRENT_DIR/lib/python" "$PYTHONPATH") OTB_APPLICATION_PATH=$(cat_path "$CURRENT_DIR/lib/otb/applications" "$OTB_APPLICATION_PATH") GDAL_DRIVER_PATH="disable" diff --git a/Packaging/Files/otbenv.bat b/Packaging/Files/otbenv.bat index d6f6412c5a15c776b5cbcdfa6096124a0fdbc943..f2a25950bb640c42232504e81469109925ea38cc 100644 --- a/Packaging/Files/otbenv.bat +++ b/Packaging/Files/otbenv.bat @@ -26,7 +26,6 @@ call :prefix_path PYTHONPATH "%CURRENT_SCRIPT_DIR%lib\python" call :prefix_path OTB_APPLICATION_PATH "%CURRENT_SCRIPT_DIR%lib\otb\applications" set GDAL_DATA=%CURRENT_SCRIPT_DIR%share\data -set GEOTIFF_CSV=%CURRENT_SCRIPT_DIR%share\epsg_csv set GDAL_DRIVER_PATH=disable :: Set numeric locale to C set LC_NUMERIC=C diff --git a/Packaging/Files/otbenv.profile b/Packaging/Files/otbenv.profile index f46ab79bf77b65b795ca37d26e8b4c1d66c4bde3..7475194cec1b0f0b5de5d4ad0f8731078e9ccfc3 100644 --- a/Packaging/Files/otbenv.profile +++ b/Packaging/Files/otbenv.profile @@ -59,9 +59,6 @@ GDAL_DATA=OUT_DIR/share/gdal export GDAL_DRIVER_PATH=disable -# set GEOTIFF_CSV variable used by otb application -GEOTIFF_CSV=OUT_DIR/share/epsg_csv - # export variables export LC_NUMERIC export GDAL_DATA diff --git a/Packaging/install_share_dirs.cmake b/Packaging/install_share_dirs.cmake index f37b5b7447165a3b3ffe74b7723b2e13aa6fc489..0ab2d6b7a68c6d882ff4f88a5928ba8e9060c90a 100644 --- a/Packaging/install_share_dirs.cmake +++ b/Packaging/install_share_dirs.cmake @@ -45,9 +45,6 @@ function(install_share_dirs) endif() install_without_message("${GDAL_DATA_DIR}" "share" ) - ####################### install GeoTIFF data ######################## - install_without_message("${PKG_SHARE_SOURCE_DIR}/epsg_csv" "share" ) - ####################### install OSSIM data ########################## install_without_message("${PKG_SHARE_SOURCE_DIR}/ossim" "share" ) diff --git a/SuperBuild/CMake/External_gdal.cmake b/SuperBuild/CMake/External_gdal.cmake index 30d0010ec89582d2dd8c47c159d7acf1e860f1f2..c2e389c7fa20d1ffd1a96b2b419a880205d7400d 100644 --- a/SuperBuild/CMake/External_gdal.cmake +++ b/SuperBuild/CMake/External_gdal.cmake @@ -23,7 +23,7 @@ INCLUDE_ONCE_MACRO(GDAL) SETUP_SUPERBUILD(GDAL) # declare dependencies -ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(GDAL CURL OPENJPEG TIFF GEOTIFF PNG JPEG SQLITE GEOS ZLIB EXPAT HDF5 NETCDF HDF4) +ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(GDAL CURL OPENJPEG TIFF GEOTIFF PNG JPEG SQLITE GEOS ZLIB EXPAT HDF5 NETCDF HDF4 PROJ) ADD_SUPERBUILD_CONFIGURE_VAR(GDAL TIFF_ROOT --with-libtiff) ADD_SUPERBUILD_CONFIGURE_VAR(GDAL GEOTIFF_ROOT --with-geotiff) @@ -105,7 +105,7 @@ if(UNIX) --with-webp=no --with-threads=yes --with-freexl=no - --with-proj=yes + --with-proj=${SB_INSTALL_PREFIX} --with-libjson-c=internal ${GDAL_SB_CONFIG} ${GDAL_SB_EXTRA_OPTIONS} @@ -148,8 +148,8 @@ endif() ExternalProject_Add(GDAL PREFIX GDAL - URL "http://download.osgeo.org/gdal/2.4.1/gdal-2.4.1.tar.gz" - URL_MD5 8bc93c7ae4d3a46916918a52c7f5f10f + URL "http://download.osgeo.org/gdal/3.0.2/gdal-3.0.2.tar.gz" + URL_MD5 8a31507806b26f070858558aaad42277 SOURCE_DIR ${GDAL_SB_SRC} BINARY_DIR ${GDAL_SB_SRC} INSTALL_DIR ${SB_INSTALL_PREFIX} diff --git a/SuperBuild/CMake/External_geotiff.cmake b/SuperBuild/CMake/External_geotiff.cmake index 8bbb89ed09c7f81d1cb4a9a1cfde6c554c38a0b8..7a895d18d82ecb4252ce14665106301b93c87369 100644 --- a/SuperBuild/CMake/External_geotiff.cmake +++ b/SuperBuild/CMake/External_geotiff.cmake @@ -37,8 +37,8 @@ ADD_SUPERBUILD_CMAKE_VAR(GEOTIFF JPEG_LIBRARY) ExternalProject_Add(GEOTIFF PREFIX GEOTIFF - URL "http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.2.tar.gz" - URL_MD5 96ab80e0d4eff7820579957245d844f8 + URL "http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.5.1.tar.gz" + URL_MD5 6d0fa650c206791bc7d5e60ef625ea77 SOURCE_DIR ${GEOTIFF_SB_SRC} BINARY_DIR ${GEOTIFF_SB_BUILD_DIR} INSTALL_DIR ${SB_INSTALL_PREFIX} diff --git a/SuperBuild/CMake/External_proj.cmake b/SuperBuild/CMake/External_proj.cmake index f386cc1dacd548728b6f99002417dfea4a9791eb..69b6002baee84dfd4fc46f755044e10497d0678b 100644 --- a/SuperBuild/CMake/External_proj.cmake +++ b/SuperBuild/CMake/External_proj.cmake @@ -22,10 +22,14 @@ INCLUDE_ONCE_MACRO(PROJ) SETUP_SUPERBUILD(PROJ) +# declare dependencies +ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(PROJ SQLITE) + ExternalProject_Add(PROJ + DEPENDS ${PROJ_DEPENDENCIES} PREFIX PROJ - URL "http://download.osgeo.org/proj/proj-4.9.3.tar.gz" - URL_MD5 d598336ca834742735137c5674b214a1 + URL "http://download.osgeo.org/proj/proj-6.2.1.tar.gz" + URL_MD5 9f874e227d221daf95f7858dc55dfa3e BINARY_DIR ${PROJ_SB_SRC} INSTALL_DIR ${SB_INSTALL_PREFIX} DOWNLOAD_DIR ${DOWNLOAD_LOCATION} diff --git a/SuperBuild/patches/GDAL/gdal-3-fix-ctx-holder-macx.diff b/SuperBuild/patches/GDAL/gdal-3-fix-ctx-holder-macx.diff new file mode 100644 index 0000000000000000000000000000000000000000..a77f5800b4aa1089c10b8b3578ed626ce945d8b7 --- /dev/null +++ b/SuperBuild/patches/GDAL/gdal-3-fix-ctx-holder-macx.diff @@ -0,0 +1,13 @@ +diff -burN gdal-3.0.2_orig/ogr/ogr_proj_p.cpp gdal-3.0.2/ogr/ogr_proj_p.cpp +--- gdal-3.0.2_orig/ogr/ogr_proj_p.cpp 2020-01-31 16:40:41.908287799 +0100 ++++ gdal-3.0.2/ogr/ogr_proj_p.cpp 2020-01-31 16:42:52.020291025 +0100 +@@ -99,7 +99,7 @@ + context = nullptr; + } + +-#ifdef WIN32 ++#if defined(WIN32) || defined(__APPLE__) + // Currently thread_local and C++ objects don't work well with DLL on Windows + static void FreeProjTLSContextHolder( void* pData ) + { + diff --git a/SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in b/SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in index 42e951dd2cbc1d5ec9b607fc69ca0fcfcbf868b0..2276389caf9d30b3d63807f356ddbf2462147cb0 100644 --- a/SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in +++ b/SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in @@ -43,7 +43,6 @@ SQLITE_LIB=@SB_INSTALL_PREFIX_NATIVE@\lib\sqlite3.lib SQLITE_HAS_COLUMN_METADATA=yes # PROJ.4 stuff -PROJ_FLAGS = -DPROJ_STATIC -DPROJ_VERSION=4 PROJ_INCLUDE = -I@SB_INSTALL_PREFIX_NATIVE@\include PROJ_LIBRARY = @SB_INSTALL_PREFIX_NATIVE@\lib\proj.lib diff --git a/SuperBuild/patches/GEOTIFF/geotiff-1-fix-rpath-macx.diff b/SuperBuild/patches/GEOTIFF/geotiff-1-fix-rpath-macx.diff index 64b0cfcc5278ebfe0e04afee03f083afc4cf8bc0..28f76ef09918494df9322d1c7dc9b9cec3bba4f1 100644 --- a/SuperBuild/patches/GEOTIFF/geotiff-1-fix-rpath-macx.diff +++ b/SuperBuild/patches/GEOTIFF/geotiff-1-fix-rpath-macx.diff @@ -1,7 +1,7 @@ -diff -burN libgeotiff-1.4.2.orig/CMakeLists.txt libgeotiff-1.4.2/CMakeLists.txt ---- libgeotiff-1.4.2.orig/CMakeLists.txt Tue Jul 25 17:16:02 2017 -+++ libgeotiff-1.4.2/CMakeLists.txt Tue Jul 25 17:16:40 2017 -@@ -451,12 +451,12 @@ +diff -burN libgeotiff-1.5.1.orig/CMakeLists.txt libgeotiff-1.5.1/CMakeLists.txt +--- libgeotiff-1.5.1.orig/CMakeLists.txt 2019-03-29 21:09:12.000000000 +0100 ++++ libgeotiff-1.5.1/CMakeLists.txt 2019-11-08 11:17:08.520146442 +0100 +@@ -345,12 +345,12 @@ VERSION ${LINK_VERSION} SOVERSION ${LINK_SOVERSION} CLEAN_DIRECT_OUTPUT 1 ) diff --git a/SuperBuild/patches/PROJ/proj-1-cmakefixes-all.diff b/SuperBuild/patches/PROJ/proj-1-cmakefixes-all.diff index a95c58fbfe34ecdfd12073c1132f9a68811c1f6e..06d7a19f70c771f883af041861f91eb83f01b305 100644 --- a/SuperBuild/patches/PROJ/proj-1-cmakefixes-all.diff +++ b/SuperBuild/patches/PROJ/proj-1-cmakefixes-all.diff @@ -1,34 +1,34 @@ -diff -burN proj-4.9.3.orig/CMakeLists.txt proj-4.9.3/CMakeLists.txt ---- proj-4.9.3.orig/CMakeLists.txt 2016-08-29 20:47:58.000000000 +0200 -+++ proj-4.9.3/CMakeLists.txt 2017-07-26 12:34:26.071721900 +0200 -@@ -34,6 +34,7 @@ - proj_version(MAJOR 4 MINOR 9 PATCH 3) - set(PROJ_API_VERSION "12") - set(PROJ_BUILD_VERSION "12.0.0") +diff -burN proj-6.2.1_orig/CMakeLists.txt proj-6.2.1/CMakeLists.txt +--- proj-6.2.1_orig/CMakeLists.txt 2019-10-28 18:49:32.000000000 +0100 ++++ proj-6.2.1/CMakeLists.txt 2019-11-08 10:52:28.948109756 +0100 +@@ -98,6 +98,7 @@ + proj_version(MAJOR 6 MINOR 2 PATCH 1) + set(PROJ_API_VERSION "17") + set(PROJ_BUILD_VERSION "17.1.2") +option(VERSIONED_OUTPUT "suffix version into output name of binaries." ON) - ################################################################################# + ################################################################################ # Build features and variants -diff -burN proj-4.9.3.orig/src/lib_proj.cmake proj-4.9.3/src/lib_proj.cmake ---- proj-4.9.3.orig/src/lib_proj.cmake 2016-08-29 20:47:58.000000000 +0200 -+++ proj-4.9.3/src/lib_proj.cmake 2017-07-26 12:28:51.098731200 +0200 -@@ -274,11 +274,19 @@ - + +diff -burN proj-6.2.1_orig/src/lib_proj.cmake proj-6.2.1_orig/src/lib_proj.cmake +--- proj-6.2.1_orig/src/lib_proj.cmake 2019-10-28 17:49:41.000000000 +0100 ++++ proj-6.2.1_orig/src/lib_proj.cmake 2019-11-12 12:00:09.696226412 +0100 +@@ -401,11 +401,18 @@ + endif() if(WIN32) -+if(VERSIONED_OUTPUT) ++ if(VERSIONED_OUTPUT) set_target_properties(${PROJ_CORE_TARGET} PROPERTIES VERSION "${${PROJECT_INTERN_NAME}_BUILD_VERSION}" OUTPUT_NAME "${PROJ_CORE_TARGET_OUTPUT_NAME}" CLEAN_DIRECT_OUTPUT 1) -+ else() -+ set_target_properties(${PROJ_CORE_TARGET} -+ PROPERTIES -+ VERSION "${${PROJECT_INTERN_NAME}_BUILD_VERSION}" -+ CLEAN_DIRECT_OUTPUT 1) -+ endif() #VERSIONED_OUTPUT -+ ++ else() ++ set_target_properties(${PROJ_CORE_TARGET} ++ PROPERTIES ++ VERSION "${${PROJECT_INTERN_NAME}_BUILD_VERSION}" ++ CLEAN_DIRECT_OUTPUT 1) ++ endif() #VERSIONED_OUTPUT elseif(BUILD_FRAMEWORKS_AND_BUNDLE) set_target_properties(${PROJ_CORE_TARGET} PROPERTIES diff --git a/SuperBuild/patches/SQLITE/CMakeLists.txt b/SuperBuild/patches/SQLITE/CMakeLists.txt index 1bdcfbc4176541847e8a46b1234ad59a8d37a08b..e72d318d0579665e9d8950591b60720e3845bab5 100644 --- a/SuperBuild/patches/SQLITE/CMakeLists.txt +++ b/SuperBuild/patches/SQLITE/CMakeLists.txt @@ -29,11 +29,24 @@ add_definitions(-DSQLITE_ENABLE_COLUMN_METADATA=1) add_definitions(-DSQLITE_ENABLE_RTREE=1) add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION=1) add_definitions(-DSQLITE_THREADSAFE=1) + add_library(sqlite3 sqlite3_win.c) + +add_executable(sqlite3-bin shell.c) +target_link_libraries(sqlite3-bin sqlite3) + +set_target_properties(sqlite3-bin PROPERTIES OUTPUT_NAME sqlite3) +set_target_properties(sqlite3-bin sqlite3 + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" +) + if(UNIX) set(CMAKE_C_FLAGS "-pthread") endif() -install(TARGETS sqlite3 +install(TARGETS sqlite3 sqlite3-bin RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)