[gdal-dev] Can I get transformed coordinate value in gdalwarp?

OHTSUKA Ko-hei kochizufan at gmail.com
Wed Feb 6 16:33:19 PST 2013


Even,

Thank you for quick reply.
I don't know this command, and it maybe suit for my needs.

2013/2/7 Even Rouault <even.rouault at mines-paris.org>:
> Le jeudi 07 février 2013 01:12:06, OHTSUKA Ko-hei a écrit :
>> Hello,
>>
>> I'll try to change many raster images into geotiffs using gdal (gdalwarp).
>> And, want to know where each image's non -gcp pixel points  will move to.
>>
>> For example,
>>
>> If image's point (300,400) will move to GeoTiff's (135e,35n),
>> by using gcps (200,300 => 130e,40n), (200,500 => 130e, 30n), and (400,
>> 300 => 140e, 40n),
>> I want to know this change (300,400 => 135e,35n).
>> And also, (250, 400) moves where? (350, 200) is? and so on.
>>
>> Is there any function to get this value?
>> Or, I also understand program a little, it is OK if it needs some coding.
>
> I believe that http://gdal.org/gdaltransform.html should fit your need.
>
>>
>> Thanks,
>> Ko-hei
>> _______________________________________________
>> 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