Re: [R-sig-Geo] readGDAL() and HDF5 files

2009-01-26 Thread Roger Bivand
On Sun, 25 Jan 2009, Sebastian P. Luque wrote: On Sun, 25 Jan 2009 21:35:12 +0100 (CET), Roger Bivand roger.biv...@nhh.no wrote: On Sun, 25 Jan 2009, Roger Bivand wrote: On Sat, 24 Jan 2009, Sebastian P. Luque wrote: Hi, If you have the cell centre offset for the lower left cell, then:

Re: [R-sig-Geo] e00 to SpatialPolygons: how to set the correct projection

2009-01-26 Thread Paul Hiemstra
Hi! Please checkout the spTransform() command which allows you to reproject your sp objects (it is located in the rgdal package). Small example: library(gstat) data(meuse) coordinates(meuse) = ~x+y # Set the current projection proj4string(meuse) = CRS(+init=epsg:28992) #set new projection

Re: [R-sig-Geo] e00 to SpatialPolygons: how to set the correct projection

2009-01-26 Thread Roger Bivand
On Mon, 26 Jan 2009, Hans-Jörg Bibiko wrote: Hi, I was able to convert an e00 file to a SpatialPolygons object (thanks a lot to everybody who was involved to set up this functionality!) by using 'e00toavc' and 'pal2SpatialPolygons'. But now I'm a bit lost in conversion. How to set the

Re: [R-sig-Geo] e00 to SpatialPolygons: how to set the correct projection

2009-01-26 Thread Hans-Jörg Bibiko
On 26.01.2009, at 12:06, Paul Hiemstra wrote: Please checkout the spTransform() command which allows you to reproject your sp objects (it is located in the rgdal package). On 26.01.2009, at 12:06, Roger Bivand wrote: No. Your data are in a Lambert projection, probably lcc, but possibly

Re: [R-sig-Geo] contour lines on a plot

2009-01-26 Thread Maxime Pauwels
Dear Virgilio, It doesn't help, it does! Many thanks! Do you know if there is a way to label contour using contourLines(), or, alternatively, to specify the type of line? Unfortunately, drawlabels=TRUE or lty=n don't work. best regards, Maxime Virgilio Gomez Rubio a écrit : Dear Maxime,

Re: [R-sig-Geo] readGDAL() and HDF5 files

2009-01-26 Thread Sebastian P. Luque
On Mon, 26 Jan 2009 10:33:54 +0100 (CET), Roger Bivand roger.biv...@nhh.no wrote: On Sun, 25 Jan 2009, Sebastian P. Luque wrote: On Sun, 25 Jan 2009 21:35:12 +0100 (CET), Roger Bivand roger.biv...@nhh.no wrote: On Sun, 25 Jan 2009, Roger Bivand wrote: On Sat, 24 Jan 2009, Sebastian P. Luque

[R-sig-Geo] A small repository of publicly available Global maps

2009-01-26 Thread Tomislav Hengl
Hi all, I have just finished preparing a small repository of publicly available Global maps on environment. For more info see: http://spatial-analyst.net/wiki/index.php?title=Global_datasets The maps can be downloaded directly from: http://spatial-analyst.net/worldmaps/ I would be

Re: [R-sig-Geo] Need help in using spdep package for running spatial models

2009-01-26 Thread Roger Bivand
On Wed, 21 Jan 2009, Giam Xingli wrote: Hi everyone, I am new to spatial modeling using R, and I will be grateful for any tip. I have an ArcGIS shapefile database of ~800 regions (consisting of ~5000 polygons) in geographic projection (lat-long). I have a response variable, Y, and 4

[R-sig-Geo] Looking for best practice to share Rdata containing country/prov/county polygons

2009-01-26 Thread Hans-Jörg Bibiko
Hi, due to the fact that I'm just converting some free available data-sets to SpatialPolygonsList objects containing country/province/county polygons (each polygon can be identified by an unique name) I wonder if there is a recommendation/example how to store such data in a single R