Re: [gdal-dev] Matching two rasters

2011-05-13 Thread Chaitanya kumar CH
Jonathan, Assuming you want to convert B's projection to A's. First, run gdalinfo on A.tif and save the part under 'Coordinate System is:' in a file named 'A.prf'. This is the OGC's WKT representation of the Spatial Reference System of A.tif Then, run gdalwarp on B.tif with the following options

Re: [gdal-dev] Matching two rasters

2011-05-13 Thread Even Rouault
Le vendredi 13 mai 2011 21:58:50, Jonathan Greenberg a écrit : > GDALers: > > Say I have two rasters, A and B with different projections, extents, > and resolution. I want to make B match A, such that the projection, > resolution, and extent (filling in with some arbitrary value where > there is

[gdal-dev] Matching two rasters

2011-05-13 Thread Jonathan Greenberg
GDALers: Say I have two rasters, A and B with different projections, extents, and resolution. I want to make B match A, such that the projection, resolution, and extent (filling in with some arbitrary value where there is no data) all match. Is there a quick way to do this using command line gda