Can't properly map Lat/Long data on a googlemap

المشرف العام

Administrator
طاقم الإدارة
At the very beginning I should mention that I am a novice in spatial data handling. I am in it because I am recently doing a project where certain mining information needed to be embedded on a global map. So my question may be naive. Please bear with me.

Here is what I want to do. I have information about mines (from USGS site) which I want to embed on a global map. To do this, I am using R's RgoogleMap package along with googleVis package. I am using the function gvisGeoMap() from RgoogleMap.

The first few lines of my data:

Deposite.or.District.Name Country Latitude Longitude4 Adiounedj Mali 20.1833333 0.0666666666675 Agate Mountain Namibia -18.45 -12.08333333336 Aley Canada -56.45 23.7333333333For gvisGeoMap(), I needed to add two extra columns: locationVar, and numVar.locationvar of latitude and longitude data needs to be inserted in a special format. locationvar="Latitude:Longitude" and numvar is currently only 1s

But I am not getting the exact rendering when I run the following command in R:

g1
 
أعلى