<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:12pt"><div><span><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; ">Caros amigos, estou gerando o mapa de Manaus por zona, minha máquina é um Mac i7, 4gb ram. Estou com o problema da acentuação, a linha: </div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "> mao_bz<span style="color: rgb(13, 32, 153); ">$</span>NOME <span style="color: rgb(13, 32, 153); "><-</span> <span style="color: rgb(13, 32, 153); ">toUTF8(</span>mao_bz<span style="color: rgb(13, 32, 153); ">$</span>NOME<span
style="color: rgb(13, 32, 153); ">,</span> <span style="color: rgb(175, 19, 11); ">"IBM850"</span><span style="color: rgb(13, 32, 153); ">) me dá a saida abixo:</span><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><span style="color: rgb(13, 32, 153); "><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; ">> mao_bz$NOME</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [1] PONTA NEGRA</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [2] LâÂ\u0088Â\u009aĂ\u0083ŽâÂ\u0088Â\u009aâÂ\u0089¤âÂ\u0088Â\u009aĂ\u0083¢RIO DO VALE </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [3] COL TERRA NOVA </font></div><div style="margin-top:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [4] TARUMâÂ\u0088Â\u009aĂ\u0083ŽâÂ\u0088Â\u009aâÂ\u0088Â\u0082Ă\u0082ÂŹĂ\u0082ÂŁ </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [5] SANTA ETELVINA
</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [6] MONTE DAS OLIVEIRAS </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font
class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [7] FLORES </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [8] CIDADE NOVA
</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif"> [9] NOVO ISRAEL </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal
normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif">[10] COL STO ANTâÂ\u0080Â\u009aĂ\u0083ÂŽĂ\u0083ºâÂ\u0088Â\u009aâÂ\u0084¢NIO </font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif">[11] REDENâÂ\u0080Â\u009aĂ\u0083ÂŽĂ\u0083ºâÂ\u0088Â\u009aĂ\u0082¢âÂ\u0088Â\u009aĂ\u0083ŽâÂ\u0088Â\u009aâÂ\u0088Â\u0082Ă\u0082ÂŹĂ\u0082ÂŁO </font></div></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal
normal 15px/normal Helvetica; "><span style="color: rgb(13, 32, 153); "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif">.</font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><span style="color: rgb(13, 32, 153); "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif">.</font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><span style="color: rgb(13, 32, 153); "><font class="Apple-style-span" size="1" face="'lucida console', sans-serif">.</font></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><span style="color: rgb(13, 32, 153); "><font
class="Apple-style-span" size="1" face="'lucida console', sans-serif"><br></font></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "><span style="color: rgb(13, 32, 153); ">O script que estou usando é o abaixo:</span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; color: rgb(175, 19, 11); "><span style="color: #000000">mao_bz</span><span style="color: #0d2099"><-readShapePoly(</span>"/Users/edsonlira/Edinho/Edinho/Bases_MAO/Setores_MAO/Bairros_e_Zonas.shp"<span style="color: #0d2099">)</span></div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; color: rgb(13, 32, 153); "><span style="color: #000000"> </span>summary(<span style="color: #000000">mao_bz</span>)</div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "> <span style="color: #0d2099">plot(</span>mao_bz<span style="color: #0d2099">)</span></div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; color: rgb(13, 32, 153); "><span style="color: #000000"> </span>library(<span style="color: #000000">descr</span>)</div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "> mao_bz<span style="color: #0d2099">$</span>NOME <span style="color: #0d2099"><-</span> <span style="color: #0d2099">toUTF8(</span>mao_bz<span style="color: #0d2099">$</span>NOME<span style="color: #0d2099">,</span> <span style="color: #af130b">"IBM850"</span><span style="color: #0d2099">)</span></div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "> </div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; ">mao_bz<span style="color: #0d2099">$</span>NOME</div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; color: rgb(79, 79, 79); "><span style="color: #000000"> </span># palette(c("#ccddff", "#ffddcc", "#ccffcc", "#ffffcc", "#ccffff")) </div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; color: rgb(13, 32, 153); "><span style="color: #000000"> </span>palette(rainbow(<span style="color: #065118">6</span>))<span style="color: #000000"> </span></div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; "> <span style="color: #0d2099">plot(</span>mao_bz<span style="color: #0d2099">,</span> col <span style="color: #0d2099">=</span> mao_bz<span style="color: #0d2099">$</span>ZONA<span style="color: #0d2099">)</span> </div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; color: rgb(175, 19, 11); "><span style="color: #000000"> </span><span style="color: #0d2099">title(</span>"Mapa de Manaus por bairros e zonas geográficas"<span style="color: #0d2099">)</span></div>
<div style="font-family: 'lucida console', sans-serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4px; text-indent: -4px; font: normal normal normal 15px/normal Helvetica; min-height: 18px; "> </div></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; ">Os links abaixo tem as base de dados usadas.</div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span>http://www.datafilehost.com/download-00405c50.html #bairros e zonas.shp<br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family:
'lucida console', sans-serif; font-size: 12pt; "><span>http://www.datafilehost.com/download-c36f359a.html #bairros e zonas.dbf<br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span>http://www.datafilehost.com/delete-a54c1f16-16120426.html #bairros e zonas shx <br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span>Outra dúvida:</span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><span>Como faço para criar uma legenda com os nomes das zonas e/ou com o nome dos bairros?</span></div><div style="font-family: 'lucida console', sans-serif; font-size:
12pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "><br></div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; ">[ ]'s.</div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; "> </div><div style="font-family: 'lucida console', sans-serif; font-size: 12pt; ">Edson Lira<br>Estatístico<br>Manaus-Amazonas</div></div></body></html>