in3Utils.geoTrans.projectOnRaster

projectOnRaster(dem, Points, interp='bilinear')[source]

Projects the points Points on Raster using a bilinear or nearest interpolation and returns the z coord (no for loop) Input : Points: list of points (x,y) 2 rows as many columns as Points Output: PointsZ: list of points (x,y,z) 3 rows as many columns as Points