Coordinate reference system

Trying to convert data with class 'SpatialPointsDataFrame' to lat-long, but getting below error.

'shape2=spTransform(shape1,CRS("+init=epsg:4326"))
Error in if (is.projected(obj)) { : missing value where TRUE/FALSE needed
In addition: Warning message:
In spTransform(xSP, CRSobj, ...) :
  NULL source CRS comment, falling back to PROJ string'

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.