Configuration setup
My system: Ubuntu 18.04
Version of the OTB: 7.2
If relevant, you may also provide:
QGIS version: 3.16
Python version: 3.7
This issue had been previously raised here and here.
Simply put, extracting image metadata as mentioned in the cookbook here does not work.
Here are the logs
$ otbcli_ReadImageInfo -in 2014_test.tif -outkwl TheGeom.geom
2021-05-17 15:30:13 (INFO) ReadImageInfo: Default RAM limit for OTB is 256 MB
2021-05-17 15:30:13 (INFO) ReadImageInfo: GDAL maximum cache size is 3203 MB
2021-05-17 15:30:13 (INFO) ReadImageInfo: OTB will use at most 56 threads
2021-05-17 15:30:13 (INFO) ReadImageInfo:
Image general information:
Number of bands : 3
Data type : float
No data flags :
Band 1: 0
Band 2: 0
Band 3: 0
Start index : [0,0]
Size : [4097,8193]
Origin : [780671,2.58396e+06]
Spacing : [2,-2]
Estimated ground spacing (in meters): [1.99546,2.00688]
Image acquisition information:
Sensor :
Image identification number:
Image projection : PROJCS["WGS 84 / UTM zone 39N",
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"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",51],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32639"]]
Image default RGB composition:
[R, G, B] = [0,1,2]
Ground control points information:
Number of GCPs = 0
GCPs projection =
Output parameters value:
indexx: 0
indexy: 0
sizex: 4097
sizey: 8193
spacingx: 2
spacingy: -2
originx: 780671
originy: 2583955
estimatedgroundspacingx: 1.995457888
estimatedgroundspacingy: 2.00687623
numberbands: 3
datatype: float
sensor:
id:
time:
town:
country:
rgb.r: 0
rgb.g: 1
rgb.b: 2
projectionref: PROJCS["WGS 84 / UTM zone 39N",
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"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",51],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32639"]]
keyword:
gcp.count: 0
gcp.proj:
gcp.ids:
gcp.info:
gcp.imcoord:
gcp.geocoord: