Jestem nowy dla R i śledzę to article, aby nauczyć się ggmap.ggmap: podaje błąd podczas korzystania z otwartej mapy ulic jako źródła
qmap("Forbidden city",zoom=15)
qmap("Forbidden city",zoom=15, source="osm")
Podczas gdy pierwsza komenda powyżej działa idealnie, drugi daje mi informacje o błędzie:
Map from URL : http://maps.googleapis.com/maps/api/staticmap?center=Forbidden+city& zoom=15&size=%20640x640&maptype=terrain&sensor=false Google Maps API Terms of Service : http://developers.google.com/maps/terms Information from URL : http://maps.googleapis.com/maps/api/geocode/json?address=Forbidden+city&sensor=false Google Maps API Terms of Service : http://developers.google.com/maps/terms Error: map grabbing failed - see details in ?get_openstreetmap. In addition: Warning message: In download.file(url, destfile = destfile, quiet = !messaging, mode = "wb") : cannot open: HTTP status was '503 Service Unavailable'
Każda pomoc jest mile widziana.
dla mnie. Może API nie działa ... – EDi