[gdal-dev] Using GDALWARP to crop to extremeties of source data

Etienne Tourigny etourigny.dev at gmail.com
Mon Dec 2 07:43:01 PST 2013


You can use gdal_translte with -projwin or -srcwin parameter


On Tue, Nov 26, 2013 at 1:50 PM, JSz <james at agritech.co.uk> wrote:

> I am using GDAL_grid to create a raster image using the command :
>
> *gdal_grid -a invdist:power=2:smoothing=0.001:radius1=0.0005:radius2=0.0005
> -of GTiff -zField a_field -ot Float64 -l data data_source.vrt results.tiff*
>
> which obviously extrapolates the data beyond the extremities of my data, I
> can cut the required data with a shape file by using :
>
> *gdalwarp -cutline <<src_shape>> -crop_to_cutline -srcnodata 0 source.tiff
> output.tiff*
>
> However is there a way to cut to the extremities of my original data
> without
> the need for the shape file?
>
> Many thanks
>
> JSz
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Using-GDALWARP-to-crop-to-extremeties-of-source-data-tp5091315.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131202/66249863/attachment-0001.html>


More information about the gdal-dev mailing list