in3Utils.geoTrans.projectOnRaster

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

Projects Points on raster using a bilinear or nearest interpolation and returns the z coord (no for loop)

Parameters
  • dem (dict) – dem dictionary

  • Points (dict) – Points dictionary (x,y)

  • interp (str) – interpolation option, between nearest or bilinear

Returns

Points – Points dictionary with z coordinate added or updated

Return type

dict