[Gdal-dev] Rubbersheeting with gdalwarp?

Frank Warmerdam fwarmerdam at gmail.com
Tue Sep 13 22:41:24 EDT 2005


On 9/13/05, Andy Waxman <awaxman at speakeasy.net> wrote:
> Hello all,
> I am reading through the doc for the gdal utilities and I am a little
> confused.  I want to use the thin plate spline warper to rubbersheet an
> unreferenced scanned map to a landsat image with control.  Right now I am
> collecting of tie points.
> My understanding is that I use gdal_translate to embed those tie points into
> the scanned map, but how do I use gdalwarp to force the resample?

Andy,

If your source image has no geotransform, then gdalwarp
should look for control points to use.  You can supply them
on the commandline with the -gcp option I believe. 

So do something like:
 
 gdalwarp -tps -gcp ... -gcp .. -gcp ... in.tif out.tif

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list