How do I convert WGS84 to Lat, Long to Google Maps in R?

المشرف العام

Administrator
طاقم الإدارة
I have this coordinate which I believe it's in WGS84 format

x=1005740.867110, y=243957.356623I want to plot that in Google Maps which I need to convert that to Lon, Lat.

I've found this script but it looks like it's not working correctly.

> library(proj4)> proj4string > # Source data> xy > # Transformed data> pj latlon print(latlon)And I get this

lat lon1 -107.8364 -14.35746I use that lat, long and try them n http://www.darrinward.com/lat-long/ which I don't think it points to the correct point.



أكثر...
 
أعلى