Gregory, Matthew wrote:
Hi all,

Is there a way to set a 'snap' coordinate for a target dataset in gdalwarp
without having to know the target extent?  For example, if I wanted my
target dataset to have extent corners that were a multiple of my cellsize, I
could specify (0.0, 0.0) as my snap coordinate.  In Arc, this is
accomplished as:

project grid src target projection.prj bilinear 30 0 0

I'm guessing that with gdalwarp you have to first have to figure out what
the projected extent is, buffer that out to your desired snapped extent and
then run gdalwarp with that calculated extent and the -te option.  Using VRT
as the target data format to figure out this information is simple enough.
I just wanted to make sure that there weren't command line flags I was
overlooking.

Matthew,

I am not aware of any such capability currently.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to