Hi folks,<br><br>Not being good with AWK, I wrote a Perl script to extract GCPs from latitude/longitude sets of an HDF file I need to reproject to WGS84.<br><br>I manage to assign a certain number of GCPs using gdal_translate, but when I then reproject to WGS84 using gdalwarp my image's bottom left corner gets chopped out of the picture and discarded..<br>
<br>Any idea why?<br><br>Another couple of related questions:<br>1) My image is 2700x9300, why are the lat/long sets 4650x1350 as opposed to being 1350x4650? This heavily complicates my algorithm as I need to compute thw 2 lat/long matrices first and then traspose them..<br>
<br>2) Is there an upper limit to the number of GCPs I can assign using gdal_translate? I was getting an error saying "Too many arguments to gdal_translate" or something along these lines..<br><br>Thanks in advance<br clear="all">
<br>-- <br>Mattia