I have some GeoTiff's that are in
EPSG:3006 (SWEREF99 TM) atm, and I'm trying to convert them to
EPSG:4326 (WGS84) because some other software needs it in this projection.
But after doing the gdalwarp the corners of my tiff's doesn't seem to add up anymore. Is there anything i can do to prevent this from happening?
Some examples (from
gdalinfo); the upper right corner of one tile should be in the same position as the upper left corner on the next tile.
The corners in EPSG:3006:
Upper Right ( 400000.000, 6200000.000) ( 13d23'57.18"E, 55d56' 5.91"N) Upper Left ( 400000.000, 6200000.000) ( 13d23'57.18"E, 55d56' 5.91"N)
And the same corners ins EPSG:4326 after gdalwarp:
Upper Right ( 13.4282324, 55.9349761) ( 13d25'41.64"E, 55d56' 5.91"N) Upper Left ( 13.3992179, 55.9453750) ( 13d23'57.18"E, 55d56'43.35"N)
Now they don't line up anymore.
I'm using QGIS, which is using gdalwarp to do this. The commandline for the operation:
gdalwarp -overwrite -s_srs EPSG:3006 -t_srs EPSG:4326 -of GTiff C:/data/example.tif C:/data/example_warped.tif