Skip to content
Prev 8377 / 29559 Next

projection() and proj4string()

So, if I correctly understand, projection() can be used to retrieve
information
from an sp object but not to assign that info to a sp object:
[1] "+proj=utm +zone=31 +ellps=intl +units=m +no_defs"
Error in checkSlotAssignment(object, name, value) : 
  "crs" is not a slot in class "SpatialPoints"
Calls: projection<- -> @<- -> slot<- -> checkSlotAssignment
Roger Bivand wrote:
Thanks!

Agus