[R-sig-Geo] shapefiles + plot

Leons Mwenda malipulla at yahoo.com
Thu Jan 20 00:43:43 CET 2011


Dear all, 
 I need to performe universal kriging using ancillary data. Dependent data 
(variable) is irregular data in projected coordinates. Secondary data 
(independent variable) is image in geographical coordinates system. The problem 
is I am getting error when projecting image that of torrelance exceeds limit. 

Help to fix this



----- Original Message ----
From: Barry Rowlingson <b.rowlingson at lancaster.ac.uk>
To: GEMA FERNANDEZ-AVILES CALDERON <Gema.FAviles at uclm.es>
Cc: r-sig-geo at r-project.org
Sent: Tue, 18 January, 2011 19:38:01
Subject: Re: [R-sig-Geo] shapefiles + plot

On Tue, Jan 18, 2011 at 2:54 PM, GEMA FERNANDEZ-AVILES CALDERON
<Gema.FAviles at uclm.es> wrote:
> Dear all:
>
> first of all, thank you very much for helping me to solve the doubts I wrote 
>you in the previous mail.
>
> I've a shapefiles with some variables and I would like to plot a map with the 
>basic descriptives of the variable. How Can I do it?
>
> I am tryining to use "readOGR", but I don't know if it is correct.

That is one way, but readOGR can read all sorts of geographic data
and can get complicated. You might want to try readShapeSpatial from
the maptools package.

Install maptools, then help(readShapeSpatial) will give you some examples.

Barry

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo







More information about the R-sig-Geo mailing list