{"id":321,"date":"2008-05-30T17:07:54","date_gmt":"2008-05-30T20:07:54","guid":{"rendered":"http:\/\/meiradarocha.jor.br\/news\/?p=321"},"modified":"2010-07-17T18:57:06","modified_gmt":"2010-07-17T21:57:06","slug":"mapas-offline-no-nokia-5200","status":"publish","type":"post","link":"https:\/\/meiradarocha.jor.br\/news\/2008\/05\/30\/mapas-offline-no-nokia-5200\/","title":{"rendered":"Mapas offline no Nokia 5200"},"content":{"rendered":"<p>Que tal um guia de sua cidade no celular, offline, sem gastar nas abusivas conex\u00f5es internet das telef\u00f4nicas? O tutorial explica todos os passos. S\u00e3o, na realidade, tr\u00eas baitas <em>hackings<\/em>.<\/p>\n<p>O primero <em>hacking <\/em>\u00e9 o programa Java para celulares <strong><a href=\"http:\/\/www.mgmaps.com\/index.php\">Mobile Gmaps<\/a><\/strong>, que mostra o Google Maps, Yahoo, e Windows Live Local atrav\u00e9s de acesso Wap ou cache.  O acesso internet Wap \u00e9 pr\u00e1tico, mas o problema \u00e9 pagar as exorbitantes taxas de acesso \u00e0 internet cobradas no Brasil. Ent\u00e3o, voc\u00ea pode baixar as imagens do Gmaps e deixar em cache no seu celular. Para isso, se usa mais dois <em>google maps hacks<\/em> que explico a seguir.<\/p>\n<p><!--more--><a href=\"http:\/\/meiradarocha.jor.br\/news\/wp-content\/uploads\/2008\/05\/mapcreationtool.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft alignnone size-medium wp-image-323\" style=\"float: left;\" title=\"mapcreationtool\" src=\"http:\/\/meiradarocha.jor.br\/news\/wp-content\/uploads\/2008\/05\/mapcreationtool-300x142.jpg\" alt=\"Cria\u00e7\u00e3o de coordenadas para gerar map caching\" width=\"176\" height=\"83\" srcset=\"https:\/\/meiradarocha.jor.br\/news\/wp-content\/uploads\/2008\/05\/mapcreationtool-300x142.jpg 300w, https:\/\/meiradarocha.jor.br\/news\/wp-content\/uploads\/2008\/05\/mapcreationtool-150x71.jpg 150w, https:\/\/meiradarocha.jor.br\/news\/wp-content\/uploads\/2008\/05\/mapcreationtool.jpg 948w\" sizes=\"auto, (max-width: 176px) 100vw, 176px\" \/><\/a>O segundo <em>haking<\/em> \u00e9 a p\u00e1gina web <strong><a href=\"http:\/\/www.mgmaps.com\/cache\/\">Mapcacher<\/a><\/strong>, uma <em>map creation tool<\/em> para o <strong>Mobile GMaps<\/strong>. Com ela, voc\u00ea gera as coordenadas e o tipo dos mapas que quer guardar em cache.<\/p>\n<ol>\n<li>Com clics, <strong>marque a \u00e1rea do map<\/strong>a que quer baixar. Voc\u00ea pode gerar quantos pontos quiser para delimitar a \u00e1rea a ser baixada. Por exemplo, pode marcar a \u00e1rea de uma estrada, de uma cidade \u00e0 outra.<\/li>\n<li><strong>Escolha os n\u00edveis de zoom da \u00e1rea<\/strong>. Eu recomendo entre 2 (o mapa <em>mundi<\/em>) e 16 (o segundo n\u00edvel de zoom do gmaps) que permite ler o nome das ruas e a m\u00e3o de tr\u00e2nsito. O n\u00edvel m\u00e1ximo, 17, gera muitos arquivos, deixa o download lento e aumenta o tamanho do cache desnecessariamente. Para estradas, use zoom 12 ou 13.<\/li>\n<li><strong>Escolha o tipo de imagem<\/strong> que vai baixar: se o mapa simb\u00f3lico (s\u00f3 tra\u00e7os), as fotos de sat\u00e9lite ou o terreno. Recomendo o mapa de tra\u00e7os, para os arquivos PNG ficarem bem comprimidos. E \u00e9 uma visualiza\u00e7\u00e3o melhor para quem quer s\u00f3 se orientar. Mas voc\u00ea pode usar v\u00e1rios formatos ao mesmo tempo no Mobile Gmaps.<\/li>\n<li>Em Level of detail (n\u00edvel de detalhamento), escolha <strong>Medium speed, medium detail<\/strong>.<\/li>\n<li>Clique em <strong>Generate!<\/strong> para gerar o arquivo com as coordenadas e gravar em seu computador.<\/li>\n<\/ol>\n<p>Agora, use o terceiro hacking:  o programa <a href=\"http:\/\/www.mgmaps.com\/cache\/gMapMaker-setup.msi\">gMapMaker<\/a> (para Windows), que busca as imagens e gera o cache em formato PNG para voc\u00ea colocar no celular.Veja as<a href=\"http:\/\/forum.mgmaps.com\/viewtopic.php?t=1116\"> instru\u00e7\u00f5es de como instal\u00e1-lo<\/a>:<\/p>\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"3\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"150\" align=\"left\" valign=\"top\"><strong>Cristian Streng<\/strong><br \/>\nFounder<\/td>\n<td width=\"100%\" height=\"28\" valign=\"top\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"100%\"><a href=\"http:\/\/forum.mgmaps.com\/viewtopic.php?p=5339&amp;sid=e083d7f2433c058912ba35f45b1f75e8#5339\"><img loading=\"lazy\" decoding=\"async\" title=\"Post\" src=\"http:\/\/forum.mgmaps.com\/templates\/subSilver\/images\/icon_minipost.gif\" border=\"0\" alt=\"Post\" width=\"12\" height=\"9\" \/><\/a>Posted: Wed Sep 12, 2007 3:19 pm\u00a0\u00a0 \u00a0Post subject: gMapMaker &#8211; Map Tile Downloader for Windows<\/td>\n<td valign=\"top\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<hr \/>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">I&#8217;m happy to announce that gMapMaker, a tool initially developed by <a rel=\"nofollow\" href=\"http:\/\/debin.net\/\" target=\"_blank\">Damien Debin<\/a> can now download map tiles in a format supported by MGMaps. You can get latest version 0.7 from <a rel=\"nofollow\" href=\"http:\/\/www.mgmaps.com\/cache\" target=\"_blank\">http:\/\/www.mgmaps.com\/cache<\/a>, it&#8217;s a self-extracting zip archive. You need to have <a rel=\"nofollow\" href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=en\" target=\"_blank\">.NET Framework v2.0<\/a> installed for the program to work.<\/p>\n<p>The program is easy to use and has the functionality of the previous MapTileCacher.pl and MapTileFE.pl  scripts. It can only download map tiles from Google for now, but  support for other sources will be added soon. To use it, follow these  steps:<\/p>\n<ol type=\"1\">\n<li>Install gMapMaker. When the installation is complete the application should start automatically.<\/li>\n<li>Choose one of the following two:\n<ol type=\"a\">\n<li>batch download: Open your browser, navigate to <a rel=\"nofollow\" href=\"http:\/\/www.mgmaps.com\/create\" target=\"_blank\">http:\/\/www.mgmaps.com\/create<\/a>,  select the area you want to download. Click Generate and save the .map  file on your computer. Back in gMapMaker, select &#8220;MGMaps mode, use a  .map file&#8221; as the operating mode then click &#8220;Go&#8221; and select the .map  file saved.<\/li>\n<li>single area\/zoom: Enter  the coords, select the zoom level and map type for the area to  download. Make sure the cache folder path ends with &#8220;MGMapsCache&#8221;. Make  sure you have selected &#8220;MGMaps mode, use entered area&#8221; as the operating  mode. Click &#8220;Go&#8221;.<\/li>\n<\/ol>\n<\/li>\n<li>When the download is ready, you&#8217;ll  find all the map tiles in the selected MGMapsCache folder. Just copy  this folder with all its subfolders to your memory card and configure  MGMaps to use it. Move the map in  MGMaps to the area\/zoom level you downloaded map tiles for &#8211; use  Menu-&gt;Go To and enter the coordinates, zoom level and map type.<\/li>\n<li>The application can also use a set of proxies for satellite  imagery download in order to avoid having your IP address temp-banned by  Google (which happens if you download many satellite tiles in a short  time). UPDATE: To improve proxy functionality in gMapMaker, <a rel=\"nofollow\" href=\"http:\/\/www.widecap.com\/\" target=\"_blank\">WideCap<\/a> (successor of FreeCap) works perfectly&#8230; or anyway better than the integrated proxy support. <a rel=\"nofollow\" href=\"http:\/\/forum.mgmaps.com\/viewtopic.php?p=11719#11719\" target=\"_blank\">UPDATE 2<\/a>: You can try installing Fiddler2 <a rel=\"nofollow\" href=\"http:\/\/www.fiddlertool.com\/Fiddler2\/version.asp\" target=\"_blank\">http:\/\/www.fiddlertool.com\/Fiddler2\/version.asp<\/a>.  It captures all your gMapMaker traffic, you should then be able to  configure fiddler to redirect all it&#8217;s traffic through another proxy.<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Com gMapMaker, voc\u00ea pode at\u00e9 gerar um grande mapa cont\u00ednuo, para uso jornal\u00edstico. Mas o nosso objetivo \u00e9 gerar tiles (lajotas) no cache de mapas.<\/p>\n<ol>\n<li>E<strong>scolha o lugar das pastas de caching<\/strong> (pode aceitar o default).<\/li>\n<li>Especifique um <strong>delay maior que 500 milesegundos<\/strong> entre o download de imagens para o Google n\u00e3o bloquear seu IP por pr\u00e1tica de leeching.<\/li>\n<li>Em <strong>Operating Mode<\/strong>, escolha &#8220;<strong>MGMap mode, use .map file<\/strong>&#8221; e clique em &#8220;<strong>Go!<\/strong>&#8220;. A\u00ed, procure pelo arquivo gerado pelo Mapcache.<\/li>\n<li>O gMapMaker ir\u00e1 baixar os <em>tiles <\/em>e gerar o cache de mapas.<\/li>\n<\/ol>\n<p>Para instalar no celular:<\/p>\n<ol>\n<li>Instale o <strong>Mobile Gmaps<\/strong>. No Nokia 5200, ele \u00e9 instalado simplesmente se conectando o cabo USB, escolhendo o modo Nokia e clicando duas vezes em cima do arquivo .JAR, se os programas Nokia foram corretamente instalados no Windows. Se n\u00e3o foram, simplesmente crie uma pasta no cart\u00e3o de mem\u00f3ria e copie o arquivo .JAR para ela. <strong>Para habilitar o acesso \u00e0 memoria ao mgmaps<\/strong>: A gente precisa baixar a vers\u00e3o ZIP no <a href=\"http:\/\/www.mgmaps.com\/download.php\">site de download do mgmaps<\/a>, descompactar os arquivos mgmaps-signed.jad e mgmaps.jar. Renomeia-se o mgmaps-signed.jad para mgmaps.jad. E se instala com o instalador da Nokia. Aparece o programa na pasta raiz do celular ou do cart\u00e3o, ou a pasta que for escolhida para instalar. A\u00ed a gente seleciona o programa na pasta em que instalou, OP\u00c7\u00d5ES &gt; ACESSO AO APLI. &gt; ACESSO A DADOS &gt; Ler dados do usu\u00e1ro &gt; SEMPRE PERMITIDO. Depois disso, o aparelho p\u00e1ra de pedir acesso a cada navegada nos mapas.<\/li>\n<li>Para esta pasta ou para outra na raiz do cart\u00e3o, copie toda a pasta de cache, com todas as subpastas. O mapa de Porto Alegre com zoom 16 ocupou mais de 22 megabytes. O equivalente a umas 5 m\u00fasicas mp3.<\/li>\n<li>Desconecte o cabo USB, execute o <strong>MGMaps <\/strong>no celular e configure-o:\n<ol>\n<li>Use o bot\u00e3o azul do <strong>Nokia 5200<\/strong> para chamar o menu. Em <strong>Menu &gt; Settings &gt; Map Browsing<\/strong>, marque as op\u00e7\u00f5es &#8220;<strong>Stored Maps<\/strong>&#8220;, &#8220;<strong>Offline Mode<\/strong>&#8220;. Se voc\u00ea tiver um celular de baixo processamento, marque &#8220;<strong>Low Memory<\/strong>&#8220;. N\u00e3o \u00e9 o caso do Nokia 5200.<\/li>\n<li>Desmarque &#8220;<strong>Enhanced Panning<\/strong>&#8220;. Eu experimentei bugs usando esta op\u00e7\u00e3o que faz um <em>panning <\/em>suave. Ela deixou o programa maluco.<\/li>\n<li>Em &#8220;<strong>Storage Path<\/strong>&#8220;, selecione o caminho do cache de mapas. Procure o path com o bot\u00e3o central do Nokia 5200. Salve as altera\u00e7\u00f5es (no bot\u00e3o azul do Nokia 5200).<\/li>\n<li>Em <strong>Menu &gt; Settings &gt; Display<\/strong>, na op\u00e7\u00e3o &#8220;<strong>Coordinate Format<\/strong>&#8220;, selecione o formato &#8220;<strong>DD.ddddd<\/strong>&#8220;, para permitir o uso de coordenadas decimais do Google Maps. Salve a altera\u00e7\u00e3o.<\/li>\n<li>Em <strong>Menu &gt; Map Types &gt; Not Available<\/strong>, habilite as op\u00e7\u00f5es Google Maps, Google Satellite ou Google Hybrid conforme o tipo de mapa que voc\u00ea baixou. Salve as altera\u00e7\u00f5es.<\/li>\n<li>Em <strong>Menu &gt; Maps Type &gt; Yahoo Maps<\/strong>, desabilite todas as op\u00e7\u00f5es que estiverem habilitadas. S\u00e3o 3: MAP, SAT, HYB. Salve as altera\u00e7\u00f5es.<\/li>\n<li>Reinicie o Mobile GMaps.<\/li>\n<\/ol>\n<\/li>\n<li>Para salvar o ponto inicial no seu mapa, crie um placemark (<strong>Menu &gt; Favorites &gt; Menu &gt; Add<\/strong>) e defina-o com <strong>Menu &gt; Set startup<\/strong>.<\/li>\n<\/ol>\n<h3>Bibliografia<\/h3>\n<ul>\n<li><a href=\"http:\/\/www.plusgsm.com.br\/forums\/showthread.php?t=66724\">Zih. <strong>Usando Google Maps offline<\/strong>. Post tutorial no f\u00f3rum 5200 do site PlusGSM<\/a>.<\/li>\n<li><a href=\"http:\/\/www.foxgsm.net\/forums\/java-midlets\/67432-acessando-mapas-do-google-maps-em-modo-offline-acho-que-funciona-em-todos-modelos-2.html\"><strong>Tutorial: GoogleMaps Offline no W580i e W610<\/strong><\/a><\/li>\n<li><strong><a href=\"http:\/\/www.mgmaps.com\/index.php\">Mobile Gmaps<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/www.mapcacher.com\/\">Mapcacher<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/www.mgmaps.com\/cache\/\">gMapMaker<\/a><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Que tal um guia de sua cidade no celular, offline, sem gastar nas abusivas conex\u00f5es internet das telef\u00f4nicas? O tutorial explica todos os passos. S\u00e3o, na realidade, tr\u00eas baitas hackings. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-geral"],"_links":{"self":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":0,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/posts\/321\/revisions"}],"wp:attachment":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/categories?post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/tags?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}