Closed lionlai1989 closed 5 years ago
Dear @lionlai1989, What you are observing is the difference between an orthophoto and an image as it comes from the satellite. Although the corners of the raster images are geolocated, this doesn't mean that the whole image is an orthographic projection. In this case, it is clear from the photo that it is not since you see the sides of the buildings. However, when you build the DSM this, model is projected on a geographic grid, so it maches your railway path. Roughly, what you need to do is to project the image on the DSM to obtain on orthoimage. I hope the explication is clear enough.
So the answers to your questions are: 1) yes, 2) nothing is wrong with how you're using the RPC, 3) yes.
Best, gabriele
@gfacciol Thank you for your explanation. Reprojection a raster doesn't mean orthorectifying a raster.
Guys: Now I have pleiades raster (raster.tif) and a RPC model (rpc.XML). In the rpc.XML, there are the following lines which can be used to reset geo information.
And I use the following code to reset geo info of raster.tif with the value below. xmin = 7.393918390116374 ymin = 46.89414037853461 xmax = 7.531577540047203 ymax = 46.98982504658424 first_col = 1 last_col = 18665 first_row = 1 last_row = 19676
As you can see, the red line is a shapefile (EPSG21781), while the railway in the result is not entirely overlap with shapefile. The distance of shifting is not consistent for this whole image. The displacement is larger near the edge of this image.
However, the output DSM of s2p is really consistent with railway's position. As you can see, the blue railway is in between the building perfectly.
So, my question is the following.
Thank you. Any help will be appreciated.