[R-sig-Geo] points, raster

2010-10-08 Thread Arnald Marcer
Hi, Can anybody help me a little on how to transfer values from a data frame (coord.x, coord.y, value) to a raster file. I have a raster initialized to 0 values and I want to substitute zeros for the specific values at coord.x and coord.y Thank you very much, Arnald Marcer CREAF

Re: [R-sig-Geo] how to mask a raster with a coarser resolution selected grid squares ?

2010-09-17 Thread Arnald Marcer
;- crop(r10kto1k, extent.r1k) r1k.masked <- mask(r1k, r10kto1k) } Arnald Marcer CREAF On 09/17/2010 09:47 AM, Arnald Marcer wrote: Dear listers, Can anybody help me with this ? How can I mask a 1km UTM grid raster with a list of coordinates which represent the center of 10km UTM grid squa

[R-sig-Geo] how to mask a raster with a coarser resolution selected grid squares ?

2010-09-17 Thread Arnald Marcer
SpatialPolygonsDataFrame representing 10km UTM grid squares from a list of coordinates which represent their grid center. I will appreciate if you can give me some hints on how to do this. Arnald Marcer CREAF ___ R-sig-Geo mailing list R-sig-Geo

Re: [R-sig-Geo] how to filter a shapefile ?

2010-09-16 Thread Arnald Marcer
Thank you very much Roger. Still another question: Can you plot a polygon shapefile with borders but transparent interiors ? Arnald Marcer CREAF On 09/16/2010 02:10 PM, Roger Bivand wrote: On Thu, 16 Sep 2010, Mayeul KAUFFMANN wrote: You can read your shapefile with: library(rgdal

Re: [R-sig-Geo] how to filter a shapefile ?

2010-09-16 Thread Arnald Marcer
Kauffmann-Mayeul.aspx (Office: building 48c, 1st floor, room 123. TP: 483) -Original Message- From: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo-boun...@stat.math.ethz.ch] On Behalf Of Arnald Marcer Sent: Thursday, September 16, 2010 12:58 PM To: r-sig-geo Subject: [R-sig

[R-sig-Geo] how to filter a shapefile ?

2010-09-16 Thread Arnald Marcer
you very much, Arnald Marcer CREAF ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo