HI Chris
I have been working with my data by directly importing it, but the orientation of the data is off by approx 90 degrees. My data is in the southern hemisphere so I think I might need to project it. So far I have failed dismally.
I import a movebank compatible csv file which I turn into a data frame and change the time format to POSIXct. I then convert the dataframe to an as.telemetry object. I can then run all the analysis as normal - but the orientation is out which is annoying. I tried to set the projection as part of the as.telemetry stage but have not been able to get the syntax right.
As an alternative I tried converting the original dataframe to a move object that had been projected and then tried converting this to an as.telemetry object but it returns the error:
Error in validObject(.Object) :
invalid class “SpatialPointsDataFrame” object: invalid object for slot "data" in class "SpatialPointsDataFrame": got class "factor", should be or extend class "data.frame"
and fails to import.
Can you please provide the syntax to apply the following projection (so that I can add it to the as.telemetry step e.g. data <-as.telemetry(data, projection= XXXX) :
"+proj=longlat +ellps=WGS84"
or if possible even the full CRS which would include CRS('+init=epsg:32750')) for Western Australia.
Thank yo very much for your help
Jill