I have been using
gdal_grid to convert xyz files to a raster
I am wondering is there anyway to automatically detect the extents to use from the xyz file
txe and tye using python so that I can use a more general code every time I grid?
This way I will be stating my input xyz file and interpolation method but the raster extents will be pre-calculated for best results using python??
gdal_grid -a nearest:radius1=1.0:radius2=1.0:angle=0.0:min_points=0:nodata=0.0 -ot Float32 -of GTiff -txe [pre-calculated] -tye [pre-calculated] -tr 1 1 "input" output