[gdal-dev] Rectify TIFF: Difference between applied GCP and warped image

Jukka Rahkonen jukka.rahkonen at maanmittauslaitos.fi
Tue Apr 12 10:34:19 PDT 2016


Bischof, Richard <Richard.Bischof <at> lgln.niedersachsen.de> writes:

> 
> Hello there,
> 
> I`m trying to rectify a lots of dataset in tiff format using gdal. I'am
using Windows 7 Professional, gdal
> 1.11.2 .
> 
> My steps / commands are:
> 
...
SNIP
...

> F:\Projekt\gross\106300.tif D:/temp.tif
> 
> 2) Warp the image using gdalwarp
> gdalwarp -multi -wm 4000 -overwrite -r bilinear -order 2 -co COMPRESS=NONE
-co TFW=YES -co TILED=YES 
> D:/temp.tif D:\GDAL\106300.tif
> 
> My problem is, that the output dataset from the second step is not what I
expected. It is warped different,
> than ArcMap is showing me, when I load the output dataset from the first
step. (Including the gcp).
> 
> What am I missing in my gdalwarp command?

Do you mean that ArcMap is doing on-the-fly warping by the ground control
points? Do you know which warping method it is applying then? If it is using
2nd order polynomial then the results should be close your result after the
second step, if something else then not necessarily. Can you warp the image
physically with ArcMap so that you force it to use the 2nd order polynomial?

-Jukka Rahkonen-
 
> Thank you!
> 
> Mit freundlichen Grüßen
> Richard Bischof
> 
> Landesamt für Geoinformation und Landesvermessung Niedersachsen (LGLN)
> - Regionaldirektion Hameln-Hannover -
> Dezernat 2 - Geodatenmanagement
> Constantinstraße 40, 30177 Hannover
> Tel.:	 +49 511 30245-314
> Fax:	 +49 511 30245-360
> mailto:richard.bischof <at> lgln.niedersachsen.de
> www.lgln.de/rd-hm
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev <at> lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list