<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'>Funciona sim! Dê uma olhada nos exemplos em ?qmap <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: Tue, 13 Aug 2013 06:04:56 -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;">Blz,<br>Deu certo com seus comandos. Mas com OSM vai funcionar????<br><br>Abs.<br><br><div><span></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> Terça-feira, 13 de Agosto de 2013 8:19<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="ecxyiv7904958257">

<style><!--
.ExternalClass #ecxyiv7904958257 .ecxyiv7904958257hmmessage P {
padding:0px;
}

.ExternalClass #ecxyiv7904958257 body.ecxyiv7904958257hmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div><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="ecxyiv7904958257stopSpelling">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="ecxyiv7904958257ecxr ecxyiv7904958257ecxgeshifilter-R" style="font-family:monospace;">map = openproj<span style="color:#009900;">(</span>openmap<span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/c"><span style="color:#003399;font-weight:bold;">c</span></a><span style="color:#009900;">(</span>lat= <a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/max"><span style="color:#003399;font-weight:bold;">max</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.numeric"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.character"><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 rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/min"><span style="color:#003399;font-weight:bold;">min</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.numeric"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.character"><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 rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/c"><span style="color:#003399;font-weight:bold;">c</span></a><span style="color:#009900;">(</span>lat= <a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/min"><span style="color:#003399;font-weight:bold;">min</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.numeric"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.character"><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 rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/max"><span style="color:#003399;font-weight:bold;">max</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.numeric"><span style="color:#003399;font-weight:bold;">as.numeric</span></a><span style="color:#009900;">(</span><a rel="nofollow" target="_blank" href="http://inside-r.org/r-doc/base/as.character"><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="ecxyiv7904958257ecxy_msg_container"><br><div id="ecxyiv7904958257ecxyiv4876632815">

<style><!--
.ExternalClass #ecxyiv7904958257 .ecxyiv7904958257ExternalClass #ecxyiv7904958257ecxyiv4876632815 .ecxyiv7904958257ecxyiv4876632815hmmessage P {
padding:0px;
}

.ExternalClass #ecxyiv7904958257 .ecxyiv7904958257ExternalClass #ecxyiv7904958257ecxyiv4876632815 body.ecxyiv7904958257ecxyiv4876632815hmmessage {
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="ecxyiv7904958257ecxyiv4876632815stopSpelling">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 rel="nofollow" target="_blank" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br><a rel="nofollow" target="_blank" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>Leia o guia de postagem (<a rel="nofollow" target="_blank" href="http://www.leg.ufpr.br/r-br-guia">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></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>