<div dir="ltr">André,<div><br></div><div>Experimente com esse mapfile:</div><div>(Veja também a documentação do Mapserver sobre clientes WMS: <a href="http://mapserver.org/ogc/wms_client.html">http://mapserver.org/ogc/wms_client.html</a>)</div><div><br></div><div><div>MAP</div><div>  FONTSET "../symbols/fontes.txt"</div><div>  SYMBOLSET "../symbols/simbolos.sym"</div><div>  LAYER</div><div>    CONNECTION "<a href="http://sigel.aneel.gov.br/arcgis/services/SIGEL/Geracao/MapServer/WmsServer">http://sigel.aneel.gov.br/arcgis/services/SIGEL/Geracao/MapServer/WmsServer</a>?"</div><div>    CONNECTIONTYPE WMS</div><div>    DATA ""</div><div>    METADATA</div><div>      "wms_srs"<span class="Apple-tab-span" style="white-space:pre"> </span>"EPSG:4674"</div><div>      "CLASSE"<span class="Apple-tab-span" style="white-space:pre">     </span>"SIM"</div><div>      "wms_name"<span class="Apple-tab-span" style="white-space:pre"> </span>"6"</div><div>      "wms_format"<span class="Apple-tab-span" style="white-space:pre"> </span>"image/png"</div><div>      "download"<span class="Apple-tab-span" style="white-space:pre">   </span>"NAO"</div><div>      "wms_connectiontimeout"<span class="Apple-tab-span" style="white-space:pre">    </span>"30"</div><div>      "TEMA"<span class="Apple-tab-span" style="white-space:pre">      </span>"Centrais Eólicas (ANEEL)"</div><div>      "identifica"<span class="Apple-tab-span" style="white-space:pre"> </span>"SIM"</div><div>      "wms_server_version"<span class="Apple-tab-span" style="white-space:pre">       </span>"1.1.1"</div><div>      "wms_style"<span class="Apple-tab-span" style="white-space:pre">      </span>"default"</div><div>      "wms_feature_info_type" "TEXT/HTML"</div><div>    END # METADATA</div><div>    NAME "_testewms"</div><div>    STATUS DEFAULT</div><div>    TEMPLATE "none.htm"</div><div>    TILEITEM "location"</div><div>    TYPE RASTER</div><div>    UNITS METERS</div><div>    CLASS</div><div>      NAME ""</div><div>      STYLE</div><div>        ANGLE 0</div><div>        COLOR 0 0 0</div><div>        OFFSET 0 0</div><div>      END # STYLE</div><div>    END # CLASS</div><div>  END # LAYER</div><div><br></div><div>END # MAP</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Em 29 de julho de 2015 10:10, André Caires <span dir="ltr"><<a href="mailto:andrecairess@gmail.com" target="_blank">andrecairess@gmail.com</a>></span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font color="#262626"><span style="line-height:16px">Prezados,</span></font></div><div><font color="#262626"><span style="line-height:16px"><br></span></font></div><div style="font-size:12.8000001907349px"><span style="color:rgb(38,38,38);font-size:13px;line-height:16px">estou com um pequeno problema (acredito ta me passando por um pequeno detalhe) quando utilizo o wms gerado pela sigel e insiro o caminho e tudo mais no mapfile, ele visualiza a camada. No entanto ele não mostra o banco.</span></div><div style="font-size:12.8000001907349px"><span style="color:rgb(38,38,38);font-size:13px;line-height:16px"><br></span></div><div style="font-size:12.8000001907349px"><span style="color:rgb(38,38,38);font-size:13px;line-height:16px"><br></span></div><div style="font-size:12.8000001907349px"><span style="color:rgb(38,38,38);font-size:13px;line-height:16px"><img src="cid:ii_14ed641ea71132be" alt="Imagem inline 1" width="544" height="273"> </span></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Quando faço a conexão com o wms do mma não tenho problema com a visualização do banco.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Segue a estrutura:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><font color="#262626"><div><span style="line-height:16px">MAP</span></div><div><span style="line-height:16px">  FONTSET "../symbols/fontes.txt"</span></div><div><span style="line-height:16px">  SYMBOLSET "../symbols/simbolos.sym"</span></div><div><span style="line-height:16px">  LAYER</span></div><div><span style="line-height:16px">    CONNECTION "<a href="http://sigel.aneel.gov.br/arcgis/services/SIGEL/Geracao/MapServer/WmsServer" target="_blank">http://sigel.aneel.gov.br/arcgis/services/SIGEL/Geracao/MapServer/WmsServer</a>?"</span></div><div><span style="line-height:16px">    CONNECTIONTYPE WMS</span></div><div><span style="line-height:16px">    DATA ""</span></div><div><span style="line-height:16px">    METADATA</span></div><div><span style="line-height:16px">      "wms_srs"<span style="white-space:pre-wrap">    </span>"EPSG:4674"</span></div><div><span style="line-height:16px">      "METAESTAT_ID_MEDIDA_VARIAVEL"<span style="white-space:pre-wrap">       </span>""</span></div><div><span style="line-height:16px">      "ltempoitemimagem"<span style="white-space:pre-wrap">    </span>""</span></div><div><span style="line-height:16px">      "cache"<span style="white-space:pre-wrap">       </span>""</span></div><div><span style="line-height:16px">      "ltempoitemdescricao"<span style="white-space:pre-wrap"> </span>""</span></div><div><span style="line-height:16px">      "CLASSE"<span style="white-space:pre-wrap">      </span>"SIM"</span></div><div><span style="line-height:16px">      "ltempoiteminicio"<span style="white-space:pre-wrap"> </span>""</span></div><div><span style="line-height:16px">      "palletestep"<span style="white-space:pre-wrap"> </span>""</span></div><div><span style="line-height:16px">      "temporizador"<span style="white-space:pre-wrap">        </span>""</span></div><div><span style="line-height:16px">      "ltempoitemtip"<span style="white-space:pre-wrap">       </span>""</span></div><div><span style="line-height:16px">      "ltempoitemtitulo"<span style="white-space:pre-wrap">    </span>""</span></div><div><span style="line-height:16px">      "description_template"<span style="white-space:pre-wrap">        </span>""</span></div><div><span style="line-height:16px">      "ltempoitemlink"<span style="white-space:pre-wrap">      </span>""</span></div><div><span style="line-height:16px">      "METAESTAT_CODIGO_TIPO_REGIAO"<span style="white-space:pre-wrap">        </span>""</span></div><div><span style="line-height:16px">      "wms_name"<span style="white-space:pre-wrap">    </span>"6"</span></div><div><span style="line-height:16px">      "palletefile"<span style="white-space:pre-wrap">        </span>""</span></div><div><span style="line-height:16px">      "ltempoformatodata"<span style="white-space:pre-wrap">   </span>""</span></div><div><span style="line-height:16px">      "permitecomentario"<span style="white-space:pre-wrap">   </span>""</span></div><div><span style="line-height:16px">      "ltempoitemicone"<span style="white-space:pre-wrap">     </span>""</span></div><div><span style="line-height:16px">      "metaestat"<span style="white-space:pre-wrap">   </span>""</span></div><div><span style="line-height:16px">      "wms_format"<span style="white-space:pre-wrap">  </span>"image/png"</span></div><div><span style="line-height:16px">      "download"<span style="white-space:pre-wrap">   </span>"NAO"</span></div><div><span style="line-height:16px">      "itembuscarapida"<span style="white-space:pre-wrap">  </span>""</span></div><div><span style="line-height:16px">      "wms_connectiontimeout"<span style="white-space:pre-wrap">       </span>"30"</span></div><div><span style="line-height:16px">      "arquivodownload"<span style="white-space:pre-wrap">   </span>""</span></div><div><span style="line-height:16px">      "arquivokmz"<span style="white-space:pre-wrap">  </span>""</span></div><div><span style="line-height:16px">      "TEMA"<span style="white-space:pre-wrap">        </span>"Centrais Eólicas (ANEEL)"</span></div><div><span style="line-height:16px">      "convcaracter"<span style="white-space:pre-wrap">       </span>"SIM"</span></div><div><span style="line-height:16px">      "identifica"<span style="white-space:pre-wrap">       </span>"SIM"</span></div><div><span style="line-height:16px">      "wms_server_version"<span style="white-space:pre-wrap">       </span>"1.1.1"</span></div><div><span style="line-height:16px">      "ltempoconvencode"<span style="white-space:pre-wrap">       </span>""</span></div><div><span style="line-height:16px">      "editorsql"<span style="white-space:pre-wrap">   </span>""</span></div><div><span style="line-height:16px">      "ltempoitemfim"<span style="white-space:pre-wrap">       </span>""</span></div><div><span style="line-height:16px">      "wms_style"<span style="white-space:pre-wrap">   </span>"default"</span></div><div><span style="line-height:16px">    END # METADATA</span></div><div><span style="line-height:16px">    NAME "centrais_eol"</span></div><div><span style="line-height:16px">    STATUS ON</span></div><div><span style="line-height:16px">    TEMPLATE "none.htm"</span></div><div><span style="line-height:16px">    TILEITEM "location"</span></div><div><span style="line-height:16px">    TYPE RASTER</span></div><div><span style="line-height:16px">    UNITS METERS</span></div><div><span style="line-height:16px">    CLASS</span></div><div><span style="line-height:16px">      NAME ""</span></div><div><span style="line-height:16px">      STYLE</span></div><div><span style="line-height:16px">        ANGLE 0</span></div><div><span style="line-height:16px">        COLOR 0 0 0</span></div><div><span style="line-height:16px">        OFFSET 0 0</span></div><div><span style="line-height:16px">      END # STYLE</span></div><div><span style="line-height:16px">    END # CLASS</span></div><div><span style="line-height:16px">  END # LAYER</span></div><div><span style="line-height:16px"><br></span></div><div><span style="line-height:16px">END # MAP</span></div></font></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><b>André Caires Silva<br></b><div><font color="#808080">Geógrafo</font></div><div><font color="#808080">Crea/BA: 88085<br>Tel.: +55 
(71) 8830-5630<br>E-mail: 
<a href="mailto:andrecairess@gmail.com" target="_blank">andrecairess@gmail.com</a><br></font></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
i3geo mailing list<br>
<a href="mailto:i3geo@lists.osgeo.org">i3geo@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Edmar Moretti<br></div><a href="http://www.edmarmoretti.com.br" target="_blank">http://www.edmarmoretti.com.br</a><br></div>Skype: edmar.moretti<br></div>gTalk: edmar.moretti<br></div></div>
</div>