Re: [R-sig-Geo] German Grid

2009-02-24 Thread Paul Hiemstra
Hi Jan, Even simpler, once you have a SpatialPolygons object you can use spsample() to make a grid in that polygon. For reading polygons look at the rgdal package or readShapePoly() in the maptools package. See http://spatial.nhh.no/R/etc/world_map_intro.html for a shapefile for the whole wor

Re: [R-sig-Geo] German Grid

2009-02-24 Thread Virgilio Gomez Rubio
Jan, If you have the boundaries of Germany and you want to make your own grid, you can use the overlay method to 'cut' the grid so that you only get the points inside Germany. You can use this object in gstat to make your predictions. Hope this helps, Virgilio El mar, 24-02-2009 a las 18:21 +0

[R-sig-Geo] German Grid

2009-02-24 Thread Jan Hackenberg
Hello im doing a project with Interpolating ( Kriging ) Temperature Data from many Stations in Germany. To do a Kriging i have to use a Grid. So I have now 2 options. The better one is too download a prepared grid with the borders of Germany. Then the interpolated map will look great, because i hav