search for: spcbind

Displaying 9 results from an estimated 9 matches for "spcbind".

Did you mean: rpcbind
2010 Jan 26
1
Maptools runs out of memory installing the help files for spCbind-methods
...grateful for help with the following:- Running R version 2.9.2 (2009-08-24) on Gentoo Linux, on an x86 PC. I am trying to install maptools, (via CRAN from maptools_0.7-29.tar.gz'), for the first time. All runs smoothly until the installation gets to "*** installing help indices" for spCbind-methods, about two thirds of the way through the help files, at which point the installation hangs until R runs out of memory. The last few lines of the output are :- "sp2tmap text html latex example spCbind-methods text html latex example Out of memory!&q...
2008 Mar 29
3
Generating maps in R
Greetings! I am trying plot some data on a map in R. Here's the scenario. I have a variable called probworkinghealthy which contains a predicted probability of employment for every individual in my sample (about 100,000 observations). I have another variable, called a001ter, which contains the subject of residency in the Russian Federation (akin to a US state) for every individual in the
2010 Jan 29
1
Compilation error with maptools
...stalled a number of packages, successfully, when I ran into some problem with maptools: It would eat up CPU and most of all memory. I rebooted, and tried again, only running the terminal after the reboot; with the same result: " sp2WB text html latex example sp2tmap text html latex example spCbind-methods text html latex example Out of memory! ERROR: building help failed for package ?maptools? * Removing ?/usr/local/lib/R/site-library/maptools? The downloaded packages are in ?/tmp/RtmpG9Vj1D/downloaded_packages? Warning message: In install.packages("maptools") : installation of pa...
2009 Oct 28
2
Re ading and Creating Shape Files
...882.0) Xcoord=c( 4227640 ,4227816 ,4228929 ,4228508 ,4229569 ,4229498 ,4226747, 4226781, 4229597, 4229204, 4228910, 4228959 ,4229465 ,4229794 ,4229596 ,4229082) Lot<-c(1900 , 2000, 2100 , 100 ,200 , 300, 400 , 500 , 600 , 701 , 900 , 1000 , 1100, 300 ,100, 200) XYcoord<-spCbind(Ycoord,Xcoord) #doesnt work so XYcoord=c(Ycoord,Xcoord) TaxLots<-cbind(Ycoord,Xcoord,Lot) writeSpatialShape(XYcoord, TaxLots.., file=data/input/test/Taxlots,strictFilename=FALSE) So help reading in shape files and then creating them using XY coordinates if possible Any help would be apprec...
2014 Oct 08
2
Pregunta sobre manipulación de shapefile
...ptools) > xx <- readShapePoly(system.file("shapes/sids.shp", package="maptools")[1], > IDvar="FIPSNO", proj4string=CRS("+proj=longlat +ellps=clrk66")) > xx$test <- rnorm(nrow(xx)) > > También te puede interesar la función spCbind, que te permite unir un > Spatial*DataFrame con un data.frame. > > Finalmente, si necesitas las coordenadas del centroide de cada polígono, > puedes usar coordinates: > > coordinates(xx) > > Pero si necesitas las coordenadas de todos las líneas es más fácil si > l...
2014 Oct 08
3
Pregunta sobre manipulación de shapefile
Hola buenos días: Hace algún tiempo mandé una duda que sobre fichero tipo shapefile que publica el Instituto Geográfico Nacional de España y que detallo en el word Duda_sobre_shp. El tema es que al final no obtuve respuesta (es cierto que lo mandé en Agosto y en esa fechas entiendo que sea normal, por tanto por recomendación de un conocido vuelvo de nuevo a remitir la cuestión) Como no podía
2014 Oct 08
4
Pregunta sobre manipulación de shapefile
...ls) > xx <- readShapePoly(system.file("shapes/sids.shp", package="maptools")[1], > IDvar="FIPSNO", proj4string=CRS("+proj=longlat +ellps=clrk66")) > xx$test <- rnorm(nrow(xx)) > > También te puede interesar la función spCbind, que te permite unir un > Spatial*DataFrame con un data.frame. > > Finalmente, si necesitas las coordenadas del centroide de cada polígono, > puedes usar coordinates: > > coordinates(xx) > > Pero si necesitas las coordenadas de todos las líneas es más fácil si...
2009 Apr 06
1
political maps world maps in R, wrld_simpl
dear all, I'm a newbie in map tools. I was asking to perform an apparently very simple task. I have a list of countries (about fifty all over in the world) scored with a real positive value. Eg Country score Italy .56 UK .58 Korea .41 Mexico .63 ... I wish to plot geographical maps where every country is filled with a color depending on his score. Using maptools library and
2007 Jan 10
1
map data.frame() data after having linked them to a read.shape() object
Dear all, I try to first link data in a data.frame() to a (polygon) read.shape() object and then to plot a polygon map showing the data in the data.frame. The first linking is called "link" in ArcView and "relate" in ArcMap. I use the code shown below, though without success. Help with this would be greatly appreciated. Thanks! Tord require(maptools) # Read shape file