<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    I've been banging my head for an hour or so, and I cannot spot my
    (deliberate) error in trying to clip out an area from a vrt file.<br>
    <br>
    <blockquote><tt><tt><b>geograph@gs01:/20150315_work/gdal$</b> </tt>gdal_translate
        --version</tt><tt><br>
      </tt><tt>GDAL 2.0.0dev, released 2014/04/16</tt><tt><br>
      </tt></blockquote>
    <blockquote><tt><tt><b>geograph@gs01:/20150315_work/gdal$</b> </tt>gdal_translate
        -projwin -32666 -3284691 -30125 -3288248 -of GTiff -co TFW=YES
        -co COMPRESS=LZW
        /mnt/geo_lvm0/gisdata/raster/ortho/ngi_20141205_WGS1984_Lo31.vrt
        AW25a.tif</tt><tt><br>
      </tt><tt>Input file size is 341744, 512321</tt><tt><br>
      </tt><tt>Computed -srcwin 129951 151143 5082 7114 from projected
        window.</tt><tt><br>
      </tt><b><tt>geograph@gs01:/20150315_work/gdal$</tt></b><tt><br>
      </tt></blockquote>
    and AW25a.tif is not created.<br>
    <br>
    I have also tried:<br>
    <blockquote>removing everything except projwin, srcdata and dstdata
      - to no avail.<br>
      using the computed values with -srcwin instead of -projwin<br>
      putting quotes around the -co options<br>
    </blockquote>
    <br>
    Any thoughts welcome.<br>
    Thanks in advance,<br>
    Zoltan<br>
    <br>
    <blockquote><tt><b>geograph@gs01:/20150315_work/gdal$</b> gdalinfo
        /mnt/geo_lvm0/gisdata/raster/orthos/ngi_20141205_WGS1984_Lo31.vrt<br>
        Driver: VRT/Virtual Raster</tt><tt><br>
      </tt><tt>Files:
        /mnt/geo_lvm0/gisdata/raster/orthos/ngi_20141205_WGS1984_Lo31.vrt</tt><tt><br>
      </tt><tt>      
/mnt/geo_lvm0/gisdata/raster/orthos/ngi_20141205/2930AA/2930AA_01_2009_116_RGB_RECT.tif</tt><tt><br>
      </tt><tt><br>
      </tt><b><tt>dot...dot...dot...</tt></b><tt><br>
      </tt><tt><br>
      </tt><tt>      
/mnt/geo_lvm0/gisdata/raster/orthos/ngi_20141205/3130AB/3130AB_01_2013_559_RGB_RECT.tif</tt><tt><br>
      </tt><tt>      
/mnt/geo_lvm0/gisdata/raster/orthos/ngi_20141205/3130AC/3130AC_01_06_2013_559_RGB_RECT.tif</tt><tt><br>
      </tt><tt>Size is 341744, 512321</tt><tt><br>
      </tt><tt>Coordinate System is:</tt><tt><br>
      </tt><tt>PROJCS["Projection: Transverse Mercator; Datum: WGS84;
        Ellipsoid: WGS84",</tt><tt><br>
      </tt><tt>    GEOGCS["WGS 84",</tt><tt><br>
      </tt><tt>        DATUM["WGS_1984",</tt><tt><br>
      </tt><tt>            SPHEROID["WGS 84",6378137,298.257223563,</tt><tt><br>
      </tt><tt>                AUTHORITY["EPSG","7030"]],</tt><tt><br>
      </tt><tt>            AUTHORITY["EPSG","6326"]],</tt><tt><br>
      </tt><tt>        PRIMEM["Greenwich",0],</tt><tt><br>
      </tt><tt>        UNIT["degree",0.0174532925199433],</tt><tt><br>
      </tt><tt>        AUTHORITY["EPSG","4326"]],</tt><tt><br>
      </tt><tt>    PROJECTION["Transverse_Mercator"],</tt><tt><br>
      </tt><tt>    PARAMETER["latitude_of_origin",0],</tt><tt><br>
      </tt><tt>    PARAMETER["central_meridian",31],</tt><tt><br>
      </tt><tt>    PARAMETER["scale_factor",1],</tt><tt><br>
      </tt><tt>    PARAMETER["false_easting",0],</tt><tt><br>
      </tt><tt>    PARAMETER["false_northing",0],</tt><tt><br>
      </tt><tt>    UNIT["metre",1,</tt><tt><br>
      </tt><tt>        AUTHORITY["EPSG","9001"]]]</tt><tt><br>
      </tt><tt>Origin =
        (-97641.549180324524059,-3209119.323926338460296)</tt><tt><br>
      </tt><tt>Pixel Size = (0.500000000000000,-0.500000000000000)</tt><tt><br>
      </tt><tt>Corner Coordinates:</tt><tt><br>
      </tt><tt>Upper Left  (  -97641.549,-3209119.324) ( 29d59'52.79"E,
        28d59'41.68"S)</tt><tt><br>
      </tt><tt>Lower Left  (  -97641.549,-3465279.824) ( 29d58'27.71"E,
        31d18'19.15"S)</tt><tt><br>
      </tt><tt>Upper Right (   73230.451,-3209119.324) ( 31d45' 5.46"E,
        28d59'47.57"S)</tt><tt><br>
      </tt><tt>Lower Right (   73230.451,-3465279.824) ( 31d46' 9.27"E,
        31d18'25.60"S)</tt><tt><br>
      </tt><tt>Center      (  -12205.549,-3337199.574) ( 30d52'23.89"E,
        30d 9'14.66"S)</tt><tt><br>
      </tt><tt>Band 1 Block=128x128 Type=Byte, ColorInterp=Red</tt><tt><br>
      </tt><tt>  NoData Value=0</tt><tt><br>
      </tt><tt>Band 2 Block=128x128 Type=Byte, ColorInterp=Green</tt><tt><br>
      </tt><tt>  NoData Value=0</tt><tt><br>
      </tt><tt>Band 3 Block=128x128 Type=Byte, ColorInterp=Blue</tt><tt><br>
      </tt><tt>  NoData Value=0</tt><tt><br>
      </tt><b><tt>geograph@gs01:/20150315_work/gdal$ </tt></b><br>
    </blockquote>
    <br>
  </body>
</html>