<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <font face="Times New Roman, Times, serif">Hi all,<br>
      <br>
      This has come up before, but I'm still struggling for an answer. I
      want to rubbersheet an already projected image with control
      points, so as to remove small errors.On a suggestion by Frank
      (<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/pipermail/gdal-dev/2009-February/019775.html">http://lists.osgeo.org/pipermail/gdal-dev/2009-February/019775.html</a>)
      I produced a VRT file of the georeferenced image and added control
      points to shift the image 1000m to the right. (see below).
      However,  GDALWARP ignores the control points and returns the
      original georeferenced image. When I remove the georeferencing
      information, it does use the control points, but returns a raw
      image shifted to the right.<br>
      <br>
      Is it possible to rubbersheet a georeferenced image with control
      points, or am I chasing a red herring?<br>
      <br>
      Thanks,<br>
      <br>
      Jan<br>
      <br>
      &lt;VRTDataset rasterXSize="310" rasterYSize="343"&gt;<br>
        &lt;SRS&gt;PROJCS[&amp;quot;Amersfoort / RD
      New&amp;quot;,GEOGCS[&amp;quot;Amersfoort&amp;quot;,DATUM[&amp;quot;Amersfoort&amp;quot;,SPHEROID[&amp;quot;Bessel
1841&amp;quot;,6377397.155,299.1528128000008,AUTHORITY[&amp;quot;EPSG&amp;quot;,&amp;quot;7004&amp;quot;]],AUTHORITY[&amp;quot;EPSG&amp;quot;,&amp;quot;6289&amp;quot;]],PRIMEM[&amp;quot;Greenwich&amp;quot;,0],UNIT[&amp;quot;degree&amp;quot;,0.0174532925199433],AUTHORITY[&amp;quot;EPSG&amp;quot;,&amp;quot;4289&amp;quot;]],PROJECTION[&amp;quot;Oblique_Stereographic&amp;quot;],PARAMETER[&amp;quot;latitude_of_origin&amp;quot;,52.15616055555555],PARAMETER[&amp;quot;central_meridian&amp;quot;,5.38763888888889],PARAMETER[&amp;quot;scale_factor&amp;quot;,0.9999079],PARAMETER[&amp;quot;false_easting&amp;quot;,155000],PARAMETER[&amp;quot;false_northing&amp;quot;,463000],UNIT[&amp;quot;metre&amp;quot;,1,AUTHORITY[&amp;quot;EPSG&amp;quot;,&amp;quot;9001&amp;quot;]],AUTHORITY[&amp;quot;EPSG&amp;quot;,&amp;quot;28992&amp;quot;]]&lt;/SRS&gt;<br>
        &lt;GeoTransform&gt; -8.5000000000000000e+03, 
      1.0000000000000000e+03,  0.0000000000000000e+00, 
      2.8750000000000000e+05,  0.0000000000000000e+00, 
      1.0000000000000000e+03&lt;/GeoTransform&gt;<br>
        &lt;Metadata /&gt;<br>
        &lt;Metadata domain="IMAGE_STRUCTURE"&gt;<br>
          &lt;MDI key="INTERLEAVE"&gt;BAND&lt;/MDI&gt;<br>
        &lt;/Metadata&gt;<br>
        &lt;GCPList&gt;<br>
          &lt;GCP Id="" Pixel="0.0000" Line="0.0000"
      X="1.000000000000E+03" Y="0.000000000000E+00" /&gt;<br>
          &lt;GCP Id="" Pixel="1000.0000" Line="0.0000"
      X="2.000000000000E+03" Y="0.000000000000E+00" /&gt;<br>
          &lt;GCP Id="" Pixel="1000.0000" Line="1000.0000"
      X="2.000000000000E+03" Y="2.000000000000E+03" /&gt;<br>
          &lt;GCP Id="" Pixel="0.0000" Line="1000.0000"
      X="1.000000000000E+03" Y="1.000000000000E+03" /&gt;<br>
        &lt;/GCPList&gt;<br>
        &lt;VRTRasterBand dataType="Float64" band="1"&gt;<br>
          &lt;Metadata /&gt;<br>
          &lt;ColorInterp&gt;Gray&lt;/ColorInterp&gt;<br>
          &lt;SimpleSource&gt;<br>
            &lt;SourceFilename
      relativeToVRT="1"&gt;test.tif&lt;/SourceFilename&gt;<br>
            &lt;SourceBand&gt;1&lt;/SourceBand&gt;<br>
            &lt;SourceProperties RasterXSize="310" RasterYSize="343"
      DataType="Float64" BlockXSize="310" BlockYSize="3" /&gt;<br>
            &lt;SrcRect xOff="0" yOff="0" xSize="310" ySize="343" /&gt;<br>
            &lt;DstRect xOff="0" yOff="0" xSize="310" ySize="343" /&gt;<br>
          &lt;/SimpleSource&gt;<br>
        &lt;/VRTRasterBand&gt;<br>
      &lt;/VRTDataset&gt;<br>
    </font>
  </body>
</html>