0

Why would reprojected sat image be rotated? I can't match it with source DEM map, if there is rotation.

gdalwarp -t_srs EPSG:31287 input_satmap.tif output_reprojected.tif

I use that line in gdal. Source is from SASPlanet, Web Mercator, tried lot of lines,... It won't work. It looks like it won't transform correctly from satelite based Web Mercator to the same projection DEM file is based - Austria Lambert.

In the image it shows how it looks like.

rotated image

Update 1:

I managed to get it done right, by using qgis. The image was rotated, but in qgis it is easier to match, crop 2 layers than via command line.

1
  • 2
    It is normal that image gets rotated when it is reprojected. See the grid north vs true north image in yukongis.ca/2016/04/12/north-arrows-and-true-north. You may need to take a bit larger piece of the source imagery so that it covers your DEM after reprojection.
    – user30184
    Commented Dec 28, 2023 at 8:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.