R/extractVTIF.R

extractVTIF=function(tarshp,tifRaster){
  rstprj=sp::proj4string(tifRaster)
  tarshpprj=sp::spTransform(tarshp,rstprj)
  res=raster::extract(tifRaster,tarshpprj)
  return(res)
}

Try the sptemExp package in your browser

Any scripts or data that you put into this service are public.

sptemExp documentation built on July 7, 2019, 9:02 a.m.