result of gdalinfo:
F:\JordanData\RemoteSensingGAH>gdalinfo
GAH_Satellite_Images\2015\PAN\IMG_PHR1A_P_201506050821275_SEN_1534717101-001_R1C1.TIF
Driver: GTiff/GeoTIFF
Files:
GAH_Satellite_Images\2015\PAN\IMG_PHR1A_P_201506050821275_SEN_1534717101-001_R1C1.TIF
GAH_Satellite_Images\2015\PAN\IMG_PHR1A_P_201506050821275_SEN_1534717101-001_R1C1.TIF.ovr
GAH_Satellite_Images\2015\PAN\DIM_PHR1A_P_201506050821275_SEN_1534717101-001.XML
GAH_Satellite_Images\2015\PAN\IMG_PHR1A_P_201506050821275_SEN_1534717101-001_R1C1.TIF.aux.xml
GAH_Satellite_Images\2015\PAN\DIM_PHR1A_P_201506050821275_SEN_1534717101-001.XML
GAH_Satellite_Images\2015\PAN\IMG_PHR1A_P_201506050821275_SEN_1534717101-001_R1C1.TFW
Size is 8253, 20108
Coordinate System is `'
Origin = (0.500000000000000,1.500000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
METADATATYPE=DIMAP
TIFFTAG_DATETIME=2015:10:12 21:11:53
TIFFTAG_IMAGEDESCRIPTION=PAN
TIFFTAG_XRESOLUTION=1
TIFFTAG_YRESOLUTION=1
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 0.5000000, 1.5000000)
Lower Left ( 0.500, -20106.500)
Upper Right ( 8253.500, 1.500)
Lower Right ( 8253.500, -20106.500)
Center ( 4127.000, -10052.500)
Band 1 Block=8253x1 Type=UInt16, ColorInterp=Gray
Overviews: 4127x10054, 2064x5027, 1032x2514, 516x1257, 258x629, 129x315
contents of .geom file:
adjustment_0.adj_param_0.center: 0
adjustment_0.adj_param_0.description: intrack_offset
adjustment_0.adj_param_0.lock_flag: 0
adjustment_0.adj_param_0.parameter: 0
adjustment_0.adj_param_0.sigma: 50
adjustment_0.adj_param_0.units: pixel
adjustment_0.adj_param_1.center: 0
adjustment_0.adj_param_1.description: crtrack_offset
adjustment_0.adj_param_1.lock_flag: 0
adjustment_0.adj_param_1.parameter: 0
adjustment_0.adj_param_1.sigma: 50
adjustment_0.adj_param_1.units: pixel
adjustment_0.adj_param_2.center: 0
adjustment_0.adj_param_2.description: intrack_scale
adjustment_0.adj_param_2.lock_flag: 0
adjustment_0.adj_param_2.parameter: 0
adjustment_0.adj_param_2.sigma: 50
adjustment_0.adj_param_2.units: unknown
adjustment_0.adj_param_3.center: 0
adjustment_0.adj_param_3.description: crtrack_scale
adjustment_0.adj_param_3.lock_flag: 0
adjustment_0.adj_param_3.parameter: 0
adjustment_0.adj_param_3.sigma: 50
adjustment_0.adj_param_3.units: unknown
adjustment_0.adj_param_4.center: 0
adjustment_0.adj_param_4.description: map_rotation
adjustment_0.adj_param_4.lock_flag: 0
adjustment_0.adj_param_4.parameter: 0
adjustment_0.adj_param_4.sigma: 0.1
adjustment_0.adj_param_4.units: degrees
adjustment_0.description: Initial adjustment
adjustment_0.dirty_flag: 0
adjustment_0.number_of_params: 5
bias_error: 0
ce90_absolute: 0
ce90_relative: 0
current_adjustment: 0
height_off: 0
height_scale: 0
image_id: 1534717101-001
lat_off: 0
lat_scale: 0
line_den_coeff_00: 0
line_den_coeff_01: 0
line_den_coeff_02: 0
line_den_coeff_03: 0
line_den_coeff_04: 0
line_den_coeff_05: 0
line_den_coeff_06: 0
line_den_coeff_07: 0
line_den_coeff_08: 0
line_den_coeff_09: 0
line_den_coeff_10: 0
line_den_coeff_11: 0
line_den_coeff_12: 0
line_den_coeff_13: 0
line_den_coeff_14: 0
line_den_coeff_15: 0
line_den_coeff_16: 0
line_den_coeff_17: 0
line_den_coeff_18: 0
line_den_coeff_19: 0
line_num_coeff_00: 0
line_num_coeff_01: 0
line_num_coeff_02: 0
line_num_coeff_03: 0
line_num_coeff_04: 0
line_num_coeff_05: 0
line_num_coeff_06: 0
line_num_coeff_07: 0
line_num_coeff_08: 0
line_num_coeff_09: 0
line_num_coeff_10: 0
line_num_coeff_11: 0
line_num_coeff_12: 0
line_num_coeff_13: 0
line_num_coeff_14: 0
line_num_coeff_15: 0
line_num_coeff_16: 0
line_num_coeff_17: 0
line_num_coeff_18: 0
line_num_coeff_19: 0
line_off: 0
line_scale: 0
ll_lat: 0
ll_lon: 0
long_off: 0
long_scale: 0
lr_lat: 0
lr_lon: 0
meters_per_pixel_x: 0
meters_per_pixel_y: 0
number_lines: 20108
number_of_adjustments: 1
number_samples: 8253
polynomial_format: A
rand_error: 0
rect: 0 0 8252 20107
ref_point_hgt: 0
ref_point_lat: 0
ref_point_line: 10053.5
ref_point_lon: 0
ref_point_samp: 4126
samp_den_coeff_00: 0
samp_den_coeff_01: 0
samp_den_coeff_02: 0
samp_den_coeff_03: 0
samp_den_coeff_04: 0
samp_den_coeff_05: 0
samp_den_coeff_06: 0
samp_den_coeff_07: 0
samp_den_coeff_08: 0
samp_den_coeff_09: 0
samp_den_coeff_10: 0
samp_den_coeff_11: 0
samp_den_coeff_12: 0
samp_den_coeff_13: 0
samp_den_coeff_14: 0
samp_den_coeff_15: 0
samp_den_coeff_16: 0
samp_den_coeff_17: 0
samp_den_coeff_18: 0
samp_den_coeff_19: 0
samp_num_coeff_00: 0
samp_num_coeff_01: 0
samp_num_coeff_02: 0
samp_num_coeff_03: 0
samp_num_coeff_04: 0
samp_num_coeff_05: 0
samp_num_coeff_06: 0
samp_num_coeff_07: 0
samp_num_coeff_08: 0
samp_num_coeff_09: 0
samp_num_coeff_10: 0
samp_num_coeff_11: 0
samp_num_coeff_12: 0
samp_num_coeff_13: 0
samp_num_coeff_14: 0
samp_num_coeff_15: 0
samp_num_coeff_16: 0
samp_num_coeff_17: 0
samp_num_coeff_18: 0
samp_num_coeff_19: 0
samp_off: 0
samp_scale: 0
sensor: PHR 1A
support_data.across_track_incidence_angle: """12.7802954801904
12.660787995063 12.5641386145356 """
support_data.along_track_incidence_angle: """21.7980264755991
21.7406736980181 21.6914475769583 """
support_data.azimuth_angle: """112.842890963503 112.700036082718
112.580972666178 """
support_data.band_name_list: """P """
support_data.elevation_angle: """71.129495983066 71.1500039804854
71.1670232979197 """
support_data.image_date: 2015-06-05T08:21:27.5Z
support_data.image_id: 1534717101-001
support_data.image_size: 8253 20108
support_data.incident_angle: """24.6920606973743 24.5931748387235
24.5109088410322 """
support_data.instrument: PHR
support_data.instrument_index: 1A
support_data.line_period: 0.0735
support_data.ll_ground_point: 31.2882703942668 35.508781457365 0 WGE
support_data.lr_ground_point: 31.2842408199432 35.5573548336575 0 WGE
support_data.number_bands: 1
support_data.number_of_across_track_incidence_angle: 3
support_data.number_of_along_track_incidence_angle: 3
support_data.number_of_azimuth_angle: 3
support_data.number_of_elevation_angle: 3
support_data.number_of_incident_angle: 3
support_data.number_of_scene_orientation: 3
support_data.number_of_viewing_angle: 3
support_data.physical_bias: """0 """
support_data.physical_gain: """11.64 """
support_data.processing_level: SENSOR
support_data.production_date: 2015-10-12T21:07:54.101
support_data.reference_ground_point: 31.3385830734038 35.5329905199591 0
WGE
support_data.reference_image_point: 4126.5 10054
support_data.scene_orientation: """180.008112824089 179.942048461301
179.895882586351 """
support_data.sensorID: PHR 1A
support_data.solar_irradiance: """1548 """
support_data.swath_first_col: 15800
support_data.swath_last_col: 24053
support_data.time_range_end: 2015-06-05T08:21:31.4621060Z
support_data.time_range_start: 2015-06-05T08:21:29.9841680Z
support_data.type: ossimPleiadesDimapSupportData
support_data.ul_ground_point: 31.3929924412137 35.5085527090994 0 WGE
support_data.ur_ground_point: 31.3888286381913 35.5572730797147 0 WGE
support_data.viewing_angle: """21.9724530895731 21.8851073408006
21.8124279667455 """
type: ossimPleiadesModel
ul_lat: 0
ul_lon: 0
ur_lat: 0
ur_lon: 0
I don't understand why these coordinates would be off. Is there any kind of
file corruption or something which could cause it? and is there any way to
correct it, since I know what the coordinates should be from the
multispectral image?
cheers,
Rob
On Friday, January 12, 2018 at 8:53:32 AM UTC, Julien Michel wrote:
>
> Can you post the result of gdalinfo on your input image, as well as the
> .geom files associated with them ?
>
>
>
> Thanks,
>
>
>
> Regards,
>
>
>
> Julien
>
>
>
> *De :* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *De la part de*
> [email protected] <javascript:>
> *Envoyé :* mercredi 10 janvier 2018 15:30
> *À :* otb-users <[email protected] <javascript:>>
> *Objet :* [otb-users] Re: error orthorectifying pleiades imagery
>
>
>
> Just redid the optical calibration for panchromatic and multispectral
> images and got some strange outputs. Here is the image_info for
> multispectral:
>
> F:\JordanData\RemoteSensingGAH>otbcli_ReadImageInfo -in
> calibration\OPT_CAL\2015\MUL_OPT_CAL.tif
>
> 2018 Jan 10 14:21:55 : Application.logger (INFO)
> Image general informations:
> Number of bands : 4
> Start index : [0,0]
> Size : [2064,5028]
> Origin : [1,1]
> Spacing : [4,-4]
> Estimated ground spacing (in meters): [8.96253,9.28282]
>
> Image acquisition informations:
> Sensor : PHR 1A
> Image identification number: 1534717101-002
> Acquisition time : 2015-06-05T08:21:00
> Country : Jordan
> Town : Al ß©¿ad─½thah
>
> Image footprint coordinates:
> Upper left corner (latitude, longitude) = [31.3909,35.51]
> Upper right corner (latitude, longitude) = [31.3873,35.5583]
> Lower left corner (latitude, longitude) = [31.2863,35.5101]
> Lower right corner (latitude, longitude) = [31.2829,35.5583]
>
> 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: 2064
> sizey: 5028
> spacingx: 4
> spacingy: -4
> originx: 1
> originy: 1
> estimatedgroundspacingx: 8.962534904
> estimatedgroundspacingy: 9.282822609
> numberbands: 4
> sensor: PHR 1A
> id: 1534717101-002
> time: 2015-06-05T08:21:00
> ullat: 31.39094353
> ullon: 35.50995255
> urlat: 31.38734818
> urlon: 35.55825806
> lrlat: 31.2828598
> lrlon: 35.55826187
> lllat: 31.28630066
> lllon: 35.51011276
> town: Al ß©¿ad─½thah
> country: Jordan
> rgb.r: 0
> rgb.g: 1
> rgb.b: 2
> projectionref:
> keyword:
> gcp.count: 0
> gcp.proj:
> gcp.ids:
> gcp.info:
> gcp.imcoord:
> gcp.geocoord:
>
> Here is the same for panchromatic:
>
> F:\JordanData\RemoteSensingGAH>otbcli_ReadImageInfo -in
> calibration\OPT_CAL\2015\PAN_OPT_CAL.tif
>
> 2018 Jan 10 14:26:29 : Application.logger (INFO)
> Image general informations:
> Number of bands : 1
> Start index : [0,0]
> Size : [8253,20108]
> Origin : [1,1]
> Spacing : [1,-1]
> Estimated ground spacing (in meters): [0,0]
>
> Image acquisition informations:
> Sensor : PHR 1A
> Image identification number: 1534717101-001
> Acquisition time : 2015-06-05T08:21:00
>
> Image footprint coordinates:
> Upper left corner (latitude, longitude) = [0,0]
> Upper right corner (latitude, longitude) = [0,0]
> Lower left corner (latitude, longitude) = [0,0]
> Lower right corner (latitude, longitude) = [0,0]
>
> 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: 8253
> sizey: 20108
> spacingx: 1
> spacingy: -1
> originx: 1
> originy: 1
> estimatedgroundspacingx: 0
> estimatedgroundspacingy: 0
> numberbands: 1
> sensor: PHR 1A
> id: 1534717101-001
> time: 2015-06-05T08:21:00
> ullat: 0
> ullon: 0
> urlat: 0
> urlon: 0
> lrlat: 0
> lrlon: 0
> lllat: 0
> lllon: 0
> town: Not available
> country: Not available
> rgb.r: 0
> rgb.g: 1
> rgb.b: 2
> projectionref:
> keyword:
> gcp.count: 0
> gcp.proj:
> gcp.ids:
> gcp.info:
> gcp.imcoord:
> gcp.geocoord:
>
> anyone know why orfeo is failing to pick up the coordinates of the
> panchromatic image?
>
> On Wednesday, January 10, 2018 at 2:15:26 PM UTC, [email protected]
> wrote:
>
> I am trying to orthorectify an already optically calibrated and
> pan-sharpened pair of pan and multispectral pleiades A images from 2015
> using the code posted in this topic:
>
> https://groups.google.com/forum/#!topic/otb-users/a00urdG0qEM
>
> however, I keep getting this error log:
>
> F:\JordanData\RemoteSensingGAH>call otbcli_OrthoRectification -io.in
> calibration\PANSHARPENED\2015\OPT_CAL_PS.tif -io.out
> calibration\ORTHO\2015\OPT_CAL_PS_OR.tif -elev.dem DEMs\SRTM\dem_otb
>
> 2018 Jan 10 14:07:52 : Application.logger (CRITICAL) Wrong value :
> negative size : (0 , 0)
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Elevation management:
> setting default height above ellipsoid to 0 meters
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Elevation management:
> using DEM directory (DEMs\SRTM\dem_otb)
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Generating output with
> size = [0, 0]
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Generating output with
> pixel spacing = [-1.#IND, 1.#QNAN]
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Generating output with
> origin = [-1.#IND, 1.#QNAN]
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Area outside input
> image bounds will have a pixel value of [0, 0, 0, 0]
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Using a deformation
> grid with a physical spacing of 4
> 2018 Jan 10 14:07:52 : Application.logger (INFO) Using a deformation
> grid of size [0, 0]
> 2018 Jan 10 14:07:52 : Application.logger (FATAL) Deformation grid
> degenerated (size of 0). You shall set opt.gridspacing appropriately.
> opt.gridspacing units are the same as outputs.spacing units
> 2018 Jan 10 14:07:52 : Application.logger (FATAL) The following error
> occurred during application execution :
> C:\Users\jmalik\Dashboard\src\OTB-5.0.0\Modules\Applications\AppProjection\app\otbOrthoRectification.cxx:707:
> itk::ERROR: Fatal error caught. Aborting...
>
> I'm not sure why this is, any explanations?
>
> cheers,
> Rob
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.