<div dir="ltr">Hello!<div><br></div><div>Given a NITF, the RPCs in the NITF, and the center pixel coordinates of the image, I am trying to determine the elevation angle (center ground point to satellite). From what I understand, this can be achieved by calculating the ground point of the image center and another point on the vector looking towards the satellite by adding a height to the ellipsoid (hae in ECEF coordinates). So I thought I could use gdal for that:</div><div><br></div><div>To get the ground centerpoint in ECEF coordinates (Point B):</div><div>gdaltransform -t_srs EPSG:4978 -rpc -to rpc_height=0 test.nitf</div><div>1024 1024  (center pixel, Point S)</div><div><br></div><div>To get another point on vector looking towards the satellite in ECEF coordinates (Point A):</div><div><div>gdaltransform -t_srs EPSG:4978 -rpc -to rpc_height=10 test.nitf</div><div>1024 1024  (center pixel, Point S)</div></div><div><br></div><div><div><img src="cid:ii_k2v5t2nq0" alt="image.png" width="188" height="153" style="margin-right: 0px;"><br></div></div><div><br></div><div>The two points determine the vector, then convert to ENU coordinates and the angle is calculated (using some test data, these things appear to work). While the values I'm getting from gdal are different for the additional height, it is giving results I neither expected nor understand and always result in extremely low angles - so either my logic is incorrect or I am misunderstanding how the RPC stuff in gdal works. </div><div><br></div><div>Does anyone have any insights?</div><div><br></div><div>I appreciate any help!</div><div><br></div><div>Thanks and have a nice day!</div><div><br></div><div>Charity</div><div><br></div><div><br></div></div>