Hi, My name is Angelo. I'm from Bogota, Colombia,I'm trying to generate this static map with markers,with RgoogleMaps Package: lat = c(4.667122,4.656577,4.666017) lon = c(-74.05354,-74.05762,-74.05635) center = c(mean(lat), mean(lon)) zoom <- min(MaxZoom(range(lat), range(lon))) MyMap <- GetMap(center=center, zoom=zoom,markers = "color:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635", destfile = "MyTile2.png") but the software shows me the next error: [1] "color:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635" [1] "http://maps.google.com/maps/api/staticmap?center=4.66323866666667,-74.0558366666667&zoom=16&size=640x640&maptype=terrain&format=png32&sensor=truecolor:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635" Error en download.file(url, destfile, mode = "wb", quiet = TRUE) : no fue posible abrir la URL 'http://maps.google.com/maps/api/staticmap?center=4.66323866666667,-74.0558366666667&zoom=16&size=640x640&maptype=terrain&format=png32&sensor=truecolor:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635' Adem?s: Mensajes de aviso perdidos In download.file(url, destfile, mode = "wb", quiet = TRUE) : no fue posible abrir: el status HTTP fue '403 Forbidden' Could somebody help me?.Thanks a lot. Angelo Moreno Central University,Bogot?, Colombia- South America -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Static-map-with-markers-RgoogleMaps-tp6616705p6616705.html Sent from the R-sig-geo mailing list archive at Nabble.com.
Static map with markers -RgoogleMaps
3 messages · Angelo Moreno, Pierre Roudier, John Callahan
Hi Angelo, It seems to be impossible for the function to get the data from internet. Can you access the web from your machine? Are you behind a proxy? Pierre 2011/7/25 Angelo Moreno <amorenos1 at ucentral.edu.co>:
Hi, My name is Angelo. I'm from Bogota, Colombia,I'm trying to generate this static map with markers,with ?RgoogleMaps Package: lat = c(4.667122,4.656577,4.666017) lon = c(-74.05354,-74.05762,-74.05635) center = c(mean(lat), mean(lon)) zoom <- min(MaxZoom(range(lat), range(lon))) MyMap <- GetMap(center=center, zoom=zoom,markers = "color:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635", destfile = "MyTile2.png") ?but the software shows me the next error: [1] "color:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635" [1] "http://maps.google.com/maps/api/staticmap?center=4.66323866666667,-74.0558366666667&zoom=16&size=640x640&maptype=terrain&format=png32&sensor=truecolor:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635" Error en download.file(url, destfile, mode = "wb", quiet = TRUE) : ?no fue posible abrir la URL 'http://maps.google.com/maps/api/staticmap?center=4.66323866666667,-74.0558366666667&zoom=16&size=640x640&maptype=terrain&format=png32&sensor=truecolor:blue|label:S|4.667122,-74.05354,markers=color:green|label:G|4.656577,-74.05762,markers=color:red|color:red|label:C|4.666017,-74.05635' Adem?s: Mensajes de aviso perdidos In download.file(url, destfile, mode = "wb", quiet = TRUE) : ?no fue posible abrir: el status HTTP fue '403 Forbidden' Could somebody help me?.Thanks a lot. Angelo Moreno Central University,Bogot?, Colombia- South America -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Static-map-with-markers-RgoogleMaps-tp6616705p6616705.html Sent from the R-sig-geo mailing list archive at Nabble.com.
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Scientist Landcare Research, New Zealand
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110724/4a66b06f/attachment.pl>