[gdal-dev] Re: Add GCP's to a file

Gaige B. Paulsen osgeo at gbp.gaige.net
Wed Feb 24 10:28:01 EST 2010


You should be able to do that using the -a_srs option

-Gaige

On Feb 22, 2010, at 1:48 PM, Kim Besson wrote:

> Thanks Mr Paulsen and Jukka
> 
> Ok I tried  the command and it seemed to work :) Thanks
> 
> By the way, if my image has no Coordinates system and my GCPs corresponds to a certain projection/coordinate system, How I define now the coordinate system in which that data is? 
> 
> Thank you
> 
> 
> 2010/2/22 Gaige B. Paulsen <osgeo at gbp.gaige.net>
> Pixel and line in the description below are actually two different numbers, one representing the pixel (x coordinate) and the line (y coordinate) of the point in the image.
> 
> Hope this helps,
> -Gaige
> 
> 
> On Feb 22, 2010, at 12:31 PM, Kim Besson wrote:
> 
>> >Hi,
>> >Gdal_translation has on option
>> > [-gcp pixel line easting northing [elevation]]*
>> 
>> >I know it works with tiffs but I have not tried it with HDF4. Some working
>> >examples and considerations about this is hidden inside a document
>> >http://www.scangis.org/scangis2007/papers/r3_rahkonen.pdf
>> 
>> Thanks Jukka. Although why does it only requires pixel line? The dataset that I'm using, Easthing and Northing varies along pixel line. Shouldn't it be Pixel column and row (or pixel (x,y)?
>> 
>> Thanks
>> Kim
>> 
>> 
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100224/91b1f7de/attachment-0001.html


More information about the gdal-dev mailing list