<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Olá Gilberto,<br><br>Estou trabalhando com um pacote, o ggmap (junto com o ggplot2). Ele é bem simples de usar:<br><br>library(ggplot2)<br>library(ggmap)<br><br>qmap("Juiz de Fora, MG", source="google", maptype = 'roadmap', zoom=15)<br><br>Mas atente para os limites: geocodificar até 25.000 strings por dia, e não abusar da geração de mapas em loop (aconteceu comigo ontem :-)<br><br>---<div><br></div><div>Atenciosamente,</div><div>Raphael Saldanha</div><div><br></div><div>rfsaldanha@outlook.com</div><br><br><div><hr id="stopSpelling">Date: Mon, 12 Aug 2013 19:40:24 -0700<br>From: gilbert_queiroz@yahoo.com.br<br>To: r-br@listas.c3sl.ufpr.br<br>Subject: Re: [R-br] Vista do OpenStreetMap<br><br><div style="color:#000;background-color:#fff;font-family:garamond, new york, times, serif;font-size:14pt;">Tentei isto aqui, que tirei de um artigo do R-bloggers<br><br><pre class="ecxr ecxgeshifilter-R" style="font-family:monospace;">map = openproj<span style="color:#009900;">(</span>openmap<span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/c" target="_blank"><span style="color:#003399;font-weight:bold;">c</span></a><span style="color:#009900;">(</span>lat= <a href="http://inside-r.org/r-doc/base/max" target="_blank"><span style="color:#003399;font-weight:bold;">max</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.numeric" target="_blank"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.character" target="_blank"><span style="color:#003399;font-weight:bold;">as.character</span></a><span style="color:#009900;">(</span>zip$INTPTLAT10<span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#339933;">,</span> lon= <a href="http://inside-r.org/r-doc/base/min" target="_blank"><span style="color:#003399;font-weight:bold;">min</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.numeric" target="_blank"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.character" target="_blank"><span style="color:#003399;font-weight:bold;">as.character</span></a><span style="color:#009900;">(</span>zip$INTPTLON10<span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#339933;">,</span>
<a href="http://inside-r.org/r-doc/base/c" target="_blank"><span style="color:#003399;font-weight:bold;">c</span></a><span style="color:#009900;">(</span>lat= <a href="http://inside-r.org/r-doc/base/min" target="_blank"><span style="color:#003399;font-weight:bold;">min</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.numeric" target="_blank"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.character" target="_blank"><span style="color:#003399;font-weight:bold;">as.character</span></a><span style="color:#009900;">(</span>zip$INTPTLAT10<span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#339933;">,</span> lon= <a href="http://inside-r.org/r-doc/base/max" target="_blank"><span style="color:#003399;font-weight:bold;">max</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.numeric" target="_blank"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a href="http://inside-r.org/r-doc/base/as.character" target="_blank"><span style="color:#003399;font-weight:bold;">as.character</span></a><span style="color:#009900;">(</span>zip$INTPTLON10<span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span><span style="color:#339933;">,</span>type=<span style="color:#0000ff;">"stamen-toner"</span><span style="color:#009900;">)</span><span style="color:#009900;">)</span></pre><br><div><span>Não funcionou.</span></div><div style="color:rgb(0, 0, 0);font-size:18.6667px;font-family:garamond,new york,times,serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:18.6667px;font-family:garamond,new york,times,serif;background-color:transparent;font-style:normal;"><span><br></span></div><div><br></div> <div style="font-family:garamond, new york, times, serif;font-size:14pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">De:</span></b> Raphael Saldanha <rfsaldanha@outlook.com><br> <b><span style="font-weight:bold;">Para:</span></b> "r-br@listas.c3sl.ufpr.br" <r-br@listas.c3sl.ufpr.br> <br> <b><span style="font-weight:bold;">Enviadas:</span></b> Segunda-feira, 12 de Agosto de 2013 17:45<br> <b><span style="font-weight:bold;">Assunto:</span></b> Re: [R-br] Vista do OpenStreetMap<br> </font> </div> <div class="ecxy_msg_container"><br><div id="ecxyiv4876632815">
<style><!--
.ExternalClass #ecxyiv4876632815 .ecxyiv4876632815hmmessage P {
padding:0px;
}
.ExternalClass #ecxyiv4876632815 body.ecxyiv4876632815hmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div><div dir="ltr">Qual código você está usando?<br><br>---<div><br></div><div>Atenciosamente,</div><div>Raphael Saldanha</div><div><br></div><div>rfsaldanha@outlook.com</div><br><br><div><hr id="ecxyiv4876632815stopSpelling">Date: Mon, 12 Aug 2013 13:40:46 -0700<br>From: gilbert_queiroz@yahoo.com.br<br>To: r-br@listas.c3sl.ufpr.br<br>Subject: [R-br] Vista do OpenStreetMap<br><br><div style="color:#000;background-color:#fff;font-family:garamond, new york, times, serif;font-size:14pt;"><div>Olá pessoal!!!</div><div>Estou tentando abrir uma vista do OpenStreetMap no R mas estou tendo problemas. Baixei o pacote, mas existe um erro de conexão, mas não é da internet. O que pode ser???? Abs.</div><div></div></div><br>_______________________________________________
R-br mailing list
R-br@listas.c3sl.ufpr.br
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forne�a c�digo m�nimo reproduz�vel.</div> </div></div>
</div><br>_______________________________________________<br>R-br mailing list<br><a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br><a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br><br></div> </div> </div> </div><br>_______________________________________________
R-br mailing list
R-br@listas.c3sl.ufpr.br
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forne�a c�digo m�nimo reproduz�vel.</div> </div></body>
</html>