Page 1 of 1

spTransform function not working

Posted: Mon Jul 26, 2021 10:20 am America/New_York
by kbhandari1
I'm trying to complete the Geospatial data in R tutorial webinar that was posted to Youtube on 18 Mar 2019 and I'm at the step where you create the data transStates. When I copy the code from the Markdown that reads:
transStates <- spTransform(threeStates, CRS(fire@crs@projargs))

I return the following error message:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘spTransform’ for signature ‘"sf", "CRS"’

Can anyone identify what is causing this problem?

Re: spTransform function not working

Posted: Tue Jul 27, 2021 2:04 pm America/New_York
by CDDIS_support_Lori
The Oak Ridge National Laboratory was involved with producing that webinar and they may be able to put you in contact with the people in the webinar. You can contact them at support-ornl@earthdata.nasa.gov