I have have received data in the following long-lat format (3 examples):
x<-c(21.568216, 21.550362, 21.549982)
y<-c(100.4606,100.4362,100.4797)
I need to transform this data into UTM Zone 47 by using R. I am trying this by using the following post: the post at the very bottom. But I get always the error:
Error in `proj4string<-`(`*tmp*`, value = <S4 object of class "CRS">) :
Geographical CRS given to non-conformant data: 100.522355
I have tried other approaches like here or here but the problem persists. I have come to the conclusion that the formatting of my data is not in the right format. What is wrong with my data and how can I make it right?