[gdal-dev] more on polynomial warping

Maxim Dubinin sim at gis-lab.info
Sun Mar 9 15:03:17 EDT 2008


Hi all, some more complains about 2nd order polynomial warping.

I'm  using  gdal  1.6.0 (fwtools 2.1 under Win) and it keeps producing
black  rectangle with 2nd order polynom (-tps and -order 1 work ok). I
triple-checked  gcps,  tried to georeference my file in other software
with the same gcps and 2nd order - also ok. I assume something is
wrong on gdal side.

Command 1:
gdal_translate  -of  GTiff -gcp 448 942 103 53.333333333 -gcp 1761 938
103.5  53.3333333333  -gcp  444 3871 103 52.66666667 -gcp 3072 928 104
53.33333333  -gcp  1774  3870  103.5  52.66666667  -gcp  3104 3858 104
52.66666667 n-48-xxvi.jpg out_6.tif

Command 2:
gdalwarp -s_srs "+proj=latlong +datum=WGS84" -t_srs "+proj=latlong +datum=WGS84" out_6.tif proj_6.tif

The file I'm trying to warp can be found here:
http://gis-lab.info/share/n-48-xxvi.jpg

Maxim



More information about the gdal-dev mailing list