Re: [R-sig-Geo] How to clip and interpolate data using shapefile as a boundary

2010-10-19 Thread Thiago Veloso
 Â Thiago. --- On Tue, 19/10/10, Roman LuÅ¡trik wrote: From: Roman LuÅ¡trik Subject: Re: [R-sig-Geo] How to clip and interpolate data using shapefile as a boundary To: "Thiago Veloso" Cc: "R SIG list" Date: Tuesday, 19 October, 2010, 9:58 You can easily clip ras

[R-sig-Geo] How to clip and interpolate data using shapefile as a boundary

2010-10-19 Thread Thiago Veloso
  Dear R-SIGgers,   My current rainfall dataset (ascii, at 0.2 degree resolution) spans the entire South America and has been loaded into R as a xyz variable: > summary(prec_data)       V1               V2               V3          Min.   > :-82.80   Min.   :-50.20   Min.   :  0.000   1st Qu.:-70

Re: [R-sig-Geo] Finding polygon centroid

2010-10-18 Thread Thiago Veloso
  Dear Carson,   Thank you. This is exactly what I was looking for!   Best,   Thiago. --- On Mon, 18/10/10, Carson Farmer wrote: From: Carson Farmer Subject: Re: [R-sig-Geo] Finding polygon centroid To: "Thiago Veloso" Cc: "R SIG list" Date: Monday, 18 October, 2010, 17

[R-sig-Geo] Finding polygon centroid

2010-10-18 Thread Thiago Veloso
  Dear list members,   How can I find a polygon centroid? Google shows me a "get.Pcent" function within maptools, but it seems to be no longer available...   Best wishes,   Thiago. [[alternative HTML version deleted]] ___ R-sig-Geo mail

Re: [R-sig-Geo] reading .grd file in R?

2010-10-13 Thread Thiago Veloso
  My suggestion is to convert your .grd files to self-descriptive ones, for example netcdf. Considering that you have some experience with GrADS, a helpful tutorial is available on http://cookbooks.opengrads.org/index.php?title=Recipe-017:_Subsetting_and_reformating_MERRA_data_with_Lats4d#Exampl

Re: [R-sig-Geo] Mapping multiple attributes at once

2010-08-24 Thread Thiago Veloso
  Hello, Matthew.   Just a superb complement of yours.   I was about to ask the same question to Pierre and Paul, after thanking them for the useful and functional tip. I managed to follow the ggplot examples, but a next step would involve plotting my interest points over a shape file (state con

Re: [R-sig-Geo] Mapping multiple attributes at once

2010-08-24 Thread Thiago Veloso
/fig6vdist.png   Best wishes,   Thiago. --- On Tue, 24/8/10, Mayeul KAUFFMANN wrote: From: Mayeul KAUFFMANN Subject: RE: [R-sig-Geo] Mapping multiple attributes at once To: "'Robert J. Hijmans'" , "'Thiago Veloso'" Cc: r-sig-geo@stat.math.ethz.ch Date: Tuesday,

Re: [R-sig-Geo] Mapping multiple attributes at once

2010-08-24 Thread Thiago Veloso
almost a entire morning.   I was wondering if it is possible to reproduce that using R + GIS packages.   Best regards,   Thiago. --- On Mon, 23/8/10, Robert J. Hijmans wrote: From: Robert J. Hijmans Subject: Re: [R-sig-Geo] Mapping multiple attributes at once To: "Thiago Veloso" Cc:

[R-sig-Geo] Mapping multiple attributes at once

2010-08-23 Thread Thiago Veloso
  Dear SIG colleagues,   In my present study I need to plot a map containing two different attributes of some localities.I figured out that a convenient and didactic way would be via something like bubble plots. For example, the size of the circle would be proportional to a certain range of

Re: [R-sig-Geo] rgdal package installation error

2010-07-08 Thread Thiago Veloso
  Dear Siva,   Installing GDAL libraries should do the trick. Search in Synaptic or download from this URL: http://packages.ubuntu.com/ro/hardy/libgdal1-1.4.0   Best regards,   Thiago. --- On Thu, 8/7/10, Siva Sundaresan wrote: From: Siva Sundaresan Subject: [R-sig-Geo] rgdal package

Re: [R-sig-Geo] Spatial data interpolation on R

2010-07-05 Thread Thiago Veloso
A[126] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA > NACould you figure out what I'm doing wrong??   Best regards,   Thiago Veloso. --- On Tue, 29/6/10, Robert J. Hijmans wrote: From: Robert J. Hijmans Subject: Re: [R-sig-Geo] Spatial data interpolation on R To: "Thiago Veloso

Re: [R-sig-Geo] How to extract coordinates values from a shapefile?

2010-06-13 Thread Thiago Veloso
  This function worked like a charm, but I can't individually invoke the columns which contain the coordinates of variable "q". > names(q)NULL   For example, I need to plot the coordinates using polygon function, whose help tells us that "‘polygon’ draws the polygons whose vertices are gi

Re: [R-sig-Geo] How to extract coordinates values from a shapefile?

2010-06-09 Thread Thiago Veloso
  Prof. Kaza,   Thank you very much. It worked like a charm!   Best wishes,   Thiago. --- On Wed, 9/6/10, Nikhil Kaza wrote: From: Nikhil Kaza Subject: Re: [R-sig-Geo] How to extract coordinates values from a shapefile? To: "Thiago Veloso" Cc: r-sig-geo@stat.math.ethz.ch Date: We

Re: [R-sig-Geo] How to extract coordinates values from a shapefile?

2010-06-09 Thread Thiago Veloso
khil Kaza wrote: From: Nikhil Kaza Subject: Re: [R-sig-Geo] How to extract coordinates values from a shapefile? To: "Thiago Veloso" Cc: r-sig-geo@stat.math.ethz.ch Date: Wednesday, 9 June, 2010, 16:00 Look at this. Not sure if this is indeed what you want or if you actually have to un

Re: [R-sig-Geo] How to extract coordinates values from a shapefile?

2010-06-09 Thread Thiago Veloso
Henrique Dallazuanna Subject: Re: [R-sig-Geo] How to extract coordinates values from a shapefile? To: "Thiago Veloso" Cc: r-sig-geo@stat.math.ethz.ch Date: Wednesday, 9 June, 2010, 15:53 Try: coordinates(br) On Wed, Jun 9, 2010 at 3:45 PM, Thiago Veloso wrote:   Dear R colleag

[R-sig-Geo] How to extract coordinates values from a shapefile?

2010-06-09 Thread Thiago Veloso
ary(maptools)br<-readShapePoly("BR-map/3.shp")   What I need to do is create a vector which contains all lat and lon values inside this shapefile...   Thanks in advance,   Thiago Veloso. [[alternative HTML version deleted]] ___

[R-sig-Geo] Spatial data interpolation on R

2010-06-02 Thread Thiago Veloso
Dear R colleagues!  I´d like to start my participation in this list by describing my current problem: inside my area of study I need to compare precipitation data from two different sources: both station (total of 86) and a grid (at 8km) of satellite estimates.   My specific objective is to inte