[Gdal-dev] adding gcp's

Vincent Schut vincent at ecovla.nl
Wed Aug 24 03:05:42 EDT 2005


I'd try to run gdalwarp on the geotiff with the gcp's. Probably that
will process the gcp info and create a georeferenced file from it.

Vincent.

Bart van den Eijnden wrote:

> Hi Frank,
>
> so will this generated file work with Mapserver (my experience is that
> it  would not show up with Mapserver)?
>
> Is the only way to work around it add a tfw or TAB file?
>
> Best regards,
> Bart
>
> On Tue, 23 Aug 2005 17:50:47 +0200, Frank Warmerdam
> <fwarmerdam at gmail.com>  wrote:
>
>> On 8/23/05, Bart van den Eijnden <BEN at syncera-itsolutions.nl> wrote:
>>
>>> Hi list,
>>>
>>> I am trying to create a geotiff and add ground control points to
>>> it,  using the following command:
>>>
>>> gdal_translate ondergrond.tif ondergrond_new.tif -gcp 0 0 63978
>>> 458335  -gcp 1290 1619 85630 438699
>>>
>>> When I do gdalinfo, the gcp's are added, but the corner info is not 
>>> using it:
>>
>>
>> Bart,
>>
>> A review of the gdalinfo code shows that it does not try and
>> use GCPs for computing georefencing.  It will only use a
>> geotransform (if available).
>>
>> Sorry...
>>
>> Best regards,
>
>
>
>




More information about the Gdal-dev mailing list