Closed ShashankBice closed 5 years ago
I looked at both of these and also at the code. I think the lon and lat are correct, if I plot these corners, I get a rectangle, which is how it is intended. It is true that three of the four heights are the same. All these numbers are strictly speaking not that important, since it is not these that are used, rather the RPB values which are further below, so these numbers are just to make the file compliat to the expected format. I put a fix for the height though, now there should be two heights of one kind and two of the second kind. Thank you for noticing.
The output file from cam2rpc with dem-file option has common latitude, longitude and height above ellipsoid values for 3 out of 4 corner coordinates in the output xml file. I wonder how much that would be affecting the solution of the obtained rpc model. I should add that the mapprojected data using the obtained rpc files plots at about the expected place. This is same when I invoke the cam2rpc tool with either rpc or pinhole session on planetscope cameras or with the dg/rpc session on worldview cameras.
An example output from the WorldView Camera dg session:
Pscope rpc session output: