ExValue_from_Pointshp: Add a Point shapefile and raster image.

Description Usage Arguments Author(s) Examples

Description

Add a Point shapefile and raster image.

Usage

1
ExValue_from_Pointshp(ras_img, point_shp, res_Col_name)

Arguments

ras_img

Raster image

point_shp

Point shapefile with class info

res_Col_name

Name of the colomn contain class id's

Author(s)

Subhadip Datta

Examples

1
2
3
4
5
6
library(raster)
library(ExtractTrainData)
ras_img<-brick(system.file("extdata","ras.tif",package = "ExtractTrainData"))
point_shp<-shapefile(system.file("extdata","poin.shp",package = "ExtractTrainData"))
res_Col_name<-"Id"
ExValue_from_Pointshp(ras_img,point_shp,res_Col_name)

SubhadipDatta/ExtractTrainData documentation built on June 26, 2020, 9:57 a.m.