Le mercredi 25 septembre 2013 12:31:05, laura0 a écrit : > Hi all, > I am investigating Nearest neighbor algorithm of gdal_grid. > The search ellipse is described by the three parameters: > radius1, radius2, angle . > My target is to get a regular grid as similar as possible at the original > cloud of point, with the same values (no interpolation, so I choose the > Nearest neighbor algorithm) . Which are the more appropriate parameters for > this purpose?
Laura, You should define a resolution for the output grid that is close to the average spacing between adjacent points within your point cloud, and use that spacing value (or potentially slightly a bit more to avoid holes in the resulting output) as a radius1 and radius2 value. Setting radius1 and radius2 to 0 could also be a solution : it is equivalent to setting an infinite radius value. Even -- Geospatial professional services http://even.rouault.free.fr/services.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev