[gdal-dev] Re: gdal_rasterize -tr and -te

Even Rouault even.rouault at mines-paris.org
Mon Oct 4 13:43:42 EDT 2010


Le lundi 04 octobre 2010 17:01:14, Hermann Peifer a écrit :
> 
> > * do you want to round/ceil/floor ? or so that the adjusted extent
> > includes the exact extent ? or so that the adjusted extent is contained
> > inside the exact extent ?
> 
> The adjusted extend includes the exact extent.
> 

Hum, the example you gave in the first email seems to show the contrary:

Original extent:

Upper Left  ( 4923406.374, 3088693.597)
Lower Right ( 4994261.374, 3010723.597)

Wished extent:

Upper Left  ( 4923500, 3088600)
Lower Right ( 4994200, 3010800)

Unless I'm wrong, the rounded/adjusted bounding box is included within the 
original/exact extent.


More information about the gdal-dev mailing list