Displaying 1 result from an estimated 1 matches for "autosvc".
Did you mean:
autos
2012 Dec 17
2
looping through spatial points and getting counts of spatial points in spatial grid in R
...wever, since there are many of these spatial points, I want this process to be automated. Can someone help me with this? All my spatial points are in one folder.
# Creating spatial points in R - reading the POI shapefiles as SpatialPointsDataFrame in R autopts.rg <- readOGR(".", "AutoSvc")class (autopts.rg)
# Getting a count of the Spatial Points in the Spatial Data Frame in.cell <- overlay(SpatialGrid_LS,FinInstq2) newdata <- data.frame(table(in.cell))View(newdata)
"SpatialGrid_LS" is the spatial grid that I had created in R.
I guess a For loop would help, b...