Displaying 2 results from an estimated 2 matches for "shpname".
Did you mean:
sh_name
2013 Jan 27
1
lapply and SpatialGridDataFrame error
...ot;, 1:54, ".txt")
modeldepthsmore <- lapply(modfilesmore, readfunct)
maxdepth.plys <- lapply(modeldepthsmore, Grid2Polygons(modeldepthsmore,
level = FALSE))
layers <- paste0("examples/floodlayers_", 1:54)
polyshapes <- lapply(writePolyShape(maxdepth.plys, layers))
shpName <- sub(pattern="(.*)\\.dbf", replacement="\\1",
x=system.file("examples/Flood/layer_.dbf", package="BayesX"))
floodmaps <- lapply(shp2bnd(shpname=shpName, regionnames="SP_ID"))
## draw the map
drawmap(map=floodmaps)
This is the error messa...
1999 Jul 26
0
ESRI Shapefile reader (help with dlls)
...minor 64.2
year 1999
month July
day 3
language R
> dyn.load("D:/Nicholas/shapelib-1.2.5/Sshpopen.dll")
> read.shape("D:\Nicholas\jstuff\Geotools\examples\publands")
Error in .C("SHPOpen", as.character(shpname), as.character(shxname), as.character(access), : C/Fortran function not in load table
> is.loaded(symbol.C("SHPOpen"))
[1] FALSE
>
Am I doing something wrong when building the dll? here are the steps I used
gcc -mno-cygwin -O2 -c Sshpopen.c
echo LIBRARY Sshpopen > Sshpopen.de...