Displaying 20 results from an estimated 3000 matches similar to: "ESRI shapes --again"
2006 Nov 30
2
*** caught segfault *** error
Dear R users,
I use R 2.4.0 on an iMac running Mac OS X 10.4.8, with a 2.16GHz
Intel Core 2 Duo and 2GB 667 MHz DDR2 SDRAM.
> sessionInfo()
R version 2.4.0 (2006-10-03)
i386-apple-darwin8.8.1
locale:
es_ES.UTF-8/es_ES.UTF-8/es_ES.UTF-8/C/es_ES.UTF-8/es_ES.UTF-8
attached base packages:
[1] "methods" "stats" "graphics" "grDevices"
2005 Sep 26
1
merge maps from shapefile to lattice
Hi everybody:
Could anybody help how I solve the next problem?.
I'm doing interpolation maps of tropospheric ozone of my region, and after
create it using IDW, and kriging methods, I want from shapefiles (*.shx,
*.shp, *.dbf, *.sbx & *.sbn ) create contour over the interpolation maps.
Could anybody tell me how do it?.
Thanks in advance.
######################################
Antonio
2006 Nov 07
2
wrong fill colors in polygon-map
Dear all,
I would like to produce a map with information about the patenting
activity in German districts, by coloring districts with different
degrees of patenting activity in different colors. I work with the
packages maptools, maps and spdep. The map data is read from an external
.shp file (+ the corresponding .shx and .dbf files). Plotting a map with
the IDs or the patenting indicator itself
2004 Feb 26
1
writing polygons/segments to shapefiles (.shp) or other A rcGIS compatible file
The main limitation of the shapefiles package that I put together is that it
does not create shapefiles from R objects - rather it only writes shapefiles
that have been read into R and manipulated within the constraints of the
existing file structure. By this I mean that for example you can change the
coordinates of points and write them back out. Or you can add a bunch of
blank columns in the
2011 May 01
1
vector file
Dear All
I want to import the vector file ( .shp) to R. I could import the file by rgdal package before, by following:
geology<-readOGR('C:/geology//saga/geo.geom','finalgeology')
but now there is an error:
Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = input_field_name_encoding) :
GDAL Error 4: .shx file is unreadable, or corrupt.
2013 Aug 20
1
obtener matriz de contactos
Hola Freddy.
Yo parto de un shape en que tengo los típicos archivos .shp, .sbx, .sbn,
.shx y .dbf.
En la tabla tengo el área de los poligonos en m2, el perímetro, el estado y
el código ISO del estado dispuesto por el SGM.
¿Me puedes orientar un poco más?
Gracias,
Sebastían.
El 14 de agosto de 2013 16:19, Freddy Omar López Quintero <
freddy.vate01@gmail.com> escribió:
> Hola
2004 Feb 25
2
writing polygons/segments to shapefiles (.shp) or other ArCGIS compatible file
I am not sure a previous e-mail reached the list (no mail aknowledgement from R-boundle etc.). The question was how to write polygon
or segment coordinates into a shapefile set or any other ArcGIS supported format. The library shapefiles seems to do something but
the documentation is a bit beyond of my mind.... and I cannot get the meaning of the functions write**** and its application to the
case
1999 Jul 23
2
rw0642
Among other computers, I am using rw0642 on an IBM 300GL with 32MB RAM and
Windows98.
1. If after opening rw0642 the first command is to help such as "? par",
when the help window is closed by clicking X in the upper right corner of
the help window the following message is shown
This program has performed an illegal operation and will be shut down.
If the problem persists contact the
2003 Dec 01
1
Re: using shapefile as owin
My sincerest apologies, as this is a very elementary problem, but I have
searched through archives and FAQs and on the web, and I am at the end of my
own resources.
I need to do analysis of a spatial point process occuring with four
counties, using spatstat. I've had no trouble importing the shapefiles, but
I can't seem to figure out what I need to do in order to use the boundary as
an
2006 Oct 07
3
merge and polylist
Greetings:
I would like to kindly ask for a little help. The rough code is:
#________________________________________________________
dat=data.frame(read.delim(file="all.txt", header = TRUE, sep = "\t",
quote="\"", dec=".",na.strings = "NA"))
nc=read.shape("astae.shp", dbf.data=TRUE, verbose=TRUE)
mappolys=Map2poly(nc)
submap
2004 May 03
1
Speed up graphics output?
Hi all,
I've written some code to generate 4 maps per screen and write the output to a jpeg. The output is fairly quick at the start (about 5 jpegs per minute) and then slows down greatly (1-2 jpegs per minute).
Is there some way to speed it up? One of my thoughts is to keep the base map static on the screen and just update the points that are being plotted on the map (with the exception
2005 Sep 06
0
Revised shapefiles package
Now available on CRAN is a revised version of the shapefiles package for
reading and writing shapefiles in R. New additions, courtesy of others,
include the ability to convert a simple R data frame of points,
polylines or polygons to a shp format list, which can then be written
out to a shapefile with write.shp. There is also a function to convert
the read.shp shp format list to a simple data
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
2003 Feb 13
5
ESRI shape file import and time-space models
Dear R user,
I am running R under Windows 2000.
I am looking for a routine for importing
- shape files (ESRI) into R
- dbase files (FOXPRO) into R
and I am looking for time-space models for description and prediction of
Bernoulli-, Binomial- and Poissonvaraibles.
Thank's a lot for a reply.
Sincerely yours,
Ekkehardt Altpeter
Swiss Federal Office of Public
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,
2010 Apr 22
1
Why does 'apply(.., 1, .., ..)' transpose result
I am sorry if this is documented in apply's dcumentation or completely
obvious, I could not find or work it out.
Given an matricies Q: 2x3, R:1x3 and S:1x2
apply(Q, 1, '-', R) is 3x2 and apply(Q, 2, '-', S) is 2x3
Why?
cheers
Worik
> Q
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 10 11 12
> R
[1] 1 4 7
> S
[1] 1 4
> apply(Q, 1, '-', R)
[,1]
2007 May 21
1
Graphically show population density for a specific geographic area using R
Hi,
we all know that R is powerful in dealing with graphics.
I am now trying to use R to show some geographic attributes for a
specific geographic area on a graph. For example, if I would like to
generate a graph showing the population densities (in terms of the
intensity of colors) for Illinois State by zip codes. I did some
research; and it seems that package "maptools" is
1999 Jul 21
4
reluctant to read win95 directory (PR#231)
Using rw0642 under win95, on executing from a directory on the c: drive:
system("command.com /c dir", intern=T)
there is a whirring from drive a: (empty), then the message appears in a
dos box:
General failure reading device aLP!!?
Abort, Retry, Fail?
Repeating the command a few times finally results in success with no
whirring, after which there are no failures (even
2010 Apr 06
0
Adding labels on maps (using sp, maptools, or something else suggested)
Hello,
I would like to place region names (or abbreviations if space is too
limited) on a map. I have tried the following, copying and adapting
various examples I have seen but without success. The first example
is self-contained, but the second one requires the .shp file, which
can retrieved at http://www.gadm.org/country.
----- Example 1 -----
library(sp)
con <-
2012 Oct 10
2
mapa municipios Andalucía con R
Hola a todos.
Estoy utilizando R , más concretamente los paquetes maptools y sp,
para realizar mapas de España por comunidades y provincias y de
Andalucía por provincias y municipios.
El caso es que para el mapa de municipios en Andalucía, una vez leído
el fichero shp con readShapePoly , si luego por ejemplo , quiero poner
todos los polígonos de un color utilizando
library(maps)