search for: grid2polygons

Displaying 1 result from an estimated 1 matches for "grid2polygons".

2013 Jan 27
1
lapply and SpatialGridDataFrame error
Hi all, I have a set of 54 files that I need to convert from ASCII grid format to .shp files to .bnd files for BayesX. I have the following R code to operate on those files: library(maptools) library(Grid2Polygons) library(BayesX) library(BayesXsrc) library(R2BayesX) readfunct <- function(x) { u <- readAsciiGrid(x) } modfilesmore <- paste0("MaxFloodDepth_", 1:54, ".txt") modeldepthsmore <- lapply(modfilesmore, readfunct) maxdepth.plys <- lapply(modeldepthsmore, Grid2Poly...