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 lae

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 me

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 corre

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

2009-01-26 Thread Hans-Jörg Bibiko
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 correct projection which is needed for 'pal2Spat