R/extractVTIF.R

Defines functions extractVTIF

Documented in extractVTIF

extractVTIF=function(tarshp,tifRaster){
  rstprj=sp::proj4string(tifRaster)
  tarshpprj=sp::spTransform(tarshp,rstprj)
  res=raster::extract(tifRaster,tarshpprj)
  return(res)
}
lspatial/sptemUS documentation built on May 29, 2019, 3:42 a.m.