我通过店面创建了父用户组和子用户组。
#Set your working directory
setwd("C:/Here_it_is/")
ipath <- "C:/Here_it_is/"
#I know it repeats the above, but I noticed for me, it needed the wd set
opath <- "C:/Where_its_going/"
#Identify your polygon boundary
ppath <- "C:/GIS/" #directory where the .shp is
pname <- "boundary" #filename of the actual .shp without the extension.
#Read your polygon boundary
ppoly <- readOGR(ppath,pname) #if this doesn't work theyn maybe you do not have the package loaded?
#Identify spatial extent
e <- extent(ppoly)
#Projection type and datum, respectively
p1 <- "+proj=UTM"
p2 <- "+datum=WGS84"
projmap <- paste(p1,p2)
#Identify the list of images you wish to perform the loop
files <- list.files(ipath, pattern=".tif$", full.names=FALSE)
stopifnot(length(files)>0)
#add output directory
outfiles <- pasteO(opath, files) #paste0 forgoes any separator between the two vectors "opath" and "files". if you need to add a slash somewhere then you need to change it to the paste function or change your vectors above.
#Change extension
extension(outfiles) <- "tif" #if you want to make it .tif
for (f in 1:length(files)){
r <- raster(files[f])
rc <- crop(r, e)
rm <- mask(rc, ppoly)
rw <- writeRaster(rm,outfiles[f],overwrite=TRUE)
}
当我在产品主控室中看到促销的用户限制屏幕时,我只能看到父用户组ROOT和PARENT而不是子用户组CHILD。我错过了什么吗?用户组的类型为B2Unit。
PS:我不能在Hybris论坛上发布这个问题。
答案 0 :(得分:1)
嗯,这个问题是因为HMC为产品经理组添加了个性化规则。个性化规则仅允许ROOT组的ROOT组和直接子组显示在产品主控室中的促销的用户限制屏幕上。我更新了这个过滤器。