[gdal-dev] How to get the size of a OGRGeometry

Jorge Arévalo jorge.arevalo at gmail.com
Wed Jul 8 02:34:17 EDT 2009


2009/7/8 Frank Warmerdam <warmerdam at pobox.com>:
> Jorge,
>
> Taking the width and height of the extent geometry envelope and then
> dividing by the pixel size values from RASTER_COLUMNS (pixelsize_x
> and pixelsize_y) will give you the width and height of the raster in
> pixels for regular_blocking rasters.

Ok, thanks Frank.

Best regards
Jorge


More information about the gdal-dev mailing list