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

Hermann Peifer peifer at gmx.eu
Mon Oct 4 11:01:14 EDT 2010


On 04/10/2010 16:31, Even Rouault wrote:
>
> This raises quite a few questions :
> * what is a standard grid ?

Ours starts at 0,0, then goes in all directions with the given tr


> * what syntax would you imagine to pass to gdal utilities to define how you want
> the rounding ?

Some creation options like standard=yes, standard_origin=0,0

> * 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.

> * which gdal utilities would be impacted ?

All the ones that create new raster files: gdal_rasterize, 
gdal_translate, gdalwarp, ...

> * ... and is there a concensus among the interested users ;-) ?
>

Hmm. Let's see.



More information about the gdal-dev mailing list