I'm using gdal_grid
to convert a shapefile with points and I would like to set the pixel size of the output. I've only found the -outsize
flag that lets me set the size of the output raster, but I would prefer to just say that I want 2 x 2 m pixels and let the tool figure out the size of the output raster.
With gdal_rasterize
you can set the -tr
flag, but that tool won't do interpolation.