Displaying 20 results from an estimated 1000 matches similar to: "Maptools runs out of memory installing the help files for spCbind-methods"
2010 Jan 29
1
Compilation error with maptools
I had downloaded and installed 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
2009 Oct 28
2
Re ading and Creating Shape Files
Hello R Community,
I have imported a dataset which contain X Y coordinates and would like to
recreate a shape file after some data analysis. What i have done is to
import some taxlot data and join them based on some criteria. I want to
check to see how well the joining went by reviewing the results in GIS.
A couple things. I cant seem to import a shape file correctly using the
maptools
2014 Oct 08
2
Pregunta sobre manipulación de shapefile
Oscar, al final no he podido esperar hasta mañana
Con:
library(maptools)library(sp)
poligonos <- readShapeLines("C:\\...\\DATOS\\MUNICIPIO.shp")
sink("C:\\ ... \\DATOS\\MUNICIPIO.csv")
coordinates(poligonos)
Consigo un fichero con la suficiente estructura para tratarlo fácilmente y de una tacada montar la tabla .csv tal y como he indicado en un correo anterior
Necesito el
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
2014 Oct 08
4
Pregunta sobre manipulación de shapefile
Gracias Beatriz, efectivamente, lo que indicas en tu ejemplo es lo que obtengo al final de mi proceso.
En todo caso pruebo tu opción con mis datos, si es como imagino seguro que es más rápida de montar y más elegante que tratar el resultado de un sink() (recuerdo que en su momento lo intenté con fotify pero no supe bien como atacarlo, no conocía el enlace que me mandas, por tanto lo pruebo de
2009 Oct 27
1
Me or a bug? Package Install does not unzip (PR#14026)
Today I installed R 2.10.0
1. I try to download maptools again.
2. Downloads to a temp subdirectory somewhere.
> utils:::menuInstallPkgs()
trying URL
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.10/maptools_0.7-26.zip'
Content type 'application/zip' length 1038205 bytes (1013 Kb)
opened URL
downloaded 1013 Kb
package 'maptools' successfully unpacked and
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
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
2011 Jul 23
1
Problem with read.shape in maptools
Hi,
I'd like to read a shapefile into a Map object. This is exactly what
read.shape{maptools} is suppoed to do, according to the documentation I
found in the link below.
However, this doesn't seem to work
library(maptools)x <- read.shape(system.file("shapes/sids.shp",
package="maptools")[1])Error: could not find function "read.shape"
I haven't
2005 Sep 16
1
Question:manipulating spatial data using combination of Maptools and Splancs
Hi,
I have a problem that concerns combination of the package Maptools and
Splancs
I have 2 shapefiles that i want to manipulate (one of type point and one
polygon).I import them in R using Maptools but then i can't estimate a
quartic Kernel using Splancs. The package doesn't recognize the shapes
(invalid points and poly argument).I don't know if this is an easy task but
i have
2005 Sep 07
0
Revised versions of the maptools and sp packages
Revised versions of maptools, a package for reading geographical data from
shapefiles, and sp, a package with classes and methods for spatial data
handling, have been released on CRAN. They are maptools release 0.5-1 and
sp release 0.8-1.
The maptools package now depends on sp (>= 0.8), so that users of maptools
will need both to update the package itself, and to install the sp
package. All
2005 Sep 07
0
Revised versions of the maptools and sp packages
Revised versions of maptools, a package for reading geographical data from
shapefiles, and sp, a package with classes and methods for spatial data
handling, have been released on CRAN. They are maptools release 0.5-1 and
sp release 0.8-1.
The maptools package now depends on sp (>= 0.8), so that users of maptools
will need both to update the package itself, and to install the sp
package. All
2010 Mar 02
1
how to import map data (maptools?) from a html set of 'coords'
Dear R users,
I would like to draw map and import it in maptools/spatstat packages.
The 'raw data' I have come from a web page (<map>...</map>) and are
basically a list of coordinates of a polygon.
I would like to know how to import them in R; I checked the maptools
packages, but all the examples use existing .dbf files.
I just have a (serie of) text file(s) looking like
2010 Nov 10
2
maptools package
A few years back, I wrote some code to plot maps with the maptools
package. Now I am trying to reproduce my results, only to find out
that maptools has been updated and my code no longer works.
I've been able to fix the first part of it by forcing
spb <- maptools:::read.shape("/home/sasha/Documents/maps/spb.shp")
(as read.shape has been deprecated)
but now when I do
plot(spb,
2008 Mar 11
2
Error opening SHP file (maptools)
I am having difficulty loading a points shapefile (1600 records) I generated from ArcGIS as a PointsSpatialDataFrame using the maptools readShapePoints function.
library(maptools)
surveypts <- readShapePoints(system.file("C:/temp/survey.shp", package="maptools")[1]
Error in getinfo.shape(filen) : Error opening SHP file
I've tried numerous re-exports and renames of the
2009 Feb 05
3
maptools: Test if point is in polygon
In R's maptools package, is there a built-in function to test if a
given point is "inside" a given polygon on the map? The map was
loaded from an ESRI Shapefile. The point's latitude and longitude are
known.
Thank you!
Aleks
--
------------------------
Aleksandr Andreev
Fulbright Fellow
Graduate School of Management
St Petersburg State University
2010 Sep 21
1
Colorramp in Maptools, how to choose min and max values for the fg= argument
Hello,
I am using maptools for plooting geographical data.
The colour of the region indicates some region dependent value
(population for example).
I pass the colours of the regions to the plot.Map function by defining
the foreground colour:
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow",
2008 Nov 09
1
maptools sunrise sunset function
##This is a function that I am trying to write to calculate sunrise
and sunset and works "mostly", but returns nonsensical values. What
am I #missing? Thanks in advance.
###remember to include maptools as dependence###
library(maptools)
sunrise.set <- function(lat, long, date, timezone="UTC", num.days=1){
#this needs to be long lat#
lat.long <- matrix(c(long, lat),
2005 Mar 05
2
maptools, filename writing shapefiles
Hi,
I meet a strange trouble writing shapefiles with write.pointShape() from
maptools.
> write.pointShape(mylines[,5:9], file="Sxtplinshp", mycoordspt)
Error in write.pointShape(mylines[, 5:9], file = "Sxtplinshp", mycoordspt) :
shapefile names must conform to the 8.3 format
It seems that the function request a special shapefile name spelling
(conformed to 8.3
2008 Jan 27
2
maptools no such file
Hello,
I'm having problems reading a shapefile with read.shape (maptools). I'm absolutely sure my file is there, but I get "no such file". The wd is ok, since read.table for example does find the file.
> getwd()
[1] "D:/somedirectory/R scripts"
> read.table("cities.shp")
Error in read.table("cities.shp") : empty beginning of file
In addition: