Re: [R-sig-Geo] spTransform / SpatialPixelsDataFrame

2016-04-21 Thread Roger Bivand
On Thu, 21 Apr 2016, t...@gmx.ch wrote: Hello I would like to reproject a SpatialPixelsDataFrame, changing the CRS. I am trying to use the command "spTransform" from the package "sp". Unfortunately, the command results in a SpatialPointsDataFrame, which is not desired. My

[R-sig-Geo] spTransform / SpatialPixelsDataFrame

2016-04-21 Thread twah
Hello I would like to reproject a SpatialPixelsDataFrame, changing the CRS. I am trying to use the command "spTransform" from the package "sp". Unfortunately, the command results in a SpatialPointsDataFrame, which is not desired. My SpatialPixelsDataFrame has proj4string +init=epsg:21781