<div dir="ltr">You can use gdal_translte with -projwin or -srcwin parameter</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 1:50 PM, JSz <span dir="ltr"><<a href="mailto:james@agritech.co.uk" target="_blank">james@agritech.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am using GDAL_grid to create a raster image using the command :<br>
<br>
*gdal_grid -a invdist:power=2:smoothing=0.001:radius1=0.0005:radius2=0.0005<br>
-of GTiff -zField a_field -ot Float64 -l data data_source.vrt results.tiff*<br>
<br>
which obviously extrapolates the data beyond the extremities of my data, I<br>
can cut the required data with a shape file by using :<br>
<br>
*gdalwarp -cutline <<src_shape>> -crop_to_cutline -srcnodata 0 source.tiff<br>
output.tiff*<br>
<br>
However is there a way to cut to the extremities of my original data without<br>
the need for the shape file?<br>
<br>
Many thanks<br>
<br>
JSz<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Using-GDALWARP-to-crop-to-extremeties-of-source-data-tp5091315.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Using-GDALWARP-to-crop-to-extremeties-of-source-data-tp5091315.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br></div>