Re: [gdal-dev] "Syncing" two rasters together...

2014-03-31 Thread Kurtis Nelson
We've done quite a bit of time series stacking of Landsat data for change detection using the method you are testing. We determine the output frame of either the minimum bounding box of all the input scenes (gdalinfo each scene, save corner coordinates, compute bounding box) or we have also pr

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread Etienne Tourigny
her > utilities > such as pkcrop. There is no need to parse the output from gdalinfo first. > > Pieter. > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/gdal-dev-Syncing-two-rasters-together-tp5131677p5131898.html > Sent from the G

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread kempenep
There is no need to parse the output from gdalinfo first. Pieter. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Syncing-two-rasters-together-tp5131677p5131898.html Sent from the GDAL - Dev mailing list archive at Nabble.com. __

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread Etienne Tourigny
t of input images to a multi-layer image using the same bounding box > and > spatial resolution > > pkcrop $(pkinfo -i reference.tif -dx -dy -bb) $(for LS in landsat*.tif; do > echo " -i " $LS;done) -o stacked.tif > > Pieter. > > > > -- > View this me

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread kempenep
m/gdal-dev-Syncing-two-rasters-together-tp5131677p5131753.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-27 Thread Jonathan Greenberg
Hi Tim: Not quite -- all I'm trying to do is basically crop (or expand) one raster to another's extent, but given two images may have their upper left coordinates somewhat "out of sync" (so the pixels don't line up perfectly with one another), I'm a bit unclear on how to do this -- the goal is to

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-27 Thread Tim Keitt
On Thu, Mar 27, 2014 at 4:26 PM, Jonathan Greenberg wrote: > GDALers: > > What is the most efficient way, given a "reference raster", and an > arbitrary raster (we'll call it "unsynced") synced together to allow > them to be stacked: the output of this should be the unsynced raster > with the same

[gdal-dev] "Syncing" two rasters together...

2014-03-27 Thread Jonathan Greenberg
GDALers: What is the most efficient way, given a "reference raster", and an arbitrary raster (we'll call it "unsynced") synced together to allow them to be stacked: the output of this should be the unsynced raster with the same number of rows, columns, pixel size, upper left coordinates, and proje