Commit 4fe76425e2727129f1ce6f2cbb4d2e9d04d56899

Authored by Edmar Moretti
1 parent 151bdec1

Remoção do esquema de gerenciamento de cadastros por meio de arquivos XML (lista…

…s de temas, de serviços, etc)
admin/html/atlas_importar.html
@@ -1,54 +0,0 @@ @@ -1,54 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<script src="../js/core.js" type="text/javascript"></script>  
5 -<script src="../js/importar.js" type="text/javascript"></script>  
6 -</head>  
7 -<body class=" yui-skin-sam">  
8 -<div style=width:80%;text-align:center;>  
9 -<h1>Administração do i3geo - importação de XML</h1>  
10 -  
11 -<p>Este programa importa as definições do menu de temas armazenadas em um arquivo XML</p>  
12 -<p>O menu é baseado no banco admin.db.</p>  
13 -</div>  
14 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo.  
15 -<p>Por padrão, o arquivo utilizado é i3geo/menutemas/atlas.xml</p><br>  
16 -<input type=text size=50 id=arquivo />  
17 -<input type=button value="Importar" onclick="importarXmlAtlas()"/>  
18 -<div id=resultado ></div>  
19 -</body>  
20 -<script>  
21 -/*  
22 -Title: Importador da lista de Atlas  
23 -  
24 -HTML da interface de administração  
25 -  
26 -Licenca:  
27 -  
28 -GPL2  
29 -  
30 -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet  
31 -  
32 -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil  
33 -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br  
34 -  
35 -Este programa é software livre; você pode redistribuí-lo  
36 -e/ou modificá-lo sob os termos da Licença Pública Geral  
37 -GNU conforme publicada pela Free Software Foundation;  
38 -tanto a versão 2 da Licença.  
39 -Este programa é distribuído na expectativa de que seja útil,  
40 -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita  
41 -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.  
42 -Consulte a Licença Pública Geral do GNU para mais detalhes.  
43 -Você deve ter recebido uma cópia da Licença Pública Geral do  
44 -GNU junto com este programa; se não, escreva para a  
45 -Free Software Foundation, Inc., no endereço  
46 -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.  
47 -  
48 -Arquivo:  
49 -  
50 -i3geo/admin/html/atlas_importar.html  
51 -*/  
52 -</script>  
53 -  
54 -</html>  
55 \ No newline at end of file 0 \ No newline at end of file
admin/html/i3geoadmin_importarmenu.html
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<link rel="stylesheet" type="text/css" href="admin.css">  
5 -<script src="../../pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script>  
6 -<script src="../js/admin.js" type="text/javascript"></script>  
7 -<script src="../js/menutemas.js" type="text/javascript"></script>  
8 -</head>  
9 -<body>  
10 -<div style=width:80%;text-align:center;>  
11 -<h1>Administração do i3geo - importação de menu XML</h1>  
12 -<p><a href="../index.html">Voltar</a></p>  
13 -<p>Este programa importa as definições do menu de temas armazenadas em um arquivo XML</p>  
14 -<p>O menu é baseado no banco admin.db.</p>  
15 -</div>  
16 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo  
17 -<p>Por padrão, o arquivo utilizado é i3geo/menutemas/menutemas.xml</p>  
18 -<input type=text size=50 id=arquivo />  
19 -<p>Nome do novo menu:</p>  
20 -<input type=text size=50 id=nome /><br><br>  
21 -<input type=button value="Importar" onclick="importarXmlMenu()"/>  
22 -<div id=resultado ></div>  
23 -</body>  
24 -</html>  
25 \ No newline at end of file 0 \ No newline at end of file
admin/html/identifica_importar.html
@@ -1,56 +0,0 @@ @@ -1,56 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<script src="../js/core.js" type="text/javascript"></script>  
5 -<script src="../js/importar.js" type="text/javascript"></script>  
6 -</head>  
7 -<body class=" yui-skin-sam">  
8 -<div style=width:80%;text-align:center;>  
9 -<h1>Administração do i3geo - importação da lista de funções da ferramenta identifica</h1>  
10 -  
11 -<p>Este programa importa as definições das funções armazenadas em um arquivo XML</p>  
12 -<p>O menu é baseado no banco admin.db.</p>  
13 -</div>  
14 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo<p>  
15 -<p>Os arquivos default do i3geo são (em i3geo/menutemas): identifica.xml</p>  
16 -<input type=text size=50 id=arquivo />  
17 -<br>  
18 -<br>  
19 -<input type=button value="Importar" onclick="importarXmlI()"/>  
20 -<div id=resultado ></div>  
21 -<script>  
22 -/*  
23 -Title: Importador da lista de sistemas da ferramenta de identificação  
24 -  
25 -HTML da interface de administração  
26 -  
27 -Licenca:  
28 -  
29 -GPL2  
30 -  
31 -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet  
32 -  
33 -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil  
34 -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br  
35 -  
36 -Este programa é software livre; você pode redistribuí-lo  
37 -e/ou modificá-lo sob os termos da Licença Pública Geral  
38 -GNU conforme publicada pela Free Software Foundation;  
39 -tanto a versão 2 da Licença.  
40 -Este programa é distribuído na expectativa de que seja útil,  
41 -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita  
42 -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.  
43 -Consulte a Licença Pública Geral do GNU para mais detalhes.  
44 -Você deve ter recebido uma cópia da Licença Pública Geral do  
45 -GNU junto com este programa; se não, escreva para a  
46 -Free Software Foundation, Inc., no endereço  
47 -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.  
48 -  
49 -Arquivo:  
50 -  
51 -i3geo/admin/html/identifica_importar.html  
52 -*/  
53 -</script>  
54 -  
55 -</body>  
56 -</html>  
57 \ No newline at end of file 0 \ No newline at end of file
admin/html/importarmenu.html
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<script src="../js/core.js" type="text/javascript"></script>  
5 -<script src="../js/importar.js" type="text/javascript"></script>  
6 -</head>  
7 -<body class=" yui-skin-sam">  
8 -<div style=width:80%;text-align:center;>  
9 -<h1>Administração do i3geo - importação de menu XML</h1>  
10 -<p>Este programa importa as definições do menu de temas armazenadas em um arquivo XML</p>  
11 -<p>O menu é baseado no banco admin.db.</p>  
12 -</div><br>  
13 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo  
14 -<p>Normalmente, o arquivo utilizado é i3geo/menutemas/menutemas.xml</p>  
15 -<input type=text size=50 id=arquivo />  
16 -<p>Nome do novo menu:</p>  
17 -<input type=text size=50 id=nome /><br><br>  
18 -<input type=button value="Importar" onclick="importarXmlMenu()"/>  
19 -<div id=resultado ></div>  
20 -<script>  
21 -/*  
22 -Title: Importador do xml menutemas.xml  
23 -  
24 -HTML da interface de administração  
25 -  
26 -Licenca:  
27 -  
28 -GPL2  
29 -  
30 -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet  
31 -  
32 -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil  
33 -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br  
34 -  
35 -Este programa é software livre; você pode redistribuí-lo  
36 -e/ou modificá-lo sob os termos da Licença Pública Geral  
37 -GNU conforme publicada pela Free Software Foundation;  
38 -tanto a versão 2 da Licença.  
39 -Este programa é distribuído na expectativa de que seja útil,  
40 -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita  
41 -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.  
42 -Consulte a Licença Pública Geral do GNU para mais detalhes.  
43 -Você deve ter recebido uma cópia da Licença Pública Geral do  
44 -GNU junto com este programa; se não, escreva para a  
45 -Free Software Foundation, Inc., no endereço  
46 -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.  
47 -  
48 -Arquivo:  
49 -  
50 -i3geo/admin/html/importarmenu.html  
51 -*/  
52 -</script>  
53 -  
54 -</body>  
55 -</html>  
56 \ No newline at end of file 0 \ No newline at end of file
admin/html/mapas_importar.html
@@ -1,53 +0,0 @@ @@ -1,53 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<script src="../js/core.js" type="text/javascript"></script>  
5 -<script src="../js/importar.js" type="text/javascript"></script>  
6 -</head>  
7 -<body class=" yui-skin-sam">  
8 -<div style=width:80%;text-align:center;>  
9 -<h1>Administração do i3geo - importação da lista de mapas</h1>  
10 -  
11 -<p>Este programa importa as definições do menu de temas armazenadas em um arquivo XML</p>  
12 -<p>O menu é baseado no banco admin.db.</p>  
13 -</div>  
14 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo. Por padrão, o i3geo utiliza o arquivo menutemas/mapas.xml<p>  
15 -<input type=text size=50 id=arquivo />  
16 -<input type=button value="Importar" onclick="importarXmlMapas()"/>  
17 -<div id=resultado ></div>  
18 -<script>  
19 -/*  
20 -Title: Importador da lista de mapas  
21 -  
22 -HTML da interface de administração  
23 -  
24 -Licenca:  
25 -  
26 -GPL2  
27 -  
28 -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet  
29 -  
30 -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil  
31 -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br  
32 -  
33 -Este programa é software livre; você pode redistribuí-lo  
34 -e/ou modificá-lo sob os termos da Licença Pública Geral  
35 -GNU conforme publicada pela Free Software Foundation;  
36 -tanto a versão 2 da Licença.  
37 -Este programa é distribuído na expectativa de que seja útil,  
38 -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita  
39 -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.  
40 -Consulte a Licença Pública Geral do GNU para mais detalhes.  
41 -Você deve ter recebido uma cópia da Licença Pública Geral do  
42 -GNU junto com este programa; se não, escreva para a  
43 -Free Software Foundation, Inc., no endereço  
44 -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.  
45 -  
46 -Arquivo:  
47 -  
48 -i3geo/admin/html/mapas_importar.html  
49 -*/  
50 -</script>  
51 -  
52 -</body>  
53 -</html>  
54 \ No newline at end of file 0 \ No newline at end of file
admin/html/sistemas_importar.html
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<script src="../js/core.js" type="text/javascript"></script>  
5 -<script src="../js/importar.js" type="text/javascript"></script>  
6 -</head>  
7 -<body class=" yui-skin-sam">  
8 -<div style=width:80%;text-align:center;>  
9 -<h1>Administração do i3geo - importação da lista de sistemas</h1>  
10 -  
11 -<p>Este programa importa as definições dos sistemas e funções armazenadas em um arquivo XML</p>  
12 -<p>O menu é baseado no banco admin.db.</p>  
13 -</div>  
14 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo<p>  
15 -<p>O arquivo default do i3geo é i3geo/menutemas/sistemas.xml</p>  
16 -<input type=text size=50 id=arquivo />  
17 -<br>  
18 -<input type=button value="Importar" onclick="importarXmlSistemas()"/>  
19 -<div id=resultado ></div>  
20 -<script>  
21 -/*  
22 -Title: Importador da lista de sistemas especiais de adição de temas  
23 -  
24 -HTML da interface de administração  
25 -  
26 -Licenca:  
27 -  
28 -GPL2  
29 -  
30 -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet  
31 -  
32 -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil  
33 -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br  
34 -  
35 -Este programa é software livre; você pode redistribuí-lo  
36 -e/ou modificá-lo sob os termos da Licença Pública Geral  
37 -GNU conforme publicada pela Free Software Foundation;  
38 -tanto a versão 2 da Licença.  
39 -Este programa é distribuído na expectativa de que seja útil,  
40 -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita  
41 -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.  
42 -Consulte a Licença Pública Geral do GNU para mais detalhes.  
43 -Você deve ter recebido uma cópia da Licença Pública Geral do  
44 -GNU junto com este programa; se não, escreva para a  
45 -Free Software Foundation, Inc., no endereço  
46 -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.  
47 -  
48 -Arquivo:  
49 -  
50 -i3geo/admin/html/sistemas_importar.html  
51 -*/  
52 -</script>  
53 -  
54 -</body>  
55 -</html>  
56 \ No newline at end of file 0 \ No newline at end of file
admin/html/webservices_importar.html
@@ -1,62 +0,0 @@ @@ -1,62 +0,0 @@
1 -<html>  
2 -<head>  
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<link rel="stylesheet" type="text/css" href="admin.css">  
5 -<script src="../js/core.js" type="text/javascript"></script>  
6 -<script src="../js/importar.js" type="text/javascript"></script>  
7 -</head>  
8 -<body class=" yui-skin-sam">  
9 -<div style=width:80%;text-align:center;>  
10 -<h1>Administração do i3geo - importação da lista de mapas</h1>  
11 -  
12 -<p>Este programa importa as definições dos webservices armazenadas em um arquivo XML</p>  
13 -<p>O menu é baseado no banco admin.db.</p>  
14 -</div>  
15 -<p>Digite o nome do arquivo xml armazenado no servidor - utilize o caminho completo<p>  
16 -<p>Os arquivos default do i3geo são (em i3geo/menutemas): servicosgeorss.xml, servicosws.xml, servicoswms.xml e linksdownload.xml</p>  
17 -<input type=text size=50 id=arquivo />  
18 -<br>  
19 -<select id=tipo >  
20 - <option value="">---</option>  
21 - <option value="WS">WS</option>  
22 - <option value="WMS">WMS</option>  
23 - <option value="GEORSS">GeoRSS</option>  
24 - <option value="DOWNLOAD">Link para download</option>  
25 -</select>  
26 -<input type=button value="Importar" onclick="importarXmlWS()"/>  
27 -<div id=resultado ></div>  
28 -<script>  
29 -/*  
30 -Title: Importador da lista de Web Services  
31 -  
32 -HTML da interface de administração  
33 -  
34 -Licenca:  
35 -  
36 -GPL2  
37 -  
38 -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet  
39 -  
40 -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil  
41 -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br  
42 -  
43 -Este programa é software livre; você pode redistribuí-lo  
44 -e/ou modificá-lo sob os termos da Licença Pública Geral  
45 -GNU conforme publicada pela Free Software Foundation;  
46 -tanto a versão 2 da Licença.  
47 -Este programa é distribuído na expectativa de que seja útil,  
48 -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita  
49 -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA.  
50 -Consulte a Licença Pública Geral do GNU para mais detalhes.  
51 -Você deve ter recebido uma cópia da Licença Pública Geral do  
52 -GNU junto com este programa; se não, escreva para a  
53 -Free Software Foundation, Inc., no endereço  
54 -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.  
55 -  
56 -Arquivo:  
57 -  
58 -i3geo/admin/html/webservices_importar.html  
59 -*/  
60 -</script>  
61 -</body>  
62 -</html>  
63 \ No newline at end of file 0 \ No newline at end of file
admin/index.html
@@ -20,10 +20,7 @@ @@ -20,10 +20,7 @@
20 <p>Entre uma versão e outra do i3Geo o banco de dados de administração pode sofrer alterações. Consulte o documento i3geo/guia_de_migracao.txt para verificar os detalhes.</p> 20 <p>Entre uma versão e outra do i3Geo o banco de dados de administração pode sofrer alterações. Consulte o documento i3geo/guia_de_migracao.txt para verificar os detalhes.</p>
21 <p>Antes da vers&atilde;o 4.0 o i3geo utilizava arquivos armazenados em disco (arquivos XML) para configurar as 21 <p>Antes da vers&atilde;o 4.0 o i3geo utilizava arquivos armazenados em disco (arquivos XML) para configurar as
22 &aacute;rvores de adi&ccedil;&atilde;o de camadas, listagens de endere&ccedil;os, lista de mapas, etc. 22 &aacute;rvores de adi&ccedil;&atilde;o de camadas, listagens de endere&ccedil;os, lista de mapas, etc.
23 -Com a nova estrutura de administra&ccedil;&atilde;o, esses arquivos podem ser substitu&iacute;dos por registros em bancos de dados.  
24 -Se voc&ecirc; optar por usar um banco de dados, os arquivos antigos poder&atilde;o ser importados para o banco  
25 -(veja as op&ccedil;ões de importa&ccedil;&atilde;o). Se vc desejar continuar utilizando os arquivos XML em disco, basta  
26 -editar as vari&aacute;veis de configura&ccedil;&atilde;o existentes em i3geo/ms_configura.php.</p> 23 +Com a nova estrutura de administra&ccedil;&atilde;o, esses arquivos foram substitu&iacute;dos por registros em bancos de dados.</p>
27 <p>Para possibilitar a distribui&ccedil;&atilde;o do i3geo de forma independente de banco de dados, optou-se pelo uso do gerenciador 24 <p>Para possibilitar a distribui&ccedil;&atilde;o do i3geo de forma independente de banco de dados, optou-se pelo uso do gerenciador
28 SQLITE, cujo arquivo com os dados fica armazenado em i3geo/menutemas/admin.db. Os programas em PHP que gerenciam esse banco 25 SQLITE, cujo arquivo com os dados fica armazenado em i3geo/menutemas/admin.db. Os programas em PHP que gerenciam esse banco
29 utilizam o pacote PDO, possibilitando que seja utilizado outro gerenciador, como o POSTGRESQL, entre outros.</p> 26 utilizam o pacote PDO, possibilitando que seja utilizado outro gerenciador, como o POSTGRESQL, entre outros.</p>
@@ -83,7 +80,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -83,7 +80,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
83 <table class=lista1 > 80 <table class=lista1 >
84 <tr onclick="ajuda('a2',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr> 81 <tr onclick="ajuda('a2',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr>
85 <tr onclick="abre('html/arvore.html')"><td><div class=aplicar ></div></td><td>Editar a &aacute;rvore dos menus</td></tr> 82 <tr onclick="abre('html/arvore.html')"><td><div class=aplicar ></div></td><td>Editar a &aacute;rvore dos menus</td></tr>
86 -<tr onclick="abre('html/importarmenu.html')"><td><div class=aplicar ></div></td><td>Importar XML</td></tr>  
87 </table> 83 </table>
88 </div> 84 </div>
89 </fieldset> 85 </fieldset>
@@ -112,7 +108,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -112,7 +108,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
112 <table class=lista1 > 108 <table class=lista1 >
113 <tr onclick="ajuda('a3',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr> 109 <tr onclick="ajuda('a3',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr>
114 <tr onclick="abre('html/mapas.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos links</td></tr> 110 <tr onclick="abre('html/mapas.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos links</td></tr>
115 -<tr onclick="abre('html/mapas_importar.html')"><td><div class=aplicar ></div></td><td>Importar XML</td></tr>  
116 </table> 111 </table>
117 </div> 112 </div>
118 </fieldset> 113 </fieldset>
@@ -129,7 +124,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -129,7 +124,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
129 <table class=lista1 > 124 <table class=lista1 >
130 <tr onclick="ajuda('a7',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr> 125 <tr onclick="ajuda('a7',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr>
131 <tr onclick="abre('html/atlas.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos atlas</td></tr> 126 <tr onclick="abre('html/atlas.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos atlas</td></tr>
132 -<tr onclick="abre('html/atlas_importar.html')"><td><div class=aplicar ></div></td><td>Importar XML</td></tr>  
133 </table> 127 </table>
134 </div> 128 </div>
135 </fieldset> 129 </fieldset>
@@ -147,7 +141,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -147,7 +141,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
147 <table class=lista1 > 141 <table class=lista1 >
148 <tr onclick="ajuda('a4',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr> 142 <tr onclick="ajuda('a4',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr>
149 <tr onclick="abre('html/webservices.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o do cadastro</td></tr> 143 <tr onclick="abre('html/webservices.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o do cadastro</td></tr>
150 -<tr onclick="abre('html/webservices_importar.html')"><td><div class=aplicar ></div></td><td>Importar XML</td></tr>  
151 </table> 144 </table>
152 </div> 145 </div>
153 </fieldset> 146 </fieldset>
@@ -162,7 +155,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -162,7 +155,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
162 <table class=lista1 > 155 <table class=lista1 >
163 <tr onclick="ajuda('a5',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr> 156 <tr onclick="ajuda('a5',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr>
164 <tr onclick="abre('html/identifica.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos sistemas</td></tr> 157 <tr onclick="abre('html/identifica.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos sistemas</td></tr>
165 -<tr onclick="abre('html/identifica_importar.html')"><td><div class=aplicar ></div></td><td>Importar XML</td></tr>  
166 </table> 158 </table>
167 </div> 159 </div>
168 </fieldset> 160 </fieldset>
@@ -179,7 +171,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -179,7 +171,6 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
179 <table class=lista1 > 171 <table class=lista1 >
180 <tr onclick="ajuda('a6',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr> 172 <tr onclick="ajuda('a6',this)"><td><div class=ajuda ></div></td><td>Ajuda</td></tr>
181 <tr onclick="abre('html/sistemas.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos sistemas</td></tr> 173 <tr onclick="abre('html/sistemas.html')"><td><div class=aplicar ></div></td><td>Edi&ccedil;&atilde;o dos sistemas</td></tr>
182 -<tr onclick="abre('html/sistemas_importar.html')"><td><div class=aplicar ></div></td><td>Importar XML</td></tr>  
183 </table> 174 </table>
184 </div> 175 </div>
185 </fieldset> 176 </fieldset>
@@ -194,10 +185,7 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt; @@ -194,10 +185,7 @@ essa cria&amp;ccedil;&amp;atilde;o podem ser obtidos no item &quot;Outras op&amp;ccedil;ões&quot;.&lt;/p&gt;
194 <tr onclick="abre('php/sqlite.php')"><td><div class=aplicar ></div></td><td>Descri&ccedil;&atilde;o do banco padr&atilde;o (SQLITE)</td></tr> 185 <tr onclick="abre('php/sqlite.php')"><td><div class=aplicar ></div></td><td>Descri&ccedil;&atilde;o do banco padr&atilde;o (SQLITE)</td></tr>
195 <tr onclick="abre('php/criabanco.php')"><td><div class=aplicar ></div></td><td>Criar banco de dados</td></tr> 186 <tr onclick="abre('php/criabanco.php')"><td><div class=aplicar ></div></td><td>Criar banco de dados</td></tr>
196 <tr onclick="abre('../geraminiatura.php')"><td><div class=aplicar ></div></td><td>Gera as miniaturas (thumbnails) para os temas existentes no diret&oacute;rio i3geo/temas</td></tr> 187 <tr onclick="abre('../geraminiatura.php')"><td><div class=aplicar ></div></td><td>Gera as miniaturas (thumbnails) para os temas existentes no diret&oacute;rio i3geo/temas</td></tr>
197 -<tr onclick="abre('xmlmenutemas.php?id_menu=0')"><td><div class=aplicar ></div></td><td>Ver xml com a &aacute;rvore de temas</td></tr>  
198 -<tr onclick="abre('xmlatlas.php')"><td><div class=aplicar ></div></td><td>Ver xml com os Atlas</td></tr>  
199 -<tr onclick="abre('xmlidentifica.php')"><td><div class=aplicar ></div></td><td>Ver xml com os sistemas utilizados na ferramenta de identifica&ccedil;&atilde;o</td></tr>  
200 -<tr onclick="abre('xmlmapas.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de mapas</td></tr> 188 +
201 <tr onclick="abre('xmlgeorss.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de servi&ccedil;os Geo RSS</td></tr> 189 <tr onclick="abre('xmlgeorss.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de servi&ccedil;os Geo RSS</td></tr>
202 <tr onclick="abre('xmlservicoswms.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de servi&ccedil;os WMS</td></tr> 190 <tr onclick="abre('xmlservicoswms.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de servi&ccedil;os WMS</td></tr>
203 <tr onclick="abre('xmlservicosws.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de servi&ccedil;os WS (webservices convencionais)</td></tr> 191 <tr onclick="abre('xmlservicosws.php')"><td><div class=aplicar ></div></td><td>Ver xml com a lista de servi&ccedil;os WS (webservices convencionais)</td></tr>
@@ -235,18 +223,6 @@ Veja também: @@ -235,18 +223,6 @@ Veja também:
235 223
236 <Editor do ms_configura> 224 <Editor do ms_configura>
237 225
238 -<Importador da lista de Atlas>  
239 -  
240 -<Importador da lista de mapas>  
241 -  
242 -<Importador da lista de sistemas da ferramenta de identificação>  
243 -  
244 -<Importador da lista de sistemas especiais de adição de temas>  
245 -  
246 -<Importador da lista de Web Services>  
247 -  
248 -<Importador do xml menutemas.xml>  
249 -  
250 <Mapas> 226 <Mapas>
251 227
252 <Opções da ferramenta identifica> 228 <Opções da ferramenta identifica>
admin/php/ms_configura.php
@@ -67,15 +67,10 @@ switch (strtoupper($funcao)) @@ -67,15 +67,10 @@ switch (strtoupper($funcao))
67 "\$tituloInstituicao", 67 "\$tituloInstituicao",
68 "\$locaplic", 68 "\$locaplic",
69 "\$locmapserv", 69 "\$locmapserv",
70 - "\$locsistemas",  
71 - "\$locidentifica",  
72 - "\$locmapas",  
73 "\$R_path", 70 "\$R_path",
74 "\$postgis_mapa", 71 "\$postgis_mapa",
75 "\$utilizacgi", 72 "\$utilizacgi",
76 - "\$atlasxml",  
77 "\$expoeMapfile", 73 "\$expoeMapfile",
78 - "\$menutemas",  
79 "\$conexaoadmin", 74 "\$conexaoadmin",
80 "\$googleApiKey", 75 "\$googleApiKey",
81 "\$interfacePadrao" 76 "\$interfacePadrao"
admin/php/xml.php
@@ -402,7 +402,7 @@ function geraXmlRSS($locaplic,$sql,$descricao) @@ -402,7 +402,7 @@ function geraXmlRSS($locaplic,$sql,$descricao)
402 } 402 }
403 function geraXmlAtlas($locaplic,$editores) 403 function geraXmlAtlas($locaplic,$editores)
404 { 404 {
405 - error_reporting(0); 405 + error_reporting(E_ALL);
406 $dbh = ""; 406 $dbh = "";
407 include($locaplic."/admin/php/conexao.php"); 407 include($locaplic."/admin/php/conexao.php");
408 if($convUTF) 408 if($convUTF)
@@ -410,7 +410,6 @@ function geraXmlAtlas($locaplic,$editores) @@ -410,7 +410,6 @@ function geraXmlAtlas($locaplic,$editores)
410 else 410 else
411 $xml = "<"."\x3F"."xml version='1.0' encoding='ISO-8859-1' "."\x3F".">"; 411 $xml = "<"."\x3F"."xml version='1.0' encoding='ISO-8859-1' "."\x3F".">";
412 $xml .= "\n<RAIZ>\n"; 412 $xml .= "\n<RAIZ>\n";
413 -  
414 //$q = "select * from i3geoadmin_atlas"; 413 //$q = "select * from i3geoadmin_atlas";
415 $qatlas = $dbh->query("select * from i3geoadmin_atlas"); 414 $qatlas = $dbh->query("select * from i3geoadmin_atlas");
416 415
classesjs/atlas.js
@@ -13,7 +13,7 @@ Licenca: @@ -13,7 +13,7 @@ Licenca:
13 13
14 GPL2 14 GPL2
15 15
16 -I3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet 16 +i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet
17 17
18 Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil 18 Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil
19 Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br 19 Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br
@@ -163,15 +163,14 @@ function pegaListaDeAtlas() @@ -163,15 +163,14 @@ function pegaListaDeAtlas()
163 { 163 {
164 local.innerHTML = retorno.data.tituloinstituicao+"<br><p><b>Nenhum atlas encontrado"; 164 local.innerHTML = retorno.data.tituloinstituicao+"<br><p><b>Nenhum atlas encontrado";
165 return; 165 return;
166 - }  
167 - 166 + }
168 atlasxml = retorno.data.atlasxml; 167 atlasxml = retorno.data.atlasxml;
169 var i = 0; 168 var i = 0;
170 do 169 do
171 { 170 {
172 if (listaAtlas[i].ID) 171 if (listaAtlas[i].ID)
173 { 172 {
174 - var inicia = i3GEO.configura.locaplic+"/classesphp/atlas_controle.php?atlasxml= "+atlasxml+"&atlasId_="+listaAtlas[i].ID+"&funcao=criaAtlas"; 173 + var inicia = i3GEO.configura.locaplic+"/classesphp/atlas_controle.php?atlasId_="+listaAtlas[i].ID+"&funcao=criaAtlas";
175 texto += "<tr><td >"; 174 texto += "<tr><td >";
176 if (listaAtlas[i].ICONE != "") 175 if (listaAtlas[i].ICONE != "")
177 { 176 {
classesphp/atlas_controle.php
@@ -53,8 +53,6 @@ Variáveis de Seção: @@ -53,8 +53,6 @@ Variáveis de Seção:
53 dir_tmp - diretório, no servidor, temporário utilizado pelo I3Geo, exemplo: c:/ms4w/tmp/ms_tmp 53 dir_tmp - diretório, no servidor, temporário utilizado pelo I3Geo, exemplo: c:/ms4w/tmp/ms_tmp
54 locmapserv - localização, no servidor, do CGI, exemplo: /cgi-bin/mapserv.exe 54 locmapserv - localização, no servidor, do CGI, exemplo: /cgi-bin/mapserv.exe
55 locaplic - localização, no servidor, do I3Geo, exemplo: c:/ms4w/apache/htdocs/i3geo 55 locaplic - localização, no servidor, do I3Geo, exemplo: c:/ms4w/apache/htdocs/i3geo
56 -locsistemas - localização do xml com a llista de temas, exemplo: /menutemas/sistemas.xml  
57 -locidentifica - localilzação do xml que define os sistemas adicionais incluídos na opção de identificação, exemplo: /menutemas/identifica.xml  
58 R_path - localização, no servidor, do executável do pacote R, exemplo: c:/ms4w/apache/htdocs/i3geo/pacotes/r/win/bin/R.exe 56 R_path - localização, no servidor, do executável do pacote R, exemplo: c:/ms4w/apache/htdocs/i3geo/pacotes/r/win/bin/R.exe
59 imgurl - url das imagens geradas pelo mapa, exemplo: http://localhost/ms_tmp/imgTVHbdijFMk/ 57 imgurl - url das imagens geradas pelo mapa, exemplo: http://localhost/ms_tmp/imgTVHbdijFMk/
60 tmpurl - url do diretório temporário, exemplo: http://localhost/ms_tmp/ 58 tmpurl - url do diretório temporário, exemplo: http://localhost/ms_tmp/
@@ -80,39 +78,22 @@ if(isset($g_sid)) @@ -80,39 +78,22 @@ if(isset($g_sid))
80 session_id($g_sid); 78 session_id($g_sid);
81 session_start(); 79 session_start();
82 foreach(array_keys($_SESSION) as $k) 80 foreach(array_keys($_SESSION) as $k)
83 - {  
84 - eval("\$".$k."='".$_SESSION[$k]."';");  
85 - } 81 + {eval("\$".$k."='".$_SESSION[$k]."';");}
86 $postgis_mapa = $_SESSION["postgis_mapa"]; 82 $postgis_mapa = $_SESSION["postgis_mapa"];
87 } 83 }
88 if (($funcao == "pegaListaDeAtlas") || ($funcao == "criaAtlas")) 84 if (($funcao == "pegaListaDeAtlas") || ($funcao == "criaAtlas"))
89 {$map_file = "";} 85 {$map_file = "";}
90 -  
91 -if (!isset($atlasxml) || $atlasxml == "")// || !isset($editores))  
92 -{  
93 - include_once("../ms_configura.php");  
94 -}  
95 // 86 //
96 //ativa o php mapscript e as extensões necessárias 87 //ativa o php mapscript e as extensões necessárias
97 //se as extensões já estiverem carregadas no PHP, vc pode comentar essa linha para que o processamento fique mais rápido 88 //se as extensões já estiverem carregadas no PHP, vc pode comentar essa linha para que o processamento fique mais rápido
98 // 89 //
99 include_once("carrega_ext.php"); 90 include_once("carrega_ext.php");
100 include_once("funcoes_gerais.php"); 91 include_once("funcoes_gerais.php");
101 -//include_once("../pacotes/cpaint/cpaint2.inc.php");  
102 -  
103 -//  
104 -//cria objeto cpaint para uso com ajax  
105 -//  
106 -//$cp = new cpaint();  
107 -//$cp->set_data("");  
108 // 92 //
109 //verifica se o usuário está tentando utilizar um link que não funciona mais 93 //verifica se o usuário está tentando utilizar um link que não funciona mais
110 // 94 //
111 if (!isset($map_file)) 95 if (!isset($map_file))
112 { 96 {
113 - //nesse caso é necessário criar o diretório temporário e iniciar o mapa  
114 - //$cp->set_data("linkquebrado");  
115 - //$cp->return_data();  
116 cpjson(array("erro"=>"linkquebrado")); 97 cpjson(array("erro"=>"linkquebrado"));
117 exit; 98 exit;
118 } 99 }
@@ -129,13 +110,15 @@ if ($map_file != &quot;&quot;) @@ -129,13 +110,15 @@ if ($map_file != &quot;&quot;)
129 // 110 //
130 substituiCon($map_file,$postgis_mapa); 111 substituiCon($map_file,$postgis_mapa);
131 } 112 }
132 -if($atlasxml == "") 113 +if(!isset($locaplic))
133 { 114 {
134 - include($locaplic."/admin/php/xml.php");  
135 - $xml = simplexml_load_string(geraXmlAtlas($locaplic,$editores)); 115 + if(file_exists("../ms_configura.php"))
  116 + {include_once("../ms_configura.php");}
  117 + else
  118 + {include_once("ms_configura.php");}
136 } 119 }
137 -else  
138 -$xml = simplexml_load_file($atlasxml); 120 +include($locaplic."/admin/php/xml.php");
  121 +$xml = simplexml_load_string(geraXmlAtlas($locaplic,$editores));
139 // 122 //
140 //faz a busca da função que deve ser executada 123 //faz a busca da função que deve ser executada
141 // 124 //
@@ -150,7 +133,7 @@ Pega a lista de Atlas definida no arquivo xml menutemas/atlas.xml. @@ -150,7 +133,7 @@ Pega a lista de Atlas definida no arquivo xml menutemas/atlas.xml.
150 */ 133 */
151 case "PEGALISTADEATLAS": 134 case "PEGALISTADEATLAS":
152 include_once("classe_atlas.php"); 135 include_once("classe_atlas.php");
153 - $atl = new Atlas($xml,$atlasxml); 136 + $atl = new Atlas($xml);
154 $retorno = $atl->pegaListaDeAtlas($tituloInstituicao); 137 $retorno = $atl->pegaListaDeAtlas($tituloInstituicao);
155 break; 138 break;
156 /* 139 /*
@@ -158,14 +141,13 @@ Valor: CRIAATLAS @@ -158,14 +141,13 @@ Valor: CRIAATLAS
158 141
159 Abre um Atlas específico, criando o mapa e chamando a interface desejada. 142 Abre um Atlas específico, criando o mapa e chamando a interface desejada.
160 143
161 -Esse programa é chamado diretamente, por exemplo, i3geo/classesphp/atlas_controle.php?atlasxml=&atlasId= 144 +Esse programa é chamado diretamente, por exemplo, i3geo/classesphp/atlas_controle.php?&atlasId=
162 145
163 <criaAtlas()> 146 <criaAtlas()>
164 */ 147 */
165 case "CRIAATLAS": 148 case "CRIAATLAS":
166 include_once("classe_atlas.php"); 149 include_once("classe_atlas.php");
167 - $atlasxmltemp = $atlasxml;  
168 - $atl = new Atlas($xml,$atlasxml); 150 + $atl = new Atlas($xml);
169 $res = $atl->criaAtlas($atlasId_); 151 $res = $atl->criaAtlas($atlasId_);
170 $interface = $res["interface"]; 152 $interface = $res["interface"];
171 $base = $res["base"]; 153 $base = $res["base"];
@@ -193,7 +175,7 @@ Pega a lista de pranchas de um atlas específico. @@ -193,7 +175,7 @@ Pega a lista de pranchas de um atlas específico.
193 */ 175 */
194 case "PEGALISTADEPRANCHAS": 176 case "PEGALISTADEPRANCHAS":
195 include_once("classe_atlas.php"); 177 include_once("classe_atlas.php");
196 - $atl = new Atlas($xml,$atlasxml); 178 + $atl = new Atlas($xml);
197 $retorno = $atl->pegaListaDePranchas($atlasId); 179 $retorno = $atl->pegaListaDePranchas($atlasId);
198 break; 180 break;
199 /* 181 /*
@@ -205,7 +187,7 @@ Ativa uma prancha do atlas. @@ -205,7 +187,7 @@ Ativa uma prancha do atlas.
205 */ 187 */
206 case "ABREPRANCHA": 188 case "ABREPRANCHA":
207 include_once("classe_atlas.php"); 189 include_once("classe_atlas.php");
208 - $atl = new Atlas($xml,$atlasxml); 190 + $atl = new Atlas($xml);
209 $retorno = $atl->abrePrancha($atlasId,$pranchaId,$map_file,$locaplic); 191 $retorno = $atl->abrePrancha($atlasId,$pranchaId,$map_file,$locaplic);
210 break; 192 break;
211 } 193 }
@@ -222,10 +204,9 @@ else @@ -222,10 +204,9 @@ else
222 {exit();} 204 {exit();}
223 function gravaid() 205 function gravaid()
224 { 206 {
225 - global $atlasId_,$tmpfname,$atlasxmltemp;//a variavel tmpfname vem do ms_criamapa.php 207 + global $atlasId_,$tmpfname;//a variavel tmpfname vem do ms_criamapa.php
226 $_SESSION["atlasId"] = $atlasId_; 208 $_SESSION["atlasId"] = $atlasId_;
227 $_SESSION["utilizacgi"] = "nao"; 209 $_SESSION["utilizacgi"] = "nao";
228 - $_SESSION["atlasxml"] = $atlasxmltemp;  
229 $m = ms_newMapObj($tmpfname); 210 $m = ms_newMapObj($tmpfname);
230 $c = $m->numlayers; 211 $c = $m->numlayers;
231 for ($i=0;$i < $c;++$i) 212 for ($i=0;$i < $c;++$i)
classesphp/classe_atlas.php
@@ -46,11 +46,10 @@ parameters: @@ -46,11 +46,10 @@ parameters:
46 46
47 $atlasxml - Objeto xml com o atlas. 47 $atlasxml - Objeto xml com o atlas.
48 */ 48 */
49 - function __construct($xml,$arquivo) 49 + function __construct($xml)
50 { 50 {
51 - error_reporting(0); 51 + error_reporting(E_ALL);
52 $this->xml = $xml; 52 $this->xml = $xml;
53 - $this->arquivo = $arquivo;  
54 } 53 }
55 /* 54 /*
56 Method: pegaListaDeAtlas 55 Method: pegaListaDeAtlas
@@ -69,7 +68,7 @@ tituloinstituicao - é utilizado para montar o cabeçalho HTML com a lista de atla @@ -69,7 +68,7 @@ tituloinstituicao - é utilizado para montar o cabeçalho HTML com a lista de atla
69 { 68 {
70 $atlas[] = array("PUBLICADO"=>ixml($s,"PUBLICADO"),"ID"=>ixml($s,"ID"),"TITULO"=>ixml($s,"TITULO"),"DESCRICAO"=>ixml($s,"DESCRICAO"),"ICONE"=>ixml($s,"ICONE"),"W"=>ixml($s,"WABERTURA"),"H"=>ixml($s,"HABERTURA"),"TEMPLATEHTML"=>ixml($s,"TEMPLATEHTML")); 69 $atlas[] = array("PUBLICADO"=>ixml($s,"PUBLICADO"),"ID"=>ixml($s,"ID"),"TITULO"=>ixml($s,"TITULO"),"DESCRICAO"=>ixml($s,"DESCRICAO"),"ICONE"=>ixml($s,"ICONE"),"W"=>ixml($s,"WABERTURA"),"H"=>ixml($s,"HABERTURA"),"TEMPLATEHTML"=>ixml($s,"TEMPLATEHTML"));
71 } 70 }
72 - return (array("atlas"=>$atlas,"tituloinstituicao"=>$tituloinstituicao,"atlasxml"=>$this->arquivo)); 71 + return (array("atlas"=>$atlas,"tituloinstituicao"=>$tituloinstituicao));
73 } 72 }
74 /* 73 /*
75 Method: criaAtlas 74 Method: criaAtlas
classesphp/classe_mapa.php
@@ -257,8 +257,6 @@ Redesenha o mapa e retorna as variáveis necessárias para montar o mapa. @@ -257,8 +257,6 @@ Redesenha o mapa e retorna as variáveis necessárias para montar o mapa.
257 257
258 Parametros: 258 Parametros:
259 259
260 -$locsistemas - Endereço do arquivo xml com a lista de sistemas adicionais.  
261 -$locidentifica - Variável definida no arquivo ms_configura.php que identifica se existem sistemas adicionais a ser mostrados na opção de identificação.  
262 $tipoimagem - filtro que será aplicado na imagem (opcional). 260 $tipoimagem - filtro que será aplicado na imagem (opcional).
263 261
264 Return: 262 Return:
@@ -268,7 +266,7 @@ string - parametros do corpo do mapa @@ -268,7 +266,7 @@ string - parametros do corpo do mapa
268 Include: 266 Include:
269 <classe_imagem.php> 267 <classe_imagem.php>
270 */ 268 */
271 - function redesenhaCorpo($locsistemas,$locidentifica,$tipoimagem,$utilizacgi,$locmapserv) 269 + function redesenhaCorpo($tipoimagem,$utilizacgi,$locmapserv)
272 { 270 {
273 if(file_exists($this->locaplic."/classe_imagem.php")) 271 if(file_exists($this->locaplic."/classe_imagem.php"))
274 include_once($this->locaplic."/classe_imagem.php"); 272 include_once($this->locaplic."/classe_imagem.php");
@@ -380,7 +378,6 @@ Include: @@ -380,7 +378,6 @@ Include:
380 { 378 {
381 $nomer = $locmapserv."?map=".$this->arquivo."&mode=map&".nomeRandomico(); 379 $nomer = $locmapserv."?map=".$this->arquivo."&mode=map&".nomeRandomico();
382 } 380 }
383 - //$res = "g_locidentifica='".$locidentifica."';g_sistemas='".$locsistemas."';var g_celula=".$this->mapa->cellsize.";var mapscale = ".$this->mapa->scale.";var mapres=".$this->mapa->resolution.";var mapcellsize=".$this->mapa->cellsize.";var mapexten='".$ext."';var mapimagem='".$nomer."';var mapwidth=".$imgo->width.";var mapheight=".$imgo->height.";var mappath='".$imgo->imagepath."';var mapurl='".$imgo->imageurl."';var erro='".$mensagemErro."'";  
384 $res["mapscale"] = $this->mapa->scale; 381 $res["mapscale"] = $this->mapa->scale;
385 $res["mapres"] = $this->mapa->resolution; 382 $res["mapres"] = $this->mapa->resolution;
386 $res["pixelsize"] = $this->mapa->cellsize; 383 $res["pixelsize"] = $this->mapa->cellsize;
classesphp/classe_menutemas.php
@@ -53,26 +53,24 @@ $map_file - (opcional) endereço do mapfile no servidor @@ -53,26 +53,24 @@ $map_file - (opcional) endereço do mapfile no servidor
53 53
54 $perfil - (opcional) lista dos perfis, separados por espaços, que devem restringir a lista de menus, grupos, temas e etc. 54 $perfil - (opcional) lista dos perfis, separados por espaços, que devem restringir a lista de menus, grupos, temas e etc.
55 55
56 -$locsistemas - (opcional) endereço do xml com a lista de sistemas adicionais que serão listados na opção de adiçao de temas  
57 -  
58 $locaplic - (opcional) endereço físico do i3geo 56 $locaplic - (opcional) endereço físico do i3geo
59 57
60 -$menutemas - (opcional) array contendo a lista de menus para compor a árvore de temas (veja o i3geo/ms_configura)  
61 -  
62 $urli3geo - (opcional) url onde está o i3geo (p.ex. http://localhost/i3geo 58 $urli3geo - (opcional) url onde está o i3geo (p.ex. http://localhost/i3geo
63 59
64 $editores - (opcional) array com os editores cadastrados no ms_configura.php 60 $editores - (opcional) array com os editores cadastrados no ms_configura.php
65 61
66 $idioma - (opcional) pt|en|es|it 62 $idioma - (opcional) pt|en|es|it
67 */ 63 */
68 - function __construct($map_file="",$perfil="",$locsistemas="",$locaplic="",$menutemas="",$urli3geo="",$editores="",$idioma="pt") 64 + function __construct($map_file="",$perfil="",$locaplic="",$urli3geo="",$editores="",$idioma="pt")
69 { 65 {
  66 + if($editores == "")
  67 + {
  68 + if(file_exists("../ms_configura.php"))
  69 + {include_once("../ms_configura.php");}
  70 + }
70 $perfil = str_replace(" ",",",$perfil); 71 $perfil = str_replace(" ",",",$perfil);
71 $this->perfil = explode(",",$perfil); 72 $this->perfil = explode(",",$perfil);
72 - $this->locsistemas = $locsistemas;  
73 - $this->xmlsistemas = "";  
74 $this->locaplic = $locaplic; 73 $this->locaplic = $locaplic;
75 - $this->menutemas = $menutemas;  
76 $this->urli3geo = $urli3geo; 74 $this->urli3geo = $urli3geo;
77 $this->idioma = $idioma; 75 $this->idioma = $idioma;
78 if (($map_file != "") && (file_exists($map_file))) 76 if (($map_file != "") && (file_exists($map_file)))
@@ -113,23 +111,12 @@ array @@ -113,23 +111,12 @@ array
113 $resultado = array(); 111 $resultado = array();
114 //necessário por conta da inclusao do conexao.php 112 //necessário por conta da inclusao do conexao.php
115 $locaplic = $this->locaplic; 113 $locaplic = $this->locaplic;
116 - //  
117 - //se $menutemas estiver "", o i3geo  
118 - //irá utilizar o sistema de administração para pegar os menus  
119 - //  
120 - if($this->menutemas == "")  
121 - {  
122 - if(!isset($this->locaplic))  
123 - {return "locaplic nao foi definido";}  
124 - include_once($this->locaplic."/admin/php/classe_arvore.php");  
125 - $arvore = new Arvore($this->locaplic,$this->idioma);  
126 - $resultado = $arvore->pegaListaDeMenus($this->perfil);  
127 - unset($arvore);  
128 - }  
129 - else  
130 - {$resultado = $this->menutemas;}  
131 - if(count($resultado) == 0)  
132 - {$resultado[] = array("publicado"=>"SIM","idmenu"=>"i3geo (xml)","arquivo"=>"../menutemas/menutemas.xml","status"=>"aberto");} 114 + if(!isset($this->locaplic))
  115 + {return "locaplic nao foi definido";}
  116 + include_once($this->locaplic."/admin/php/classe_arvore.php");
  117 + $arvore = new Arvore($this->locaplic,$this->idioma);
  118 + $resultado = $arvore->pegaListaDeMenus($this->perfil);
  119 + unset($arvore);
133 return ($resultado); 120 return ($resultado);
134 } 121 }
135 /* 122 /*
@@ -155,174 +142,24 @@ array @@ -155,174 +142,24 @@ array
155 */ 142 */
156 function pegaListaDeGrupos($idmenu="",$listasistemas="sim",$listasgrupos="sim") 143 function pegaListaDeGrupos($idmenu="",$listasistemas="sim",$listasgrupos="sim")
157 { 144 {
158 - //  
159 - //lê os arquivos xml  
160 - //"&tipo=gruposeraiz" pega apenas os nomes dos grupos e temas na raiz  
161 - //  
162 - //necessário por conta da inclusao do conexao.php  
163 $locaplic = $this->locaplic; 145 $locaplic = $this->locaplic;
164 - include_once($this->locaplic."/admin/php/xml.php");  
165 if($listasgrupos == "sim") 146 if($listasgrupos == "sim")
166 {$tipo = "";} 147 {$tipo = "";}
167 else 148 else
168 {$tipo = "gruposeraiz";} 149 {$tipo = "gruposeraiz";}
169 - $this->xml = "";  
170 $tempm = $this->pegaListaDeMenus(); 150 $tempm = $this->pegaListaDeMenus();
171 - $xmls = array();  
172 foreach($tempm as $menu) 151 foreach($tempm as $menu)
173 { 152 {
174 if($menu["idmenu"] == $idmenu || $idmenu == "") 153 if($menu["idmenu"] == $idmenu || $idmenu == "")
175 { 154 {
176 - if(!isset($menu["url"])){$menu["url"] = "";} //para efeitos de compatibilidade entre versões do i3geo  
177 - $ondexml = $menu["arquivo"];  
178 - //if(!isset($menu["publicado"])){$ondexml = $menu["url"];}  
179 - if($ondexml != "" && $this->menutemas != "")  
180 - {  
181 - $xml = simplexml_load_file($ondexml);  
182 - $grupos = $this->retornaGrupos($xml,$listasistemas,$idmenu,$listasgrupos);  
183 - }  
184 - else //pega o xml do sistema de administração  
185 - {  
186 - include_once("../admin/php/classe_arvore.php");  
187 - $arvore = new Arvore($this->locaplic,$this->idioma);  
188 - $grupos = $arvore->formataGruposMenu($idmenu,$this->perfil,$listasgrupos);  
189 - unset($arvore);  
190 - } 155 + include_once("../admin/php/classe_arvore.php");
  156 + $arvore = new Arvore($this->locaplic,$this->idioma);
  157 + $grupos = $arvore->formataGruposMenu($idmenu,$this->perfil,$listasgrupos);
  158 + unset($arvore);
191 } 159 }
192 } 160 }
193 return ($grupos); 161 return ($grupos);
194 } 162 }
195 - function retornaGrupos($xml,$listasistemas,$idmenu,$listasgrupos)  
196 - {  
197 - $sistemas = array();  
198 - $grupos = array();  
199 - $temasraiz = array();  
200 - //  
201 - //pega os temas na raiz  
202 - //  
203 - foreach($xml->TEMA as $temar)  
204 - {  
205 - $down = "sim";  
206 - $ogc = "sim";  
207 - $temp = $this->ixml($temar,"DOWNLOAD");  
208 - if (($temp == "nao") || ($temp == "NAO"))  
209 - {$down = "nao";}  
210 - $temp = $this->ixml($temar,"OGC");  
211 - if (($temp == "nao") || ($temp == "NAO"))  
212 - {$ogc = "nao";}  
213 - $link = " ";  
214 - $temp = $this->ixml($temar,"TLINK");  
215 - if ($temp != "")  
216 - {$link = $temp;}  
217 - $tid = $this->ixml($temar,"TID");  
218 - $nome = $this->ixml($temar,"TNOME");  
219 - $temasraiz[] = array("tid"=>$tid,"nome"=>$nome,"link"=>$link,"download"=>$down,"ogc"=>$ogc);  
220 - }  
221 - foreach($xml->GRUPO as $grupo)  
222 - {  
223 - $incluigrupo = TRUE;  
224 - //filtra pelo perfil  
225 - $temp = $this->ixml($grupo,"PERFIL");  
226 - if ($temp != "")  
227 - {  
228 - $incluigrupo = FALSE;  
229 - $perfis = str_replace(","," ",$temp);  
230 - $perfis = explode(" ",$perfis);  
231 - if ($this->array_in_array($this->perfil,$perfis))  
232 - {$incluigrupo = TRUE;}  
233 - }  
234 - //verifica se existem temas no nível de grupo  
235 - if ($incluigrupo == TRUE)  
236 - {  
237 - $temas = array();  
238 - foreach($grupo->TEMA as $temar)  
239 - {  
240 - $down = "sim";  
241 - $ogc = "sim";  
242 - $temp = $this->ixml($temar,"DOWNLOAD");  
243 - if (($temp == "nao") || ($temp == "NAO"))  
244 - {$down = "nao";}  
245 - $temp = $this->ixml($temar,"OGC");  
246 - if (($temp == "nao") || ($temp == "NAO"))  
247 - {$ogc = "nao";}  
248 - $link = " ";  
249 - $temp = $this->ixml($temar,"TLINK");  
250 - if ($temp != "")  
251 - {$link = $temp;}  
252 - $tid = $this->ixml($temar,"TID");  
253 - $nome = $this->ixml($temar,"TNOME");  
254 - $temas[] = array("tid"=>$tid,"nome"=>$nome,"link"=>$link,"download"=>$down,"ogc"=>$ogc);  
255 - }  
256 - $grupodown = "sim";  
257 - $grupoogc = "sim";  
258 - foreach($grupo->SGRUPO as $sgrupo)  
259 - {  
260 - foreach($sgrupo->TEMA as $tema)  
261 - {  
262 - $temp = $this->ixml($tema,"DOWNLOAD");  
263 - if (($temp == "nao") || ($temp == "NAO"))  
264 - {$grupodown = "nao";}  
265 - else  
266 - {$grupodown = "sim";}  
267 - $temp = $this->ixml($tema,"OGC");  
268 - if (($temp == "nao") || ($temp == "NAO"))  
269 - {$grupoogc = "nao";}  
270 - else  
271 - {$grupoogc = "sim";}  
272 - }  
273 - }  
274 - $subgrupos = array();  
275 - if($listasgrupos=="sim")  
276 - {  
277 - foreach($grupo->SGRUPO as $sgrupo)  
278 - {  
279 - $incluisgrupo = TRUE;  
280 - $temp = $this->ixml($sgrupo,"PERFIL");  
281 - if ($temp != "")  
282 - {  
283 - $incluisgrupo = FALSE;  
284 - $perfis = str_replace(","," ",$temp);  
285 - $perfis = explode(" ",$perfis);  
286 - if ($this->array_in_array($this->perfil,$perfis))  
287 - {$incluisgrupo = TRUE;}  
288 - }  
289 - if ($incluisgrupo == TRUE)  
290 - {  
291 - //verifica se existem temas que podem receber download  
292 - $down = "sim";  
293 - $ogc = "sim";  
294 - foreach($sgrupo->TEMA as $tema)  
295 - {  
296 - $temp = $this->ixml($tema,"DOWNLOAD");  
297 - if (($temp == "nao") || ($temp == "NAO"))  
298 - {$down = "nao";}  
299 - else  
300 - {$down = "sim";}  
301 - $temp = $this->ixml($tema,"OGC");  
302 - if (($temp == "nao") || ($temp == "NAO"))  
303 - {$ogc = "nao";}  
304 - else  
305 - {$ogc = "sim";}  
306 - }  
307 - $nome = $this->ixml($sgrupo,"SDTIPO");  
308 - $subgrupos[] = array("nome"=>$nome,"download"=>$down,"ogc"=>$ogc);  
309 - }  
310 - }  
311 - }  
312 - $nome = $this->ixml($grupo,"GTIPO");  
313 - $grupos[] = array("nome"=>$nome,"ogc"=>$grupoogc,"download"=>$grupodown,"subgrupos"=>$subgrupos,"temasgrupo"=>$temas);  
314 - }  
315 - }  
316 - $grupos[] = array("temasraiz"=>$temasraiz);  
317 - //pega os sistemas checando os perfis  
318 - $sistemas = array();  
319 - if ($listasistemas == "sim")  
320 - {$sistemas = pegaSistemas();}  
321 - $grupos[] = array("idmenu"=>$idmenu);  
322 - $grupos[] = array("sistemas"=>$sistemas);  
323 - return($grupos);  
324 -  
325 - }  
326 /* 163 /*
327 function: pegaListaDeSubGrupos 164 function: pegaListaDeSubGrupos
328 165
@@ -345,106 +182,20 @@ array @@ -345,106 +182,20 @@ array
345 function pegaListaDeSubGrupos($codgrupo,$idmenu="") 182 function pegaListaDeSubGrupos($codgrupo,$idmenu="")
346 { 183 {
347 $locaplic=$this->locaplic; 184 $locaplic=$this->locaplic;
348 - include_once($this->locaplic."/admin/php/xml.php");  
349 $tipo = "subgrupos"; 185 $tipo = "subgrupos";
350 - $this->xml = "";  
351 foreach($this->pegaListaDeMenus() as $menu) 186 foreach($this->pegaListaDeMenus() as $menu)
352 { 187 {
353 if($menu["idmenu"] == $idmenu || $idmenu == "") 188 if($menu["idmenu"] == $idmenu || $idmenu == "")
354 { 189 {
355 - if(!isset($menu["url"])){$menu["url"] = "";} //para efeitos de compatibilidade entre versões do i3geo  
356 - $ondexml = $menu["arquivo"];  
357 - if($menu["url"] != ""){$ondexml = $menu["url"];}  
358 - if($ondexml != "" && $this->menutemas != "")  
359 - {$this->xml = simplexml_load_file($ondexml);}  
360 - else //pega o xml do sistema de administração  
361 - {  
362 - //$this->xml = simplexml_load_string(geraXmlMenutemas(implode(" ",$this->perfil),$idmenu,$tipo,$this->locaplic));  
363 - //echo geraXmlMenutemas(implode(" ",$this->perfil),$idmenu,$tipo,$this->locaplic);exit;  
364 - include_once("../admin/php/classe_arvore.php");  
365 - $arvore = new Arvore($this->locaplic,$this->idioma);  
366 - $subGrupos = $arvore->formataSubgruposGrupo($idmenu,$codgrupo,$this->perfil);  
367 - unset($arvore);  
368 - return($subGrupos);  
369 - } 190 + include_once("../admin/php/classe_arvore.php");
  191 + $arvore = new Arvore($this->locaplic,$this->idioma);
  192 + $subGrupos = $arvore->formataSubgruposGrupo($idmenu,$codgrupo,$this->perfil);
  193 + unset($arvore);
  194 + return($subGrupos);
370 } 195 }
371 } 196 }
372 $conta = 0; 197 $conta = 0;
373 $subgrupos[] = array(); 198 $subgrupos[] = array();
374 - foreach($this->xml->GRUPO as $grupo)  
375 - {  
376 - $temp = $this->ixml($grupo,"PERFIL");  
377 - if ($conta == $codgrupo)  
378 - {  
379 - $incluigrupo = TRUE;  
380 - if ($temp != "")  
381 - {  
382 - $incluigrupo = FALSE;  
383 - $perfis = str_replace(","," ",$temp);  
384 - $perfis = explode(" ",$perfis);  
385 - if ($this->array_in_array($this->perfil,$perfis))  
386 - {$incluigrupo = TRUE;}  
387 - }  
388 - //verifica se existem temas no nível de grupo  
389 - if ($incluigrupo == TRUE)  
390 - {  
391 - $subgrupos = array();  
392 - foreach($grupo->SGRUPO as $sgrupo)  
393 - {  
394 - $incluisgrupo = TRUE;  
395 - $temp = $this->ixml($sgrupo,"PERFIL");  
396 - if ($temp != "")  
397 - {  
398 - $incluisgrupo = FALSE;  
399 - $perfis = str_replace(","," ",$temp);  
400 - $perfis = explode(" ",$perfis);  
401 - if ($this->array_in_array($this->perfil,$perfis))  
402 - {$incluisgrupo = TRUE;}  
403 - }  
404 - if (($incluisgrupo == TRUE))  
405 - {  
406 - $down = "sim";  
407 - $ogc = "sim";  
408 - foreach($sgrupo->TEMA as $tema)  
409 - {  
410 - $temp = $this->ixml($tema,"DOWNLOAD");  
411 - if (($temp == "nao") || ($temp == "NAO"))  
412 - {$down = "nao";}  
413 - else  
414 - {$down = "sim";}  
415 - $temp = $this->ixml($tema,"OGC");  
416 - if (($temp == "nao") || ($temp == "NAO"))  
417 - {$ogc = "nao";}  
418 - else  
419 - {$ogc = "sim";}  
420 - }  
421 - $nome = $this->ixml($sgrupo,"SDTIPO");  
422 - $subgrupos[] = array("nome"=>$nome,"ogc"=>$ogc,"download"=>$down);  
423 - }  
424 - }  
425 - }  
426 - $temas = array();  
427 - foreach($grupo->TEMA as $temar)  
428 - {  
429 - $down = "sim";  
430 - $ogc = "sim";  
431 - $temp = $this->ixml($temar,"DOWNLOAD");  
432 - if (($temp == "nao") || ($temp == "NAO"))  
433 - {$down = "nao";}  
434 - $temp = $this->ixml($temar,"OGC");  
435 - if (($temp == "nao") || ($temp == "NAO"))  
436 - {$ogc = "nao";}  
437 - $link = " ";  
438 - $temp = $this->ixml($temar,"TLINK");  
439 - if ($temp != "")  
440 - {$link = $temp;}  
441 - $tid = $this->ixml($temar,"TID");  
442 - $nome = $this->ixml($temar,"TNOME");  
443 - $temas[] = array("tid"=>$tid,"nome"=>$nome,"link"=>$link,"download"=>$down,"ogc"=>$ogc);  
444 - }  
445 - }  
446 - $conta = $conta + 1;  
447 - }  
448 return (array("subgrupo"=>$subgrupos,"temasgrupo"=>$temas)); 199 return (array("subgrupo"=>$subgrupos,"temasgrupo"=>$temas));
449 } 200 }
450 /* 201 /*
@@ -462,101 +213,11 @@ array @@ -462,101 +213,11 @@ array
462 */ 213 */
463 function pegaListaDeTemas($grupo,$subgrupo,$idmenu) 214 function pegaListaDeTemas($grupo,$subgrupo,$idmenu)
464 { 215 {
465 - include_once($this->locaplic."/admin/php/xml.php");  
466 - $tipo = "";  
467 - $this->xml = "";  
468 - foreach($this->pegaListaDeMenus() as $menu)  
469 - {  
470 - if($menu["idmenu"] == $idmenu || $idmenu == "")  
471 - {  
472 - if(!isset($menu["url"])){$menu["url"] = "";} //para efeitos de compatibilidade entre versões do i3geo  
473 - $ondexml = $menu["arquivo"];  
474 - if($menu["url"] != ""){$ondexml = $menu["url"];}  
475 - if($ondexml != "" && $this->menutemas != "")  
476 - {$this->xml = simplexml_load_file($ondexml);}  
477 - else //pega os dados do sistema de administração  
478 - {  
479 - //$this->xml = simplexml_load_string(geraXmlMenutemas(implode(" ",$this->perfil),$idmenu,$tipo,$this->locaplic));  
480 - include_once("../admin/php/classe_arvore.php");  
481 - $arvore = new Arvore($this->locaplic,$this->idioma);  
482 - $temas = $arvore->formataTemasSubgrupo($subgrupo,$this->perfil);  
483 - unset($arvore);  
484 - return($temas);  
485 - }  
486 - }  
487 - }  
488 - $contagrupo = 0;  
489 - $temas = array();  
490 - foreach($this->xml->GRUPO as $g)  
491 - {  
492 - $incluigrupo = TRUE;  
493 - if ($this->ixml($g,"PERFIL") != "")  
494 - {  
495 - $incluigrupo = FALSE;  
496 - $temp = $this->ixml($g,"PERFIL");  
497 - $perfis = str_replace(","," ",$temp);  
498 - $perfis = explode(" ",$perfis);  
499 - if ($this->array_in_array($this->perfil,$perfis))  
500 - {$incluigrupo = TRUE;}  
501 - }  
502 - if ($incluigrupo == TRUE)  
503 - {  
504 - if ($contagrupo == $grupo)  
505 - {  
506 - $contasubgrupo = 0;  
507 - foreach ($g->SGRUPO as $s)  
508 - {  
509 - $incluisgrupo = TRUE;  
510 - if ($this->ixml($s,"PERFIL") != "")  
511 - {  
512 - $incluisgrupo = FALSE;  
513 - $temp = $this->ixml($s,"PERFIL");  
514 - $perfis = str_replace(","," ",$temp);  
515 - $perfis = explode(" ",$perfis);  
516 - if ($this->array_in_array($this->perfil,$perfis))  
517 - {$incluisgrupo = TRUE;}  
518 - }  
519 - if ($incluisgrupo == TRUE)  
520 - {  
521 - if ($contasubgrupo == $subgrupo)  
522 - {  
523 - foreach($s->TEMA as $tema)  
524 - {  
525 - $inclui = TRUE;  
526 - if ($this->ixml($tema,"PERFIL") != "")  
527 - {  
528 - $inclui = FALSE;  
529 - $temp = $this->ixml($tema,"PERFIL");  
530 - $perfis = str_replace(","," ",$temp);  
531 - $perfis = explode(" ",$perfis);  
532 - if ($this->array_in_array($this->perfil,$perfis))  
533 - {$inclui = TRUE;}  
534 - }  
535 - if ($inclui == TRUE)  
536 - {  
537 - $down = "sim";  
538 - if (($tema->DOWNLOAD == "nao") || ($tema->DOWNLOAD == "NAO"))  
539 - {$down = "nao";}  
540 - $ogc = "sim";  
541 - if (($tema->OGC == "nao") || ($tema->OGC == "NAO"))  
542 - {$ogc = "nao";}  
543 - $link = " ";  
544 - if ($tema->TLINK != "")  
545 - {$link = $this->ixml($tema,"TLINK");}  
546 - $tid = $this->ixml($tema,"TID");  
547 - $nome = $this->ixml($tema,"TNOME");  
548 - $temas[] = array("nacessos"=>($this->ixml($tema,"NACESSOS")),"tid"=>$tid,"nome"=>$nome,"link"=>$link,"download"=>$down,"ogc"=>$ogc,"kmz"=>"nao");  
549 - }  
550 - }  
551 - }  
552 - $contasubgrupo = $contasubgrupo + 1;  
553 - }  
554 - }  
555 - }  
556 - $contagrupo = $contagrupo + 1;  
557 - }  
558 - }  
559 - return ($temas); 216 + include_once("../admin/php/classe_arvore.php");
  217 + $arvore = new Arvore($this->locaplic,$this->idioma);
  218 + $temas = $arvore->formataTemasSubgrupo($subgrupo,$this->perfil);
  219 + unset($arvore);
  220 + return($temas);
560 } 221 }
561 /* 222 /*
562 function: pegaListaDeMapas 223 function: pegaListaDeMapas
@@ -621,13 +282,12 @@ Array @@ -621,13 +282,12 @@ Array
621 { 282 {
622 error_reporting(0); 283 error_reporting(0);
623 include_once($this->locaplic."/admin/php/xml.php"); 284 include_once($this->locaplic."/admin/php/xml.php");
624 - if ($this->locsistemas != "")  
625 - {$xmlsistemas = simplexml_load_file($this->locsistemas);}  
626 - else  
627 - {$xmlsistemas = simplexml_load_string(geraXmlSistemas(implode(" ",$this->perfil),$this->locaplic,$this->editores));} 285 + $xmlsistemas = simplexml_load_string(geraXmlSistemas(implode(" ",$this->perfil),$this->locaplic,$this->editores));
  286 + $sistemas = array();
628 foreach($xmlsistemas->SISTEMA as $s) 287 foreach($xmlsistemas->SISTEMA as $s)
629 { 288 {
630 $publicado = $this->ixml($s,"PUBLICADO"); 289 $publicado = $this->ixml($s,"PUBLICADO");
  290 +
631 if(strtolower($publicado) != "nao" || $this->editor) 291 if(strtolower($publicado) != "nao" || $this->editor)
632 { 292 {
633 $nomesis = $this->ixml($s,"NOMESIS"); 293 $nomesis = $this->ixml($s,"NOMESIS");
classesphp/mapa_controle.php
@@ -88,8 +88,6 @@ Variáveis de Seção: @@ -88,8 +88,6 @@ Variáveis de Seção:
88 dir_tmp - diretório, no servidor, temporário utilizado pelo I3Geo, exemplo: c:/ms4w/tmp/ms_tmp 88 dir_tmp - diretório, no servidor, temporário utilizado pelo I3Geo, exemplo: c:/ms4w/tmp/ms_tmp
89 locmapserv - localização, no servidor, do CGI, exemplo: /cgi-bin/mapserv.exe 89 locmapserv - localização, no servidor, do CGI, exemplo: /cgi-bin/mapserv.exe
90 locaplic - localização, no servidor, do I3Geo, exemplo: c:/ms4w/apache/htdocs/i3geo 90 locaplic - localização, no servidor, do I3Geo, exemplo: c:/ms4w/apache/htdocs/i3geo
91 -locsistemas - localização do xml com a llista de temas, exemplo: /menutemas/sistemas.xml  
92 -locidentifica - localilzação do xml que define os sistemas adicionais incluídos na opção de identificação, exemplo: /menutemas/identifica.xml  
93 R_path - localização, no servidor, do executável do pacote R, exemplo: c:/ms4w/apache/htdocs/i3geo/pacotes/r/win/bin/R.exe 91 R_path - localização, no servidor, do executável do pacote R, exemplo: c:/ms4w/apache/htdocs/i3geo/pacotes/r/win/bin/R.exe
94 imgurl - url das imagens geradas pelo mapa, exemplo: http://localhost/ms_tmp/imgTVHbdijFMk/ 92 imgurl - url das imagens geradas pelo mapa, exemplo: http://localhost/ms_tmp/imgTVHbdijFMk/
95 tmpurl - url do diretório temporário, exemplo: http://localhost/ms_tmp/ 93 tmpurl - url do diretório temporário, exemplo: http://localhost/ms_tmp/
@@ -1737,15 +1735,8 @@ Pega a lista de tags registrados nos menus de temas. @@ -1737,15 +1735,8 @@ Pega a lista de tags registrados nos menus de temas.
1737 <Menutemas->listatags> 1735 <Menutemas->listatags>
1738 */ 1736 */
1739 case "LISTATAGS": 1737 case "LISTATAGS":
1740 - if(!isset($menutemas))  
1741 - {  
1742 - if (file_exists("../ms_configura.php"))  
1743 - {include_once("../ms_configura.php");}  
1744 - else  
1745 - {include_once($locaplic."/ms_configura.php");}  
1746 - }  
1747 include_once("classe_menutemas.php"); 1738 include_once("classe_menutemas.php");
1748 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo); 1739 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo);
1749 $retorno = $m->listatags($rss,$nrss); 1740 $retorno = $m->listatags($rss,$nrss);
1750 break; 1741 break;
1751 /* 1742 /*
@@ -1756,15 +1747,8 @@ Pega a lista de menus para incluir na guia adiciona. @@ -1756,15 +1747,8 @@ Pega a lista de menus para incluir na guia adiciona.
1756 <Menutemas->pegaListaDeMenus> 1747 <Menutemas->pegaListaDeMenus>
1757 */ 1748 */
1758 case "PEGALISTADEMENUS": 1749 case "PEGALISTADEMENUS":
1759 - if(!isset($menutemas) || !isset($editores))  
1760 - {  
1761 - if (file_exists("../ms_configura.php"))  
1762 - {include_once("../ms_configura.php");}  
1763 - else  
1764 - {include_once($locaplic."/ms_configura.php");}  
1765 - }  
1766 include_once("classe_menutemas.php"); 1750 include_once("classe_menutemas.php");
1767 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$editores,$idioma); 1751 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$editores,$idioma);
1768 $retorno = $m->pegaListaDeMenus(); 1752 $retorno = $m->pegaListaDeMenus();
1769 break; 1753 break;
1770 /* 1754 /*
@@ -1775,17 +1759,9 @@ Pega a lista de grupos do menu. @@ -1775,17 +1759,9 @@ Pega a lista de grupos do menu.
1775 <Menutemas->pegaListaDeGrupos> 1759 <Menutemas->pegaListaDeGrupos>
1776 */ 1760 */
1777 case "PEGALISTADEGRUPOS": 1761 case "PEGALISTADEGRUPOS":
1778 - if(!isset($menutemas) || !isset($editores))  
1779 - {  
1780 - if (file_exists("../ms_configura.php"))  
1781 - {include_once("../ms_configura.php");}  
1782 - else  
1783 - {include_once($locaplic."/ms_configura.php");}  
1784 - }  
1785 include_once("classe_menutemas.php"); 1762 include_once("classe_menutemas.php");
1786 -  
1787 if(!isset($urli3geo)){$urli3geo = "";} 1763 if(!isset($urli3geo)){$urli3geo = "";}
1788 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$editores,$idioma); 1764 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$editores,$idioma);
1789 if(!isset($idmenu)){$idmenu="";} 1765 if(!isset($idmenu)){$idmenu="";}
1790 if(!isset($listasistemas)){$listasistemas="nao";} 1766 if(!isset($listasistemas)){$listasistemas="nao";}
1791 if(!isset($listasgrupos)){$listasgrupos="nao";} 1767 if(!isset($listasgrupos)){$listasgrupos="nao";}
@@ -1799,15 +1775,8 @@ Pega a lista de sistemas. @@ -1799,15 +1775,8 @@ Pega a lista de sistemas.
1799 <Menutemas->pegaSistemas> 1775 <Menutemas->pegaSistemas>
1800 */ 1776 */
1801 case "PEGASISTEMAS": 1777 case "PEGASISTEMAS":
1802 - if(!isset($locsistemas) || !isset($editores))  
1803 - {  
1804 - if (file_exists("../ms_configura.php"))  
1805 - {include_once("../ms_configura.php");}  
1806 - else  
1807 - {include_once($locaplic."/ms_configura.php");}  
1808 - }  
1809 include_once("classe_menutemas.php"); 1778 include_once("classe_menutemas.php");
1810 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,"","",$editores,$idioma); 1779 + $m = new Menutemas($map_file,$perfil,$locaplic,"",$editores,$idioma);
1811 $retorno = $m->pegaSistemas(); 1780 $retorno = $m->pegaSistemas();
1812 break; 1781 break;
1813 1782
@@ -1819,15 +1788,8 @@ Pega a lista de subgrupos de um grupo do menu. @@ -1819,15 +1788,8 @@ Pega a lista de subgrupos de um grupo do menu.
1819 <Menutemas->pegaListaDeSubGrupos> 1788 <Menutemas->pegaListaDeSubGrupos>
1820 */ 1789 */
1821 case "PEGALISTADESUBGRUPOS": 1790 case "PEGALISTADESUBGRUPOS":
1822 - if(!isset($menutemas) || !isset($editores))  
1823 - {  
1824 - if (file_exists("../ms_configura.php"))  
1825 - {include_once("../ms_configura.php");}  
1826 - else  
1827 - {include_once($locaplic."/ms_configura.php");}  
1828 - }  
1829 include_once("classe_menutemas.php"); 1791 include_once("classe_menutemas.php");
1830 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$editores,$idioma); 1792 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$editores,$idioma);
1831 if(!isset($idmenu)){$idmenu = "";} 1793 if(!isset($idmenu)){$idmenu = "";}
1832 $retorno = $m->pegaListaDeSubGrupos($grupo,$idmenu); 1794 $retorno = $m->pegaListaDeSubGrupos($grupo,$idmenu);
1833 break; 1795 break;
@@ -1839,15 +1801,8 @@ Pega a lista de temas do menu. @@ -1839,15 +1801,8 @@ Pega a lista de temas do menu.
1839 <Menutemas->pegaListaDeTemas> 1801 <Menutemas->pegaListaDeTemas>
1840 */ 1802 */
1841 case "PEGALISTADETEMAS": 1803 case "PEGALISTADETEMAS":
1842 - if(!isset($menutemas) || !isset($editores))  
1843 - {  
1844 - if (file_exists("../ms_configura.php"))  
1845 - {include_once("../ms_configura.php");}  
1846 - else  
1847 - {include_once($locaplic."/ms_configura.php");}  
1848 - }  
1849 include_once("classe_menutemas.php"); 1804 include_once("classe_menutemas.php");
1850 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$editores,$idioma); 1805 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$editores,$idioma);
1851 if(!isset($idmenu)){$idmenu = "";} 1806 if(!isset($idmenu)){$idmenu = "";}
1852 $retorno = array("temas"=>$m->pegaListaDeTemas($grupo,$subgrupo,$idmenu)); 1807 $retorno = array("temas"=>$m->pegaListaDeTemas($grupo,$subgrupo,$idmenu));
1853 break; 1808 break;
@@ -1859,15 +1814,8 @@ Procura um tema no menu considerando apenas os existentes em subgruppos. @@ -1859,15 +1814,8 @@ Procura um tema no menu considerando apenas os existentes em subgruppos.
1859 <Menutemas->procurartemas> 1814 <Menutemas->procurartemas>
1860 */ 1815 */
1861 case "PROCURARTEMAS": 1816 case "PROCURARTEMAS":
1862 - if(!isset($menutemas) || !isset($editores))  
1863 - {  
1864 - if (file_exists("../ms_configura.php"))  
1865 - {include_once("../ms_configura.php");}  
1866 - else  
1867 - {include_once($locaplic."/ms_configura.php");}  
1868 - }  
1869 include_once("classe_menutemas.php"); 1817 include_once("classe_menutemas.php");
1870 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$editores,$idioma); 1818 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$editores,$idioma);
1871 $retorno = $m->procurartemas($procurar); 1819 $retorno = $m->procurartemas($procurar);
1872 break; 1820 break;
1873 /* 1821 /*
@@ -1878,15 +1826,8 @@ Procura um tema no menu considerando todos os níveis. @@ -1878,15 +1826,8 @@ Procura um tema no menu considerando todos os níveis.
1878 <Menutemas->procurartemas2> 1826 <Menutemas->procurartemas2>
1879 */ 1827 */
1880 case "PROCURARTEMAS2": 1828 case "PROCURARTEMAS2":
1881 - if(!isset($menutemas) || !isset($editores))  
1882 - {  
1883 - if (file_exists("../ms_configura.php"))  
1884 - {include_once("../ms_configura.php");}  
1885 - else  
1886 - {include_once($locaplic."/ms_configura.php");}  
1887 - }  
1888 include_once("classe_menutemas.php"); 1829 include_once("classe_menutemas.php");
1889 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$editores,$idioma); 1830 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$editores,$idioma);
1890 $retorno = $m->procurartemas2($procurar); 1831 $retorno = $m->procurartemas2($procurar);
1891 break; 1832 break;
1892 /* 1833 /*
@@ -1900,14 +1841,7 @@ Utilizado no preenchimento da guia mapas @@ -1900,14 +1841,7 @@ Utilizado no preenchimento da guia mapas
1900 */ 1841 */
1901 case "PEGAMAPAS": 1842 case "PEGAMAPAS":
1902 include_once("classe_menutemas.php"); 1843 include_once("classe_menutemas.php");
1903 - if(!isset($menutemas) || !isset($editores))  
1904 - {  
1905 - if (file_exists("../ms_configura.php"))  
1906 - {include_once("../ms_configura.php");}  
1907 - else  
1908 - {include_once($locaplic."/ms_configura.php");}  
1909 - }  
1910 - $m = new Menutemas($map_file,$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo,$idioma); 1844 + $m = new Menutemas($map_file,$perfil,$locaplic,$urli3geo,$idioma);
1911 $retorno = $m->pegaListaDeMapas($locmapas); 1845 $retorno = $m->pegaListaDeMapas($locmapas);
1912 break; 1846 break;
1913 /* 1847 /*
@@ -2968,7 +2902,7 @@ tipoimagem {String} - tipo de imagem que será gerada nenhum|cinza|sepianormal|se @@ -2968,7 +2902,7 @@ tipoimagem {String} - tipo de imagem que será gerada nenhum|cinza|sepianormal|se
2968 */ 2902 */
2969 function redesenhaMapa() 2903 function redesenhaMapa()
2970 { 2904 {
2971 - global $tempo,$map_file,$locsistemas,$locidentifica,$tipoimagem,$cp,$postgis_mapa,$utilizacgi,$locmapserv,$interface,$mapexten; 2905 + global $tempo,$map_file,$tipoimagem,$cp,$postgis_mapa,$utilizacgi,$locmapserv,$interface,$mapexten;
2972 if($tipoimagem != "nenhum" && $tipoimagem != "") 2906 if($tipoimagem != "nenhum" && $tipoimagem != "")
2973 {$utilizacgi = "nao";} 2907 {$utilizacgi = "nao";}
2974 if (connection_aborted()){exit();} 2908 if (connection_aborted()){exit();}
@@ -3001,7 +2935,7 @@ function redesenhaMapa() @@ -3001,7 +2935,7 @@ function redesenhaMapa()
3001 $res["mapurl"] = ""; 2935 $res["mapurl"] = "";
3002 } 2936 }
3003 else{ 2937 else{
3004 - $res = $m->redesenhaCorpo($locsistemas,$locidentifica,$tipoimagem,$utilizacgi,$locmapserv); 2938 + $res = $m->redesenhaCorpo($tipoimagem,$utilizacgi,$locmapserv);
3005 } 2939 }
3006 $res["mensagens"] = $m->pegaMensagens(); 2940 $res["mensagens"] = $m->pegaMensagens();
3007 $res["tempo"] = microtime(1) - $tempo; 2941 $res["tempo"] = microtime(1) - $tempo;
classesphp/mapa_inicia.php
@@ -58,14 +58,8 @@ $w - Largura da imagem do mapa. @@ -58,14 +58,8 @@ $w - Largura da imagem do mapa.
58 58
59 $h - Altura da imagem do mapa. 59 $h - Altura da imagem do mapa.
60 60
61 -$locsistemas - Variável definida no arquivo ms_configura.php que identifica se existem sistemas associados que serão incluídos na guia de adição de temas.  
62 -  
63 -$locidentifica - Variável definida no arquivo ms_configura.php que identifica se existem sistemas adicionais a ser mostrados na opção de identificação.  
64 -  
65 $R_path - Variável definida no arquivo ms_configura.php que indica se o software R está instalado. 61 $R_path - Variável definida no arquivo ms_configura.php que indica se o software R está instalado.
66 62
67 -$locmapas - Variável definida no arquivo ms_configura.php que indica se a guia de mapas deve ser mostrada.  
68 -  
69 $locmapserv - Variável definida no arquivo ms_configura.php que indica nome do mapserver cgi. 63 $locmapserv - Variável definida no arquivo ms_configura.php que indica nome do mapserver cgi.
70 64
71 $kmlurl - url de um arquivo kml que será inserido no mapa. Válido para a interface google maps 65 $kmlurl - url de um arquivo kml que será inserido no mapa. Válido para a interface google maps
@@ -102,7 +96,7 @@ Retorno: @@ -102,7 +96,7 @@ Retorno:
102 */ 96 */
103 function iniciaMapa() 97 function iniciaMapa()
104 { 98 {
105 - global $interfacePadrao,$mensagemInicia,$kmlurl,$tituloInstituicao,$tempo,$navegadoresLocais,$locaplic,$embedLegenda,$map_file,$mapext,$w,$h,$locsistemas,$locidentifica,$R_path,$locmapas,$locmapserv,$utilizacgi,$expoeMapfile,$interface; 99 + global $interfacePadrao,$mensagemInicia,$kmlurl,$tituloInstituicao,$tempo,$navegadoresLocais,$locaplic,$embedLegenda,$map_file,$mapext,$w,$h,$R_path,$locmapserv,$utilizacgi,$expoeMapfile,$interface;
106 if(!isset($kmlurl)) 100 if(!isset($kmlurl))
107 {$kmlurl = "";} 101 {$kmlurl = "";}
108 error_reporting(E_ALL); 102 error_reporting(E_ALL);
@@ -150,7 +144,6 @@ function iniciaMapa() @@ -150,7 +144,6 @@ function iniciaMapa()
150 $protocolo = $protocolo[0]; 144 $protocolo = $protocolo[0];
151 $protocolo = strtolower($protocolo) . '://'.$_SERVER['SERVER_NAME'] .":". $_SERVER['SERVER_PORT']; 145 $protocolo = strtolower($protocolo) . '://'.$_SERVER['SERVER_NAME'] .":". $_SERVER['SERVER_PORT'];
152 $urli3geo = str_replace("/classesphp/mapa_controle.php","",$protocolo.$_SERVER["PHP_SELF"]); 146 $urli3geo = str_replace("/classesphp/mapa_controle.php","",$protocolo.$_SERVER["PHP_SELF"]);
153 - $locidentifica = ($locidentifica == "") ? $urli3geo."/admin/xmlidentifica.php" : $locidentifica;  
154 //altera o tamanho do query map para ficar igual ao do mapa 147 //altera o tamanho do query map para ficar igual ao do mapa
155 include_once("classe_mapa.php"); 148 include_once("classe_mapa.php");
156 error_reporting(E_ALL); 149 error_reporting(E_ALL);
@@ -256,10 +249,7 @@ function iniciaMapa() @@ -256,10 +249,7 @@ function iniciaMapa()
256 $res["versaoms"] = $versao["principal"]; 249 $res["versaoms"] = $versao["principal"];
257 $res["versaomscompleta"] = $versao["completa"]; 250 $res["versaomscompleta"] = $versao["completa"];
258 $res["mensagens"] = $m->pegaMensagens(); 251 $res["mensagens"] = $m->pegaMensagens();
259 - $res["locsistemas"] = $locsistemas;  
260 - $res["locidentifica"] = $locidentifica;  
261 $res["r"] = (isset($R_path)) ? "sim" : "nao"; 252 $res["r"] = (isset($R_path)) ? "sim" : "nao";
262 - $res["locmapas"] = $locmapas;  
263 $res["extentref"] = ""; 253 $res["extentref"] = "";
264 $res["kmlurl"] = $kmlurl; 254 $res["kmlurl"] = $kmlurl;
265 $res["mensageminicia"] = $mensagemInicia; 255 $res["mensageminicia"] = $mensagemInicia;
@@ -274,49 +264,9 @@ function iniciaMapa() @@ -274,49 +264,9 @@ function iniciaMapa()
274 $res["mappath"] = $imgo->imagepath; 264 $res["mappath"] = $imgo->imagepath;
275 $res["mapurl"] = $imgo->imageurl; 265 $res["mapurl"] = $imgo->imageurl;
276 $res["navegacaoDir"] = $navegadoresLocais; 266 $res["navegacaoDir"] = $navegadoresLocais;
277 - /*  
278 - $res = "var mapexten= '".$ext."';var mapscale=".$escalaMapa.";var mapres=".$m->mapa->resolution.";var g_celula=".$celula.";var mapimagem='".$nomer."';var mapwidth=".$imgo->width.";var mapheight=".$imgo->height.";var mappath='".$imgo->imagepath."';var mapurl='".$imgo->imageurl."'";  
279 - $res .= ";var extentref = '';var refimagem='';var refwidth=0;var refpath='';var refurl=''";  
280 - $res .= ";var legimagem='';var legwidth=0;var legheight=0;var legpath='';var legurl='';var locsistemas='".$locsistemas."';var locidentifica='".$locidentifica."'";  
281 - $r = (isset($R_path)) ? "sim" : "nao";  
282 - $res .= ";var r='".$r."'"; //identifica se o r esta instalado  
283 - $res .= ";var locmapas='".$locmapas."'";  
284 - if ((isset($expoeMapfile)) && ($expoeMapfile == "nao"))  
285 - {$res .= ";var mapfile=''";}  
286 - else  
287 - {$res .= ";var mapfile='".$map_file."'";}  
288 - $res .= ";var cgi='".$locmapserv."'";  
289 - $res .= ";var utilizacgi='".$utilizacgi."'";  
290 - $res .= ";var titulo='".$tituloInstituicao."'";  
291 - $versao = versao();  
292 - $res .= ";var versaoms ='".$versao["principal"]."'";  
293 - $res .= ";var versaomscompleta ='".$versao["completa"]."'";  
294 - //Pega os estilos disponíveis  
295 - $visual = (file_exists($locaplic."/imagens/visual")) ? implode(",",listaDiretorios($locaplic."/imagens/visual")) : "";  
296 - $res .= ";var listavisual='".$visual."'";  
297 - //pega os usuários navegadores  
298 - //para efeitos de compatibilidade  
299 - $res .= ";var navegacaoDir='".$navegadoresLocais."'";  
300 - $res .= ($navegadoresLocais == "sim") ? ";i3GEO.arvoreDeTemas.OPCOESADICIONAIS.navegacaoDir=true" : ";i3GEO.arvoreDeTemas.OPCOESADICIONAIS.navegacaoDir=false";  
301 - //  
302 - //verifica se o pacote geoip está instalado ou não  
303 - //  
304 - $geoip = "nao";  
305 - if (file_exists($locaplic."/pacotes/geoip") && file_exists($locaplic."/pacotes/geoip/GeoLiteCity.dat"))  
306 - {$geoip = "sim";}  
307 - $res .= ";var geoip='".$geoip."';";  
308 - $res .= "var tempo =".(microtime(1) - $tempo).";";  
309 - $res .= "var mensagens ='".$m->pegaMensagens()."';";  
310 - $res .= "var kmlurl ='".$kmlurl."';";  
311 - $res .= "var mensagemInicia ='".$mensagemInicia."';";  
312 - $res .= "var interfacePadrao ='".$interfacePadrao."';";  
313 - $res .= "var embedLegenda ='".$embedLegenda."';";  
314 - $res .= "var erro ='';";  
315 - */  
316 267
317 copy($map_file,(str_replace(".map","reinc.map",$map_file))); 268 copy($map_file,(str_replace(".map","reinc.map",$map_file)));
318 copy($map_file,(str_replace(".map","seguranca.map",$map_file))); 269 copy($map_file,(str_replace(".map","seguranca.map",$map_file)));
319 - //$cp->set_data(array("variaveis"=>$res,"temas"=>$temas));  
320 cpjson(array("variaveis"=>$res,"temas"=>$temas)); 270 cpjson(array("variaveis"=>$res,"temas"=>$temas));
321 } 271 }
322 ?> 272 ?>
323 \ No newline at end of file 273 \ No newline at end of file
menutemas/atlas.xml
@@ -1,245 +0,0 @@ @@ -1,245 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<?xml-stylesheet type="text/xsl" href="menutemas.xsl"?>  
3 -<!--  
4 -Title: Lista de Atlas  
5 -  
6 -Lista os atlas que podem ser vistos no i3geo. Atlas é uma interface específica para uso no i3geo.  
7 -  
8 -File: i3geo/menutemas/atlas.xml  
9 --->  
10 -<RAIZ>  
11 -<!-- Cada atlas deve ter uma entrada aqui com seus parâmetros específicos-->  
12 - <ATLAS>  
13 - <!-- identificador numérico e único do Atlas-->  
14 - <ID>0</ID>  
15 - <!-- Aqui vai o título geral do Atlas -->  
16 - <TITULO>Título do atlas para testes</TITULO>  
17 - <!-- Aqui vai uma descricao resumida do Atlas -->  
18 - <DESCRICAO>Esse é um texto mais longo com a descrição do atlas</DESCRICAO>  
19 - <!-- endereco na web do icone utilizado para destacar o atlas -->  
20 - <ICONE>../imagens/atlas_icone2.jpg</ICONE>  
21 - <!-- Aqui vai o link HTML para mais informacoes-->  
22 - <LINKMAISINFO>testemaisinfo.htm</LINKMAISINFO>  
23 - <!-- Endereco na web do template HTML que sera utilizado no atlas, se for vazio será usado o default -->  
24 - <TEMPLATEHTML>http://localhost/i3geo/atlas/geral.htm</TEMPLATEHTML>  
25 - <!-- largura da janela do texto de apresentacao -->  
26 - <WABERTURA>500</WABERTURA>  
27 - <!-- altura da janela do texto de apresentacao -->  
28 - <HABERTURA>500</HABERTURA>  
29 - <!-- id da prancha que será aberta logo na inicialização-->  
30 - <PRANCHADEFAULT></PRANCHADEFAULT>  
31 - <!-- tipo de apresentação das guias dos atlas. Pode receber os valores "expandida" ou "automatica"-->  
32 - <TIPOGUIAS></TIPOGUIAS>  
33 - <!-- Nome do arquivo mapfile que será utilizado como base para elaboração do mapa. Utilize o caminho completo no servidor.-->  
34 - <BASEMAPFILE></BASEMAPFILE>  
35 - <!-- Cada prancha que compõe o Atlas tem aqui seus parâmetros definidos-->  
36 - <PRANCHAS>  
37 - <PRANCHA>  
38 - <!-- id da prancha -->  
39 - <ID>0</ID>  
40 - <!-- Titulo da prancha do atlas-->  
41 - <TITULO>Pranchax 1</TITULO>  
42 - <!-- Descricao da prancha do atlas-->  
43 - <DESCRICAO>Teste da prancha 1</DESCRICAO>  
44 - <!--endereco na web do icone utilizado para destacar a prancha-->  
45 - <ICONE></ICONE>  
46 - <!--Aqui vai o link HTML para mais informacoes-->  
47 - <LINKMAISINFO></LINKMAISINFO>  
48 - <!-- largura da janela do texto de apresentacao-->  
49 - <WABERTURA>200</WABERTURA>  
50 - <!-- altura da janela do texto de apresentacao-->  
51 - <HABERTURA>200</HABERTURA>  
52 - <!--extensão geográfica da prancha-->  
53 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
54 - <!-- Cada tema da prancha tem aqui seus parametros definidos-->  
55 - <TEMAS>  
56 - <TEMA>  
57 - <!-- código do tema, ou seja, nome do arquivo mapfile ou php existente no diretório temas do i3geo-->  
58 - <CODIGO></CODIGO>  
59 - <!-- indica se o tema será visível no mapa já na abertura-->  
60 - <LIGADO>sim</LIGADO>  
61 - </TEMA>  
62 - <TEMA>  
63 - <CODIGO></CODIGO>  
64 - <LIGADO>sim</LIGADO>  
65 - </TEMA>  
66 - </TEMAS>  
67 - </PRANCHA>  
68 - </PRANCHAS>  
69 - </ATLAS>  
70 - <ATLAS>  
71 - <ID>1</ID>  
72 - <TITULO>Unidades de Conservação</TITULO>  
73 - <DESCRICAO>Atlas das Unidades de Conservação brasileiras - experimental</DESCRICAO>  
74 - <ICONE>../imagens/atlas_icone1.jpg</ICONE>  
75 - <LINKMAISINFO>http://mapas.mma.gov.br/geodados/brasil/areasespec/atlas_ucs.html</LINKMAISINFO>  
76 - <TEMPLATEHTML>../atlas/geral.htm</TEMPLATEHTML>  
77 - <WABERTURA>400</WABERTURA>  
78 - <HABERTURA>380</HABERTURA>  
79 - <PRANCHADEFAULT></PRANCHADEFAULT>  
80 - <TIPOGUIAS>expandida</TIPOGUIAS>  
81 - <BASEMAPFILE>c:\geralteste.map</BASEMAPFILE>  
82 - <PRANCHAS>  
83 - <PRANCHA>  
84 - <ID>1</ID>  
85 - <TITULO>Todas</TITULO>  
86 - <DESCRICAO></DESCRICAO>  
87 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
88 - <ICONE>../imagens/minipizza.gif</ICONE>  
89 - <LINKMAISINFO>http://mapas.mma.gov.br/geodados/brasil/areasespec/atlas_ucs.html</LINKMAISINFO>  
90 - <WABERTURA></WABERTURA>  
91 - <HABERTURA></HABERTURA>  
92 - <TEMAS>  
93 - <TEMA>  
94 - <CODIGO>atlas_biomas</CODIGO>  
95 - <LIGADO>sim</LIGADO>  
96 - </TEMA>  
97 - <TEMA>  
98 - <CODIGO>atlas_ucsef</CODIGO>  
99 - <LIGADO>sim</LIGADO>  
100 - </TEMA>  
101 - </TEMAS>  
102 - </PRANCHA>  
103 - <PRANCHA>  
104 - <ID>2</ID>  
105 - <TITULO>Estaduais de proteção integral</TITULO>  
106 - <DESCRICAO></DESCRICAO>  
107 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
108 - <ICONE>../imagens/minipizza.gif</ICONE>  
109 - <LINKMAISINFO>http://mapas.mma.gov.br/geodados/brasil/areasespec/atlas_ucs.html</LINKMAISINFO>  
110 - <WABERTURA></WABERTURA>  
111 - <HABERTURA></HABERTURA>  
112 - <TEMAS>  
113 - <TEMA>  
114 - <CODIGO>atlas_biomas</CODIGO>  
115 - <LIGADO>sim</LIGADO>  
116 - </TEMA>  
117 - <TEMA>  
118 - <CODIGO>atlas_ucse</CODIGO>  
119 - <LIGADO>sim</LIGADO>  
120 - </TEMA>  
121 - </TEMAS>  
122 - </PRANCHA>  
123 - <PRANCHA>  
124 - <ID>3</ID>  
125 - <TITULO>Federais de proteção integral</TITULO>  
126 - <DESCRICAO></DESCRICAO>  
127 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
128 - <ICONE>../imagens/minipizza.gif</ICONE>  
129 - <LINKMAISINFO>http://mapas.mma.gov.br/geodados/brasil/areasespec/atlas_ucs.html</LINKMAISINFO>  
130 - <WABERTURA></WABERTURA>  
131 - <HABERTURA></HABERTURA>  
132 - <TEMAS>  
133 - <TEMA>  
134 - <CODIGO>atlas_biomas</CODIGO>  
135 - <LIGADO>sim</LIGADO>  
136 - </TEMA>  
137 - <TEMA>  
138 - <CODIGO>atlas_ucsf</CODIGO>  
139 - <LIGADO>sim</LIGADO>  
140 - </TEMA>  
141 - </TEMAS>  
142 - </PRANCHA>  
143 - <PRANCHA>  
144 - <ID>4</ID>  
145 - <TITULO>Teste de guia 1</TITULO>  
146 - <DESCRICAO></DESCRICAO>  
147 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
148 - <ICONE>../imagens/minipizza.gif</ICONE>  
149 - <LINKMAISINFO></LINKMAISINFO>  
150 - <WABERTURA></WABERTURA>  
151 - <HABERTURA></HABERTURA>  
152 - <TEMAS>  
153 - <TEMA>  
154 - <CODIGO>atlas_biomas</CODIGO>  
155 - <LIGADO>sim</LIGADO>  
156 - </TEMA>  
157 - <TEMA>  
158 - <CODIGO>atlas_ucsf</CODIGO>  
159 - <LIGADO>sim</LIGADO>  
160 - </TEMA>  
161 - </TEMAS>  
162 - </PRANCHA>  
163 - <PRANCHA>  
164 - <ID>5</ID>  
165 - <TITULO>Teste de guia 2</TITULO>  
166 - <DESCRICAO></DESCRICAO>  
167 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
168 - <ICONE>../imagens/minipizza.gif</ICONE>  
169 - <LINKMAISINFO></LINKMAISINFO>  
170 - <WABERTURA></WABERTURA>  
171 - <HABERTURA></HABERTURA>  
172 - <TEMAS>  
173 - <TEMA>  
174 - <CODIGO>atlas_biomas</CODIGO>  
175 - <LIGADO>sim</LIGADO>  
176 - </TEMA>  
177 - <TEMA>  
178 - <CODIGO>atlas_ucsf</CODIGO>  
179 - <LIGADO>sim</LIGADO>  
180 - </TEMA>  
181 - </TEMAS>  
182 - </PRANCHA>  
183 - <PRANCHA>  
184 - <ID>6</ID>  
185 - <TITULO>Teste de guia 3</TITULO>  
186 - <DESCRICAO></DESCRICAO>  
187 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
188 - <ICONE>../imagens/minipizza.gif</ICONE>  
189 - <LINKMAISINFO></LINKMAISINFO>  
190 - <WABERTURA></WABERTURA>  
191 - <HABERTURA></HABERTURA>  
192 - <TEMAS>  
193 - <TEMA>  
194 - <CODIGO>atlas_biomas</CODIGO>  
195 - <LIGADO>sim</LIGADO>  
196 - </TEMA>  
197 - <TEMA>  
198 - <CODIGO>atlas_ucsf</CODIGO>  
199 - <LIGADO>sim</LIGADO>  
200 - </TEMA>  
201 - </TEMAS>  
202 - </PRANCHA>  
203 - <PRANCHA>  
204 - <ID>7</ID>  
205 - <TITULO>Teste de guia 4</TITULO>  
206 - <DESCRICAO></DESCRICAO>  
207 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
208 - <ICONE>../imagens/minipizza.gif</ICONE>  
209 - <LINKMAISINFO></LINKMAISINFO>  
210 - <WABERTURA></WABERTURA>  
211 - <HABERTURA></HABERTURA>  
212 - <TEMAS>  
213 - <TEMA>  
214 - <CODIGO>atlas_biomas</CODIGO>  
215 - <LIGADO>sim</LIGADO>  
216 - </TEMA>  
217 - <TEMA>  
218 - <CODIGO>atlas_ucsf</CODIGO>  
219 - <LIGADO>sim</LIGADO>  
220 - </TEMA>  
221 - </TEMAS>  
222 - </PRANCHA>  
223 - <PRANCHA>  
224 - <ID>8</ID>  
225 - <TITULO>Teste de guia 5</TITULO>  
226 - <DESCRICAO></DESCRICAO>  
227 - <MAPEXT>-82,-39,-23,9</MAPEXT>  
228 - <ICONE>../imagens/minipizza.gif</ICONE>  
229 - <LINKMAISINFO></LINKMAISINFO>  
230 - <WABERTURA></WABERTURA>  
231 - <HABERTURA></HABERTURA>  
232 - <TEMAS>  
233 - <TEMA>  
234 - <CODIGO>atlas_biomas</CODIGO>  
235 - <LIGADO>sim</LIGADO>  
236 - </TEMA>  
237 - <TEMA>  
238 - <CODIGO>atlas_ucsf</CODIGO>  
239 - <LIGADO>sim</LIGADO>  
240 - </TEMA>  
241 - </TEMAS>  
242 - </PRANCHA>  
243 - </PRANCHAS>  
244 - </ATLAS>  
245 -</RAIZ>  
246 \ No newline at end of file 0 \ No newline at end of file
menutemas/geopr.xml
@@ -1,307 +0,0 @@ @@ -1,307 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<?xml-stylesheet type="text/xsl" href="menutemas.xsl"?>  
3 -<TEMASGEO>  
4 - <CABECALHO>Clique no grupo temático para abrir a lista de temas e ative o box relativo aos temas de interesse. Terminada a seleção dos temas, clique em um dos botões de aplicar alterações</CABECALHO>  
5 - <GRUPO>  
6 - <GTIPO>Agência Nacional de Energia Elétrica</GTIPO>  
7 - <DTIPO></DTIPO>  
8 - <SGRUPO>  
9 - <SDTIPO>ANEEL</SDTIPO>  
10 - <TEMA>  
11 - <TID>geopr_aneel_reservatorios</TID>  
12 - <TNOME>Reservat&amp;oacute;rios</TNOME>  
13 - <TDESC></TDESC>  
14 - <TLINK>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
15 - <TIPOA>WMS</TIPOA>  
16 - <TAGS>reservatório água energia</TAGS>  
17 - </TEMA>  
18 - <TEMA>  
19 - <TID>geopr_aneel_linhas</TID>  
20 - <TNOME>Linhas de transmiss&amp;atilde;o</TNOME>  
21 - <TDESC></TDESC>  
22 - <TLINK>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
23 - <TIPOA>WMS</TIPOA>  
24 - <TAGS>energia linhão</TAGS>  
25 - </TEMA>  
26 - <TEMA>  
27 - <TID>geopr_aneel_eolicas</TID>  
28 - <TNOME>Usinas e&amp;oacute;licas</TNOME>  
29 - <TDESC></TDESC>  
30 - <TLINK>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
31 - <TIPOA>WMS</TIPOA>  
32 - <TAGS>energia eólica</TAGS>  
33 - </TEMA>  
34 - <TEMA>  
35 - <TID>geopr_aneel_termeletricas</TID>  
36 - <TNOME>Usinas termel&amp;eacute;tricas</TNOME>  
37 - <TDESC></TDESC>  
38 - <TLINK>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
39 - <TIPOA>WMS</TIPOA>  
40 - <TAGS>energia térmica</TAGS>  
41 - </TEMA>  
42 - <TEMA>  
43 - <TID>geopr_aneel_aproveitamentos</TID>  
44 - <TNOME>Aproveitamentos hidrel&amp;eacute;tricos</TNOME>  
45 - <TDESC></TDESC>  
46 - <TLINK>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
47 - <TIPOA>WMS</TIPOA>  
48 - <TAGS>energia hidrelétrica</TAGS>  
49 - </TEMA>  
50 - <TEMA>  
51 - <TID>geopr_aneel_subestacoes</TID>  
52 - <TNOME>Sub-esta&amp;ccedil;&amp;otilde;es</TNOME>  
53 - <TDESC></TDESC>  
54 - <TLINK>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
55 - <TIPOA>WMS</TIPOA>  
56 - <TAGS>energia subestação</TAGS>  
57 - </TEMA>  
58 - </SGRUPO>  
59 - </GRUPO>  
60 - <GRUPO>  
61 - <GTIPO>Instituto Nacional de Pesquisas Espaciais</GTIPO>  
62 - <DTIPO></DTIPO>  
63 - <SGRUPO>  
64 - <SDTIPO>OGC Web Services - DSA-INPE</SDTIPO>  
65 - <TEMA>  
66 - <TID>geopr_dsainpe_fortracc120</TID>  
67 - <TNOME>Fortracc - Previsão 120 minutos</TNOME>  
68 - <TDESC></TDESC>  
69 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
70 - <TIPOA>WMS</TIPOA>  
71 - <TAGS>tempo previsão</TAGS>  
72 - </TEMA>  
73 - <TEMA>  
74 - <TID>geopr_dsainpe_fortrac</TID>  
75 - <TNOME>Fortracc - Estimativa de Chuva Atual</TNOME>  
76 - <TDESC></TDESC>  
77 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
78 - <TIPOA>WMS</TIPOA>  
79 - <TAGS>tempo previsão chuva</TAGS>  
80 - </TEMA>  
81 - <TEMA>  
82 - <TID>geopr_dsainpe_goes10</TID>  
83 - <TNOME>Imagem GOES 10</TNOME>  
84 - <TDESC></TDESC>  
85 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
86 - <TIPOA>WMS</TIPOA>  
87 - <TAGS>imagem goes satélite</TAGS>  
88 - </TEMA>  
89 - <TEMA>  
90 - <TID>geopr_dsainpe_mrg12</TID>  
91 - <TNOME>Mapa de Risco de Fogo- GOES-12</TNOME>  
92 - <TDESC>Mapa de Risco de ocorrência de fogo produzido diariamente para toda a extensão geográfica de cobertura das imagens do satélite GOES-12</TDESC>  
93 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
94 - <TIPOA>WMS</TIPOA>  
95 - <TAGS>risco fogo goes</TAGS>  
96 - </TEMA>  
97 - <TEMA>  
98 - <TID>geopr_dsainpe_mrp1</TID>  
99 - <TNOME>Mapa de Risco - Previsão 1 dia</TNOME>  
100 - <TDESC>Previsão do Mapa de Risco de Fogo gerado para amanha, com o Modelo Regional ETA-Climatológico, dados observacionais e Imagens do Satelite GOES-12.</TDESC>  
101 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
102 - <TIPOA>WMS</TIPOA>  
103 - <TAGS>previsão fogo risco</TAGS>  
104 - </TEMA>  
105 - <TEMA>  
106 - <TID>geopr_dsainpe_prec_inst</TID>  
107 - <TNOME>Precipitação Instantânea</TNOME>  
108 - <TDESC>Dados de estimativa de precipiatação obtidos apartir de imagens GOES-10.</TDESC>  
109 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
110 - <TIPOA>WMS</TIPOA>  
111 - <TAGS>tempo chuva</TAGS>  
112 - </TEMA>  
113 - <TEMA>  
114 - <TID>geopr_dsainpe_focos_2dias</TID>  
115 - <TNOME>Focos queimada</TNOME>  
116 - <TDESC>Todos os focos de Queimadas de hoje e ontem.</TDESC>  
117 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
118 - <TIPOA>WMS</TIPOA>  
119 - <TAGS>calor queimada</TAGS>  
120 - </TEMA>  
121 - <TEMA>  
122 - <TID>geopr_dsainpe_focos_acumulado</TID>  
123 - <TNOME>Focos queimada acumulados no mês</TNOME>  
124 - <TDESC>Todos os focos de Queimadas desde o início do mês até a data atual.</TDESC>  
125 - <TLINK>http://moingatu.cptec.inpe.br/cgi-bin/mapserv?map=/extra/www/html/webservice/ogc_fm.map&amp;service=wms&amp;amp;request=getcapabilities&amp;amp;version=1.1.1</TLINK>  
126 - <TIPOA>WMS</TIPOA>  
127 - <TAGS>calor queimada</TAGS>  
128 - </TEMA>  
129 - </SGRUPO>  
130 - </GRUPO>  
131 - <GRUPO>  
132 - <GTIPO>Sistema de Protecao da Amazonia</GTIPO>  
133 - <DTIPO></DTIPO>  
134 - <SGRUPO>  
135 - <SDTIPO>OGC - SIPAM</SDTIPO>  
136 - <TEMA>  
137 - <TID>geopr_sipam_aeroportos</TID>  
138 - <TNOME>Aeroportos e pistas de pouso</TNOME>  
139 - <TDESC></TDESC>  
140 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
141 - <TIPOA>WMS</TIPOA>  
142 - <TAGS>aeroporto</TAGS>  
143 - </TEMA>  
144 - <TEMA>  
145 - <TID>geopr_sipam_arco</TID>  
146 - <TNOME>Arco do desmatamento</TNOME>  
147 - <TDESC></TDESC>  
148 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
149 - <TIPOA>WMS</TIPOA>  
150 - <TAGS>desmatamento</TAGS>  
151 - </TEMA>  
152 - <TEMA>  
153 - <TID>geopr_sipam_localidades</TID>  
154 - <TNOME>Localizacao das cidades, vilas e capitais na Amazonia</TNOME>  
155 - <TDESC></TDESC>  
156 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
157 - <TIPOA>WMS</TIPOA>  
158 - <TAGS>localidade</TAGS>  
159 - </TEMA>  
160 - <TEMA>  
161 - <TID>geopr_sipam_ems</TID>  
162 - <TNOME>EMS - Estação metereológica de superfície</TNOME>  
163 - <TDESC></TDESC>  
164 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
165 - <TIPOA>WMS</TIPOA>  
166 - <TAGS>estação meteorológica</TAGS>  
167 - </TEMA>  
168 - <TEMA>  
169 - <TID>geopr_sipam_vsat</TID>  
170 - <TNOME>Estações VSAT</TNOME>  
171 - <TDESC></TDESC>  
172 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
173 - <TIPOA>WMS</TIPOA>  
174 - <TAGS>vsat</TAGS>  
175 - </TEMA>  
176 - <TEMA>  
177 - <TID>geopr_sipam_raios</TID>  
178 - <TNOME>Estações de detecção de raios</TNOME>  
179 - <TDESC></TDESC>  
180 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
181 - <TIPOA>WMS</TIPOA>  
182 - <TAGS>raios</TAGS>  
183 - </TEMA>  
184 - <TEMA>  
185 - <TID>geopr_sipam_eso</TID>  
186 - <TNOME>Estações de de superfície - Operacional</TNOME>  
187 - <TDESC></TDESC>  
188 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
189 - <TIPOA>WMS</TIPOA>  
190 - </TEMA>  
191 - <TEMA>  
192 - <TID>geopr_sipam_goes</TID>  
193 - <TNOME>Área de cobertura - Goes</TNOME>  
194 - <TDESC></TDESC>  
195 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
196 - <TIPOA>WMS</TIPOA>  
197 - <TAGS>goes</TAGS>  
198 - </TEMA>  
199 - <TEMA>  
200 - <TID>geopr_sipam_hfdf</TID>  
201 - <TNOME>Localização HF DF</TNOME>  
202 - <TDESC></TDESC>  
203 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
204 - <TIPOA>WMS</TIPOA>  
205 - </TEMA>  
206 - <TEMA>  
207 - <TID>geopr_sipam_pcds</TID>  
208 - <TNOME>PCDs</TNOME>  
209 - <TDESC></TDESC>  
210 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
211 - <TIPOA>WMS</TIPOA>  
212 - </TEMA>  
213 - <TEMA>  
214 - <TID>geopr_sipam_radarm</TID>  
215 - <TNOME>Radares metereológicos</TNOME>  
216 - <TDESC></TDESC>  
217 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
218 - <TIPOA>WMS</TIPOA>  
219 - </TEMA>  
220 - <TEMA>  
221 - <TID>geopr_sipam_tiros</TID>  
222 - <TNOME>Localização Tiros</TNOME>  
223 - <TDESC></TDESC>  
224 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
225 - <TIPOA>WMS</TIPOA>  
226 - </TEMA>  
227 - <TEMA>  
228 - <TID>geopr_sipam_solospo</TID>  
229 - <TNOME>Classes de solos</TNOME>  
230 - <TDESC></TDESC>  
231 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
232 - <TIPOA>WMS</TIPOA>  
233 - <TAGS>solos</TAGS>  
234 - </TEMA>  
235 - <TEMA>  
236 - <TID>geopr_sipam_solospt</TID>  
237 - <TNOME>Amostragem de solos</TNOME>  
238 - <TDESC></TDESC>  
239 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
240 - <TIPOA>WMS</TIPOA>  
241 - <TAGS>solos</TAGS>  
242 - </TEMA>  
243 - <TEMA>  
244 - <TID>geopr_sipam_vege</TID>  
245 - <TNOME>Vegetação</TNOME>  
246 - <TDESC></TDESC>  
247 - <TLINK>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS&amp;request=getcapabilities&amp;version=1.1.1</TLINK>  
248 - <TIPOA>WMS</TIPOA>  
249 - <TAGS>vegetação</TAGS>  
250 - </TEMA>  
251 - </SGRUPO>  
252 - </GRUPO>  
253 - <GRUPO>  
254 - <GTIPO>Agência Nacional das Águas</GTIPO>  
255 - <DTIPO></DTIPO>  
256 - <SGRUPO>  
257 - <SDTIPO>Base topológica hídrica</SDTIPO>  
258 - <TEMA>  
259 - <TID>geopr_ana_reghidro1</TID>  
260 - <TNOME>Região Hidrográfica Nível 1</TNOME>  
261 - <TDESC></TDESC>  
262 - <TLINK>http://200.140.135.184/cgi-bin/mapserv?map=/usr/local/www/apache22/data/hidro/wshidro.map&amp;request=getcapabilities&amp;version=1.1.1&amp;service=wms</TLINK>  
263 - <TIPOA>WMS</TIPOA>  
264 - <TAGS>rio</TAGS>  
265 - </TEMA>  
266 - <TEMA>  
267 - <TID>geopr_ana_microbacias</TID>  
268 - <TNOME>Micro-bacias</TNOME>  
269 - <TDESC></TDESC>  
270 - <TLINK>http://200.140.135.184/cgi-bin/mapserv?map=/usr/local/www/apache22/data/hidro/wshidro.map&amp;request=getcapabilities&amp;version=1.1.1&amp;service=wms</TLINK>  
271 - <TIPOA>WMS</TIPOA>  
272 - <TAGS>bacia</TAGS>  
273 - </TEMA>  
274 - <TEMA>  
275 - <TID>geopr_ana_federais</TID>  
276 - <TNOME>Rios Federais</TNOME>  
277 - <TDESC></TDESC>  
278 - <TLINK>http://200.140.135.184/cgi-bin/mapserv?map=/usr/local/www/apache22/data/hidro/wshidro.map&amp;request=getcapabilities&amp;version=1.1.1&amp;service=wms</TLINK>  
279 - <TIPOA>WMS</TIPOA>  
280 - <TAGS>rio</TAGS>  
281 - </TEMA>  
282 - </SGRUPO>  
283 - </GRUPO>  
284 - <GRUPO>  
285 - <GTIPO>INCRA</GTIPO>  
286 - <DTIPO></DTIPO>  
287 - <SGRUPO>  
288 - <SDTIPO>OGC - INCRA</SDTIPO>  
289 - <TEMA>  
290 - <TID>geopr_incra_assentamentos</TID>  
291 - <TNOME>Assentamentos</TNOME>  
292 - <TDESC></TDESC>  
293 - <TLINK>http://200.252.81.121/cgi-bin/mapserv?map=/usr/mapfiles/incra.map&amp;request=getcapabilities&amp;version=1.1.1&amp;service=wms</TLINK>  
294 - <TIPOA>WMS</TIPOA>  
295 - <TAGS>reforma agrária agricultura rural terra</TAGS>  
296 - </TEMA>  
297 - <TEMA>  
298 - <TID>geopr_incra_quilombola</TID>  
299 - <TNOME>Territórios quilombola</TNOME>  
300 - <TDESC></TDESC>  
301 - <TLINK>http://200.252.81.121/cgi-bin/mapserv?map=/usr/mapfiles/incra.map&amp;request=getcapabilities&amp;version=1.1.1&amp;service=wms</TLINK>  
302 - <TIPOA>WMS</TIPOA>  
303 - <TAGS>quilombo terra comunidade tradicional</TAGS>  
304 - </TEMA>  
305 - </SGRUPO>  
306 - </GRUPO>  
307 -</TEMASGEO>  
menutemas/identifica.xml
@@ -1,38 +0,0 @@ @@ -1,38 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<?xml-stylesheet type="text/xsl" href="menutemas.xsl"?>  
3 -<!--  
4 -Title: Lista de aplicações de identificação  
5 -  
6 -Lista as funções que são mostradas na ferramenta de identificação, possibilitando executar um programa específico para localizar dados.  
7 -  
8 -A ferramenta de identificação ira acrescentar ao final da url definida em ABRIR os parametros x e y, que correspondem ao ponto clicado no mapa.  
9 -  
10 -File: identifica.xml  
11 --->  
12 -<SISTEMAS>  
13 - <FUNCAO>  
14 - <NOMESIS>Município - IBGE</NOMESIS>  
15 - <ABRIR>http://mapas.mma.gov.br/mapas/aplic/dadosdoc/buscamun.php</ABRIR>  
16 - <TARGET>self</TARGET>  
17 - </FUNCAO>  
18 - <FUNCAO>  
19 - <NOMESIS>Escolas censo 2006</NOMESIS>  
20 - <ABRIR>http://mapas.mma.gov.br/mapas/aplic/dadosdoc/buscaeduca.php</ABRIR>  
21 - <TARGET>self</TARGET>  
22 - </FUNCAO>  
23 - <FUNCAO>  
24 - <NOMESIS>Saúde</NOMESIS>  
25 - <ABRIR>http://mapas.mma.gov.br/mapas/aplic/dadosdoc/buscasaude.php</ABRIR>  
26 - <TARGET>self</TARGET>  
27 - </FUNCAO>  
28 -  
29 - <FUNCAO>  
30 - <NOMESIS>SIGEPRO - ações do MMA</NOMESIS>  
31 - <ABRIR>http://mapas.mma.gov.br/mapas/aplic/sigepro2/lista_cruza_regioes.php</ABRIR>  
32 - </FUNCAO>  
33 - <FUNCAO>  
34 - <NOMESIS>Scielo</NOMESIS>  
35 - <ABRIR>http://mapas.mma.gov.br/mapas/aplic/dadosdoc/buscascielo.php</ABRIR>  
36 - <TARGET>self</TARGET>  
37 - </FUNCAO>  
38 -</SISTEMAS>  
39 \ No newline at end of file 0 \ No newline at end of file
menutemas/lag.xml
@@ -1,541 +0,0 @@ @@ -1,541 +0,0 @@
1 -<?xml version='1.0' encoding='UTF-8' ?>  
2 -<TEMASGEO>  
3 -<CABECALHO></CABECALHO>  
4 -<GRUPO>  
5 - <GTIPO>Agricultura, Extrativismo e Pesca</GTIPO>  
6 -<SGRUPO>  
7 -<SDTIPO>Abastecimento</SDTIPO>  
8 -<PERFIL></PERFIL>  
9 -</SGRUPO>  
10 -<SGRUPO>  
11 -<SDTIPO>Agricultura familiar</SDTIPO>  
12 -<PERFIL></PERFIL>  
13 -</SGRUPO>  
14 -<SGRUPO>  
15 -<SDTIPO>Agricultura de subsistência</SDTIPO>  
16 -<PERFIL></PERFIL>  
17 -</SGRUPO>  
18 -<SGRUPO>  
19 -<SDTIPO>Agricultura orgânica</SDTIPO>  
20 -<PERFIL></PERFIL>  
21 -</SGRUPO>  
22 -<SGRUPO>  
23 -<SDTIPO>Alimento</SDTIPO>  
24 -<PERFIL></PERFIL>  
25 -</SGRUPO>  
26 -<SGRUPO>  
27 -<SDTIPO>Assistência técnica</SDTIPO>  
28 -<PERFIL></PERFIL>  
29 -</SGRUPO>  
30 -<SGRUPO>  
31 -<SDTIPO>Defesa Vegetal</SDTIPO>  
32 -<PERFIL></PERFIL>  
33 -</SGRUPO>  
34 -<SGRUPO>  
35 -<SDTIPO>Engenharia agrícola</SDTIPO>  
36 -<PERFIL></PERFIL>  
37 -</SGRUPO>  
38 -<SGRUPO>  
39 -<SDTIPO>Extensão rural</SDTIPO>  
40 -<PERFIL></PERFIL>  
41 -</SGRUPO>  
42 -<SGRUPO>  
43 -<SDTIPO>Extrativismo</SDTIPO>  
44 -<PERFIL></PERFIL>  
45 -</SGRUPO>  
46 -<SGRUPO>  
47 -<SDTIPO>Organização Agrária</SDTIPO>  
48 -<PERFIL></PERFIL>  
49 -</SGRUPO>  
50 -<SGRUPO>  
51 -<SDTIPO>Pecuária</SDTIPO>  
52 -<PERFIL></PERFIL>  
53 -</SGRUPO>  
54 -<SGRUPO>  
55 -<SDTIPO>Pesca</SDTIPO>  
56 -<PERFIL></PERFIL>  
57 -</SGRUPO>  
58 -<SGRUPO>  
59 -<SDTIPO>Política agrícola</SDTIPO>  
60 -<PERFIL></PERFIL>  
61 -</SGRUPO>  
62 -<SGRUPO>  
63 -<SDTIPO>Produção vegetal</SDTIPO>  
64 -<PERFIL></PERFIL>  
65 -</SGRUPO>  
66 -<SGRUPO>  
67 -<SDTIPO>Produto vegetal</SDTIPO>  
68 -<PERFIL></PERFIL>  
69 -</SGRUPO>  
70 -<SGRUPO>  
71 -<SDTIPO>Solos</SDTIPO>  
72 -<PERFIL></PERFIL>  
73 -</SGRUPO>  
74 -<SGRUPO>  
75 -<SDTIPO>Transgenia e seqüenciamento</SDTIPO>  
76 -<PERFIL></PERFIL>  
77 -</SGRUPO>  
78 - <DTIPO></DTIPO>  
79 - <PERFIL></PERFIL>  
80 -</GRUPO>  
81 -<GRUPO>  
82 - <GTIPO>Ciência, Informação e Comunicação</GTIPO>  
83 -<SGRUPO>  
84 -<SDTIPO>Ciência e tecnologia</SDTIPO>  
85 -<PERFIL></PERFIL>  
86 -</SGRUPO>  
87 -<SGRUPO>  
88 -<SDTIPO>Comunicação</SDTIPO>  
89 -<PERFIL></PERFIL>  
90 -</SGRUPO>  
91 -<SGRUPO>  
92 -<SDTIPO>Informação: Gestão, Preservação e Acesso</SDTIPO>  
93 -<PERFIL></PERFIL>  
94 -</SGRUPO>  
95 - <DTIPO></DTIPO>  
96 - <PERFIL></PERFIL>  
97 -</GRUPO>  
98 -<GRUPO>  
99 - <GTIPO>Comércio, Serviços e Turismo</GTIPO>  
100 -<SGRUPO>  
101 -<SDTIPO>Comércio e Serviços</SDTIPO>  
102 -<PERFIL></PERFIL>  
103 -</SGRUPO>  
104 -<SGRUPO>  
105 -<SDTIPO>Turismo</SDTIPO>  
106 -<PERFIL></PERFIL>  
107 -</SGRUPO>  
108 - <DTIPO></DTIPO>  
109 - <PERFIL></PERFIL>  
110 -</GRUPO>  
111 -<GRUPO>  
112 - <GTIPO>Cultura , Lazer e Esporte</GTIPO>  
113 -<SGRUPO>  
114 -<SDTIPO>Cultura</SDTIPO>  
115 -<PERFIL></PERFIL>  
116 -</SGRUPO>  
117 -<SGRUPO>  
118 -<SDTIPO>Esporte</SDTIPO>  
119 -<PERFIL></PERFIL>  
120 -</SGRUPO>  
121 -<SGRUPO>  
122 -<SDTIPO>Lazer</SDTIPO>  
123 -<PERFIL></PERFIL>  
124 -</SGRUPO>  
125 - <DTIPO></DTIPO>  
126 - <PERFIL></PERFIL>  
127 -</GRUPO>  
128 -<GRUPO>  
129 - <GTIPO>Defesa e Segurança</GTIPO>  
130 -<SGRUPO>  
131 -<SDTIPO>Defesa Nacional</SDTIPO>  
132 -<PERFIL></PERFIL>  
133 -</SGRUPO>  
134 -<SGRUPO>  
135 -<SDTIPO>Segurança Nacional</SDTIPO>  
136 -<PERFIL></PERFIL>  
137 -</SGRUPO>  
138 -<SGRUPO>  
139 -<SDTIPO>Segurança pública</SDTIPO>  
140 -<PERFIL></PERFIL>  
141 -</SGRUPO>  
142 -<SGRUPO>  
143 -<SDTIPO>Serviço de inteligência</SDTIPO>  
144 -<PERFIL></PERFIL>  
145 -</SGRUPO>  
146 - <DTIPO></DTIPO>  
147 - <PERFIL></PERFIL>  
148 -</GRUPO>  
149 -<GRUPO>  
150 - <GTIPO>Economia e Finanças</GTIPO>  
151 -<SGRUPO>  
152 -<SDTIPO>Administração financeira</SDTIPO>  
153 -<PERFIL></PERFIL>  
154 -</SGRUPO>  
155 -<SGRUPO>  
156 -<SDTIPO>Economia</SDTIPO>  
157 -<PERFIL></PERFIL>  
158 -</SGRUPO>  
159 -<SGRUPO>  
160 -<SDTIPO>Encargos financeiros</SDTIPO>  
161 -<PERFIL></PERFIL>  
162 -</SGRUPO>  
163 -<SGRUPO>  
164 -<SDTIPO>Finanças</SDTIPO>  
165 -<PERFIL></PERFIL>  
166 -</SGRUPO>  
167 - <DTIPO></DTIPO>  
168 - <PERFIL></PERFIL>  
169 -</GRUPO>  
170 -<GRUPO>  
171 - <GTIPO>Educação</GTIPO>  
172 -<SGRUPO>  
173 -<SDTIPO>Assistência ao estudante</SDTIPO>  
174 -<PERFIL></PERFIL>  
175 -</SGRUPO>  
176 -<SGRUPO>  
177 -<SDTIPO>Avaliação do sistema educacional</SDTIPO>  
178 -<PERFIL></PERFIL>  
179 -</SGRUPO>  
180 -<SGRUPO>  
181 -<SDTIPO>Educação a distância</SDTIPO>  
182 -<PERFIL></PERFIL>  
183 -</SGRUPO>  
184 -<SGRUPO>  
185 -<SDTIPO>Educação ambiental</SDTIPO>  
186 -<PERFIL></PERFIL>  
187 -</SGRUPO>  
188 -<SGRUPO>  
189 -<SDTIPO>Educação básica</SDTIPO>  
190 -<PERFIL></PERFIL>  
191 -</SGRUPO>  
192 -<SGRUPO>  
193 -<SDTIPO>Educação de jovens e adultos</SDTIPO>  
194 -<PERFIL></PERFIL>  
195 -</SGRUPO>  
196 -<SGRUPO>  
197 -<SDTIPO>Educação do campo</SDTIPO>  
198 -<PERFIL></PERFIL>  
199 -</SGRUPO>  
200 -<SGRUPO>  
201 -<SDTIPO>Educação indígena</SDTIPO>  
202 -<PERFIL></PERFIL>  
203 -</SGRUPO>  
204 -<SGRUPO>  
205 -<SDTIPO>Educação para quilombolas</SDTIPO>  
206 -<PERFIL></PERFIL>  
207 -</SGRUPO>  
208 -<SGRUPO>  
209 -<SDTIPO>Educação profissional e tecnológica</SDTIPO>  
210 -<PERFIL></PERFIL>  
211 -</SGRUPO>  
212 -<SGRUPO>  
213 -<SDTIPO>Educação superior</SDTIPO>  
214 -<PERFIL></PERFIL>  
215 -</SGRUPO>  
216 -<SGRUPO>  
217 -<SDTIPO>Financiamento da educação</SDTIPO>  
218 -<PERFIL></PERFIL>  
219 -</SGRUPO>  
220 -<SGRUPO>  
221 -<SDTIPO>Gestão escolar</SDTIPO>  
222 -<PERFIL></PERFIL>  
223 -</SGRUPO>  
224 -<SGRUPO>  
225 -<SDTIPO>Legislação educacional</SDTIPO>  
226 -<PERFIL></PERFIL>  
227 -</SGRUPO>  
228 -<SGRUPO>  
229 -<SDTIPO>Métodos e meios de ensino e aprendizagem</SDTIPO>  
230 -<PERFIL></PERFIL>  
231 -</SGRUPO>  
232 -<SGRUPO>  
233 -<SDTIPO>Parâmetros e diretrizes curriculares nacionais</SDTIPO>  
234 -<PERFIL></PERFIL>  
235 -</SGRUPO>  
236 -<SGRUPO>  
237 -<SDTIPO>Profissionais da educação</SDTIPO>  
238 -<PERFIL></PERFIL>  
239 -</SGRUPO>  
240 - <DTIPO></DTIPO>  
241 - <PERFIL></PERFIL>  
242 -</GRUPO>  
243 -<GRUPO>  
244 - <GTIPO>Governo e Política</GTIPO>  
245 -<SGRUPO>  
246 -<SDTIPO>Administração Pública</SDTIPO>  
247 -<PERFIL></PERFIL>  
248 -</SGRUPO>  
249 -<SGRUPO>  
250 -<SDTIPO>Fiscalização do Estado</SDTIPO>  
251 -<PERFIL></PERFIL>  
252 -</SGRUPO>  
253 -<SGRUPO>  
254 -<SDTIPO>Governo Eletrônico</SDTIPO>  
255 -<PERFIL></PERFIL>  
256 -</SGRUPO>  
257 -<SGRUPO>  
258 -<SDTIPO>Organização do estado</SDTIPO>  
259 -<PERFIL></PERFIL>  
260 -</SGRUPO>  
261 -<SGRUPO>  
262 -<SDTIPO>Política</SDTIPO>  
263 -<PERFIL></PERFIL>  
264 -</SGRUPO>  
265 - <DTIPO></DTIPO>  
266 - <PERFIL></PERFIL>  
267 -</GRUPO>  
268 -<GRUPO>  
269 - <GTIPO>Habitação, Saneamento e Urbanismo</GTIPO>  
270 -<SGRUPO>  
271 -<SDTIPO>Habitação</SDTIPO>  
272 -<PERFIL></PERFIL>  
273 -</SGRUPO>  
274 -<SGRUPO>  
275 -<SDTIPO>Planejamento urbano</SDTIPO>  
276 -<PERFIL></PERFIL>  
277 -</SGRUPO>  
278 -<SGRUPO>  
279 -<SDTIPO>Saneamento</SDTIPO>  
280 -<PERFIL></PERFIL>  
281 -</SGRUPO>  
282 -<SGRUPO>  
283 -<SDTIPO>Serviços Urbanos</SDTIPO>  
284 -<PERFIL></PERFIL>  
285 -</SGRUPO>  
286 -<SGRUPO>  
287 -<SDTIPO>Urbanismo</SDTIPO>  
288 -<PERFIL></PERFIL>  
289 -</SGRUPO>  
290 - <DTIPO></DTIPO>  
291 - <PERFIL></PERFIL>  
292 -</GRUPO>  
293 -<GRUPO>  
294 - <GTIPO>Indústria</GTIPO>  
295 -<SGRUPO>  
296 -<SDTIPO>Política e gestão industrial</SDTIPO>  
297 -<PERFIL></PERFIL>  
298 -</SGRUPO>  
299 -<SGRUPO>  
300 -<SDTIPO>Produção industrial</SDTIPO>  
301 -<PERFIL></PERFIL>  
302 -</SGRUPO>  
303 -<SGRUPO>  
304 -<SDTIPO>Recursos energéticos</SDTIPO>  
305 -<PERFIL></PERFIL>  
306 -</SGRUPO>  
307 - <DTIPO></DTIPO>  
308 - <PERFIL></PERFIL>  
309 -</GRUPO>  
310 -<GRUPO>  
311 - <GTIPO>Justiça e Legislação</GTIPO>  
312 -<SGRUPO>  
313 -<SDTIPO>Justiça</SDTIPO>  
314 -<PERFIL></PERFIL>  
315 -</SGRUPO>  
316 -<SGRUPO>  
317 -<SDTIPO>Legislação e Jurisprudência</SDTIPO>  
318 -<PERFIL></PERFIL>  
319 -</SGRUPO>  
320 - <DTIPO></DTIPO>  
321 - <PERFIL></PERFIL>  
322 -</GRUPO>  
323 -<GRUPO>  
324 - <GTIPO>Meio Ambiente</GTIPO>  
325 -<SGRUPO>  
326 -<SDTIPO>Áreas Protegidas (Parques, Unidades de conservação)</SDTIPO>  
327 -<PERFIL></PERFIL>  
328 -</SGRUPO>  
329 -<SGRUPO>  
330 -<SDTIPO>Biodiversidade</SDTIPO>  
331 -<PERFIL></PERFIL>  
332 -</SGRUPO>  
333 -<SGRUPO>  
334 -<SDTIPO>Desenvolvimento sustentável</SDTIPO>  
335 -<PERFIL></PERFIL>  
336 -</SGRUPO>  
337 -<SGRUPO>  
338 -<SDTIPO>Educação ambiental</SDTIPO>  
339 -<PERFIL></PERFIL>  
340 -</SGRUPO>  
341 -<SGRUPO>  
342 -<SDTIPO>Fenômenos naturais</SDTIPO>  
343 -<PERFIL></PERFIL>  
344 -</SGRUPO>  
345 -<SGRUPO>  
346 -<SDTIPO>Gestão do meio ambiente</SDTIPO>  
347 -<PERFIL></PERFIL>  
348 -</SGRUPO>  
349 -<SGRUPO>  
350 -<SDTIPO>Recursos naturais</SDTIPO>  
351 -<PERFIL></PERFIL>  
352 -</SGRUPO>  
353 - <DTIPO></DTIPO>  
354 - <PERFIL></PERFIL>  
355 -</GRUPO>  
356 -<GRUPO>  
357 - <GTIPO>Pessoa, Família e Sociedade</GTIPO>  
358 -<SGRUPO>  
359 -<SDTIPO>Assistência e Desenvolvimento Social</SDTIPO>  
360 -<PERFIL></PERFIL>  
361 -</SGRUPO>  
362 -<SGRUPO>  
363 -<SDTIPO>Comunidade e Sociedade</SDTIPO>  
364 -<PERFIL></PERFIL>  
365 -</SGRUPO>  
366 -<SGRUPO>  
367 -<SDTIPO>Família</SDTIPO>  
368 -<PERFIL></PERFIL>  
369 -</SGRUPO>  
370 -<SGRUPO>  
371 -<SDTIPO>Organização e Participação da Sociedade Civil</SDTIPO>  
372 -<PERFIL></PERFIL>  
373 -</SGRUPO>  
374 -<SGRUPO>  
375 -<SDTIPO>Pessoa</SDTIPO>  
376 -<PERFIL></PERFIL>  
377 -</SGRUPO>  
378 -<SGRUPO>  
379 -<SDTIPO>Previdência Social</SDTIPO>  
380 -<PERFIL></PERFIL>  
381 -</SGRUPO>  
382 -<SGRUPO>  
383 -<SDTIPO>Proteção e defesa do cidadão</SDTIPO>  
384 -<PERFIL></PERFIL>  
385 -</SGRUPO>  
386 - <DTIPO></DTIPO>  
387 - <PERFIL></PERFIL>  
388 -</GRUPO>  
389 -<GRUPO>  
390 - <GTIPO>Relações Internacionais</GTIPO>  
391 -<SGRUPO>  
392 -<SDTIPO>Estrangeiro</SDTIPO>  
393 -<PERFIL></PERFIL>  
394 -</SGRUPO>  
395 -<SGRUPO>  
396 -<SDTIPO>Organizações internacionais</SDTIPO>  
397 -<PERFIL></PERFIL>  
398 -</SGRUPO>  
399 -<SGRUPO>  
400 -<SDTIPO>Política externa</SDTIPO>  
401 -<PERFIL></PERFIL>  
402 -</SGRUPO>  
403 -<SGRUPO>  
404 -<SDTIPO>Promoção comercial</SDTIPO>  
405 -<PERFIL></PERFIL>  
406 -</SGRUPO>  
407 -<SGRUPO>  
408 -<SDTIPO>Relações diplomáticas</SDTIPO>  
409 -<PERFIL></PERFIL>  
410 -</SGRUPO>  
411 -<SGRUPO>  
412 -<SDTIPO>Serviços consulares</SDTIPO>  
413 -<PERFIL></PERFIL>  
414 -</SGRUPO>  
415 - <DTIPO></DTIPO>  
416 - <PERFIL></PERFIL>  
417 -</GRUPO>  
418 -<GRUPO>  
419 - <GTIPO>Saúde</GTIPO>  
420 -<SGRUPO>  
421 -<SDTIPO>Auditoria</SDTIPO>  
422 -<PERFIL></PERFIL>  
423 -</SGRUPO>  
424 -<SGRUPO>  
425 -<SDTIPO>Ciência e tecnologia</SDTIPO>  
426 -<PERFIL></PERFIL>  
427 -</SGRUPO>  
428 -<SGRUPO>  
429 -<SDTIPO>Ética de profissionais de saúde</SDTIPO>  
430 -<PERFIL></PERFIL>  
431 -</SGRUPO>  
432 -<SGRUPO>  
433 -<SDTIPO>Legislação</SDTIPO>  
434 -<PERFIL></PERFIL>  
435 -</SGRUPO>  
436 -<SGRUPO>  
437 -<SDTIPO>Orçamento</SDTIPO>  
438 -<PERFIL></PERFIL>  
439 -</SGRUPO>  
440 -<SGRUPO>  
441 -<SDTIPO>Participação e Controle Social</SDTIPO>  
442 -<PERFIL></PERFIL>  
443 -</SGRUPO>  
444 -<SGRUPO>  
445 -<SDTIPO>Promoção da Saúde</SDTIPO>  
446 -<PERFIL></PERFIL>  
447 -</SGRUPO>  
448 -<SGRUPO>  
449 -<SDTIPO>Proteção da saúde</SDTIPO>  
450 -<PERFIL></PERFIL>  
451 -</SGRUPO>  
452 -<SGRUPO>  
453 -<SDTIPO>Recuperação da Saúde</SDTIPO>  
454 -<PERFIL></PERFIL>  
455 -</SGRUPO>  
456 -<SGRUPO>  
457 -<SDTIPO>Recursos humanos em saúde</SDTIPO>  
458 -<PERFIL></PERFIL>  
459 -</SGRUPO>  
460 -<SGRUPO>  
461 -<SDTIPO>Sistema de informação em saúde</SDTIPO>  
462 -<PERFIL></PERFIL>  
463 -</SGRUPO>  
464 -<SGRUPO>  
465 -<SDTIPO>Sistema de Saúde</SDTIPO>  
466 -<PERFIL></PERFIL>  
467 -</SGRUPO>  
468 - <DTIPO></DTIPO>  
469 - <PERFIL></PERFIL>  
470 -</GRUPO>  
471 -<GRUPO>  
472 - <GTIPO>Trabalho</GTIPO>  
473 -<SGRUPO>  
474 -<SDTIPO>Fiscalização do trabalho</SDTIPO>  
475 -<PERFIL></PERFIL>  
476 -</SGRUPO>  
477 -<SGRUPO>  
478 -<SDTIPO>Legislação trabalhista</SDTIPO>  
479 -<PERFIL></PERFIL>  
480 -</SGRUPO>  
481 -<SGRUPO>  
482 -<SDTIPO>Mercado de trabalho</SDTIPO>  
483 -<PERFIL></PERFIL>  
484 -</SGRUPO>  
485 -<SGRUPO>  
486 -<SDTIPO>Política trabalhista</SDTIPO>  
487 -<PERFIL></PERFIL>  
488 -</SGRUPO>  
489 -<SGRUPO>  
490 -<SDTIPO>Profissões e ocupações</SDTIPO>  
491 -<PERFIL></PERFIL>  
492 -</SGRUPO>  
493 -<SGRUPO>  
494 -<SDTIPO>Qualificação e aprendizagem profissional</SDTIPO>  
495 -<PERFIL></PERFIL>  
496 -</SGRUPO>  
497 -<SGRUPO>  
498 -<SDTIPO>Trabalho estrangeiro</SDTIPO>  
499 -<PERFIL></PERFIL>  
500 -</SGRUPO>  
501 - <DTIPO></DTIPO>  
502 - <PERFIL></PERFIL>  
503 -</GRUPO>  
504 -<GRUPO>  
505 - <GTIPO>Transportes e trânsito</GTIPO>  
506 -<SGRUPO>  
507 -<SDTIPO>Transporte aéreo</SDTIPO>  
508 -<PERFIL></PERFIL>  
509 -</SGRUPO>  
510 -<SGRUPO>  
511 -<SDTIPO>Transporte aquaviário (hidroviário)</SDTIPO>  
512 -<PERFIL></PERFIL>  
513 -</SGRUPO>  
514 -<SGRUPO>  
515 -<SDTIPO>Transporte dutoviário</SDTIPO>  
516 -<PERFIL></PERFIL>  
517 -</SGRUPO>  
518 -<SGRUPO>  
519 -<SDTIPO>Transporte ferroviário</SDTIPO>  
520 -<PERFIL></PERFIL>  
521 -</SGRUPO>  
522 -<SGRUPO>  
523 -<SDTIPO>Transporte internacional</SDTIPO>  
524 -<PERFIL></PERFIL>  
525 -</SGRUPO>  
526 -<SGRUPO>  
527 -<SDTIPO>Transporte multimodal</SDTIPO>  
528 -<PERFIL></PERFIL>  
529 -</SGRUPO>  
530 -<SGRUPO>  
531 -<SDTIPO>Transporte rodoviário</SDTIPO>  
532 -<PERFIL></PERFIL>  
533 -</SGRUPO>  
534 -<SGRUPO>  
535 -<SDTIPO>Transportes especiais</SDTIPO>  
536 -<PERFIL></PERFIL>  
537 -</SGRUPO>  
538 - <DTIPO></DTIPO>  
539 - <PERFIL></PERFIL>  
540 -</GRUPO>  
541 -</TEMASGEO>  
menutemas/linksdownload.xml
@@ -1,51 +0,0 @@ @@ -1,51 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<!--  
3 -Title: Lista de links para sites de download  
4 -  
5 -Utilizado no sistema de download de dados para apresentar links para sites que permitem o download de dados..  
6 -  
7 -File: i3geo/menutemas/linksdownload.xml  
8 --->  
9 -<rss version="2.0">  
10 -<channel>  
11 -<title>Links para sistemas de download</title>  
12 -<description>Links para sistemas de download de dados geográficos</description>  
13 -<link>http://www.mma.gov.br</link>  
14 -<docs></docs>  
15 -<copyright>Ministerio do Meio Ambiente</copyright>  
16 -<language>pt-br</language>  
17 -<webmaster>webmaster@mma.gov.br</webmaster>  
18 -  
19 -<item>  
20 -<category/>  
21 -<title>  
22 -Cartas de vegetação PROBIO  
23 -</title>  
24 -<description></description>  
25 -<link>  
26 -http://mapas.mma.gov.br/geodados/brasil/vegetacao/vegetacao2002  
27 -</link>  
28 -<pubDate></pubDate>  
29 -<author>  
30 -MMA  
31 -</author>  
32 -</item>  
33 -  
34 -<item>  
35 -<category/>  
36 -<title>  
37 -Cartas Geológicas  
38 -</title>  
39 -<description></description>  
40 -<link>  
41 -http://mapas.mma.gov.br/geodados/brasil/cprm/cartasgeologicaspdf/  
42 -</link>  
43 -<pubDate></pubDate>  
44 -<author>  
45 -CPRM  
46 -</author>  
47 -</item>  
48 -  
49 -  
50 -</channel>  
51 -</rss>  
52 \ No newline at end of file 0 \ No newline at end of file
menutemas/mapas.xml
@@ -1,33 +0,0 @@ @@ -1,33 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<!--  
3 -Title: Lista de mapas  
4 -  
5 -Lista os links para montagem da guia "mapas".  
6 -  
7 -File: i3geo/menutemas/mapas.xml  
8 --->  
9 -<MAPAS>  
10 -<MAPA>  
11 - <PERFIL></PERFIL>  
12 - <NOME>Cartas geol&amp;oacute;gicas do Brasil</NOME>  
13 - <DESCRICAO>Cartas geológicas da CPRM</DESCRICAO>  
14 - <IMAGEM>http://mapas.mma.gov.br/i3geo/imagens/banner_cprm.png</IMAGEM>  
15 - <TEMAS>cprmbrasilmag1 cprmbrasilgama1 cprmlito1 cprmfontes1 ucsfus ucsfi transporte hidrografia cprmrecmin1 cprmsedcor1 cprmpaleo1 cprmarcosaltos1 cprmestrut1 cprmfeicao1 cprmbat1 cprmcurvas1 cprmpisopacas1 cprmpto1 cprmkimb1 cprmoleo1 municip locali estadosl</TEMAS>  
16 - <LIGADOS>estadosl</LIGADOS>  
17 - <EXTENSAO></EXTENSAO>  
18 - <OUTROS>interface=http://mapas.mma.gov.br/mapas/aplic/cartasgeo/interface.htm</OUTROS>  
19 - <LINKDIRETO></LINKDIRETO>  
20 -</MAPA>  
21 -<MAPA>  
22 - <NOME>Biodiversidade</NOME>  
23 - <DESCRICAO>Biodiversidade Brasileira</DESCRICAO>  
24 - <IMAGEM>http://mapas.mma.gov.br/i3geo/imagens/banner_biodiversidade.png</IMAGEM>  
25 - <TEMAS>mosaicotm7 bioma probio ucsfus ucsfi ucsei ucseu indi hidrografia transporte estadosl</TEMAS>  
26 - <LIGADOS>estados mundo bioma ucsfus ucsfi ucsei ucseu indi estadosl</LIGADOS>  
27 - <EXTENSAO></EXTENSAO>  
28 - <OUTROS></OUTROS>  
29 - <LINKDIRETO></LINKDIRETO>  
30 -</MAPA>  
31 -<MAPA>  
32 -<NOME>Limites pol&amp;iacute;ticos</NOME> <DESCRICAO>Municípios, cidades e estados</DESCRICAO> <IMAGEM>http://mapas.mma.gov.br/i3geo/imagens/banner_limites.png</IMAGEM> <TEMAS>municip micro2001 meso2001 locali estadosl</TEMAS> <LIGADOS>estados mundo municip estadosl</LIGADOS> <EXTENSAO></EXTENSAO> <OUTROS></OUTROS> <LINKDIRETO></LINKDIRETO></MAPA><MAPA> <NOME>Amaz&amp;ocirc;nia</NOME> <DESCRICAO>Mapa da Amazônia Brasileira</DESCRICAO> <IMAGEM> http://mapas.mma.gov.br/i3geo/imagens/banner_amazonia.png</IMAGEM> <TEMAS>amazlegal br163 zeeam_vege zeeam_bio modelo_elevacao agroecolog_embrapa bioma probio glc2000 pdigital1997 pdigital2000 pdigital2001 pdigital2002 pdigital2003 pdigital2004 ucsfus ucsfi ucsei ucseu indi hidrografia transporte aeroporto usina locali municip estadosl</TEMAS> <LIGADOS>estados mundo amazlegal estadosl</LIGADOS> <EXTENSAO>-81.3665752271 -18.8315900519 -36.3219498753 5.66016252165</EXTENSAO> <OUTROS></OUTROS> <LINKDIRETO></LINKDIRETO></MAPA><MAPA> <NOME>&amp;Aacute;reas priorit&amp;aacute;rias para conserva&amp;ccedil;&amp;atilde;o - 2004</NOME> <DESCRICAO>Áreas prioritárias para conservação - 2004 - depreciado  
33 -</DESCRICAO> <IMAGEM>http://mapas.mma.gov.br/i3geo/imagens/banner_probio.png</IMAGEM> <TEMAS></TEMAS> <LIGADOS></LIGADOS> <EXTENSAO></EXTENSAO> <OUTROS></OUTROS> <LINKDIRETO>http://mapas.mma.gov.br/mapas/aplic/probio/index.htm</LINKDIRETO></MAPA></MAPAS>  
34 \ No newline at end of file 0 \ No newline at end of file
menutemas/menutemas.xml
@@ -1,185 +0,0 @@ @@ -1,185 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<?xml-stylesheet type="text/xsl" href="menutemas.xsl"?>  
3 -<!--  
4 -Title: Menu de temas  
5 -  
6 -Lista os temas disponíveis para ser acrescentados ao mapa  
7 -  
8 -File: i3geo/menutemas/menutemas.xml  
9 -  
10 -Para organizar a árvore de menus, siga o exemplo abaixo.  
11 -  
12 -Veja no site da comunidade i3geo, item wiki, mais detalhes sobre a configuração desse xml.  
13 --->  
14 -<TEMASGEO>  
15 - <CABECALHO>Clique no grupo temático para abrir a lista de temas e ative o box relativo aos temas de interesse. Terminada a seleção dos temas, clique em um dos botões de aplicar alterações</CABECALHO>  
16 - <!-- Temas podem ficar dentro de grupos, sub-grupos ou aparecer na raiz da árvore -->  
17 - <!-- início de um tema -->  
18 - <TEMA>  
19 - <!-- Código do tema. Deve existir um arquivo com este nome e extensão .map no diretório i3geo/temas contendo a definição do layer -->  
20 - <TID>cartobase</TID>  
21 - <!-- Nome do tema que será mostrado no menu de adição de temas -->  
22 - <TNOME>Cartografia básica (raster)</TNOME>  
23 - <!-- Descrição complementar. Mostrada quando o usuário passa o mouse sobre o nome -->  
24 - <TDESC>Web service com a cartografia básica</TDESC>  
25 - <!-- Link para informações complementares sobre o tema (fonte) -->  
26 - <TLINK>http://mapas.mma.gov.br/i3geo/wscliente.htm</TLINK>  
27 - <!-- tipo de acesso aos dados, deve ser definido apenas quando a camada for um web service OGC -->  
28 - <TIPOA>WMS</TIPOA>  
29 - <!-- Palavras chave utilizadas na nuvem de tags. Separe as palavras com espaço em branco -->  
30 - <TAGS>clima tempo</TAGS>  
31 - <!-- sim|nao (por default é nao). Indica se o tema será mostrado na aplicação datadownload.htm, permitindo ou não que o usuário faça o download por essa aplicação. -->  
32 - <DOWNLOAD>nao</DOWNLOAD>  
33 - <!-- sim|nao (por default é sim). Indica se a camada será disponibilizada no formato KML (google)-->  
34 - <KML>nao</KML>  
35 - <!-- sim|nao (por default é sim). Indica se a camada será disponibilizada como um web service nos padrões OGC -->  
36 - <OGC>nao</OGC>  
37 - </TEMA>  
38 - <!-- inicio de um grupo -->  
39 - <GRUPO>  
40 - <GTIPO>Ambiente físico e biodiversidade</GTIPO>  
41 - <DTIPO>Biomas, vegetação, áreas prioritárias para conservação, etc.</DTIPO>  
42 - <!-- Início de um sub-grupo -->  
43 - <SGRUPO>  
44 - <SDTIPO>Clima</SDTIPO>  
45 - <TEMA>  
46 - <TID>condtemp</TID>  
47 - <TNOME>Condição do tempo</TNOME>  
48 - <TDESC>Web service com a condição do tempo para várias localidades</TDESC>  
49 - <TLINK></TLINK>  
50 - <TIPOA>WMS</TIPOA>  
51 - <TAGS>clima tempo</TAGS>  
52 - </TEMA>  
53 - <TEMA>  
54 - <TID>cobnuv</TID>  
55 - <TNOME>Cobertura de nuvens</TNOME>  
56 - <TDESC>Web service com a cobertura de nuvens</TDESC>  
57 - <TLINK>http://maps.customweather.com/image?request=GetCapabilities</TLINK>  
58 - <TIPOA>WMS</TIPOA>  
59 - <TAGS>clima tempo nuvens</TAGS>  
60 - </TEMA>  
61 - <TEMA>  
62 - <TID>weather</TID>  
63 - <TNOME>Previsão do tempo</TNOME>  
64 - <TDESC>Web service com a previsão do tempo para várias localidades</TDESC>  
65 - <TLINK>http://maps.customweather.com/image?request=GetCapabilities</TLINK>  
66 - <TIPOA>WMS</TIPOA>  
67 - <TAGS>clima tempo previsão</TAGS>  
68 - </TEMA>  
69 - <TEMA>  
70 - <TID>ratmin</TID>  
71 - <TNOME>Temperatura mínima do ar (24h)</TNOME>  
72 - <TDESC>Temperatura mínima nas últimas 24 horas</TDESC>  
73 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-mintemp.ht</TLINK>  
74 - <TIPOA>WMS</TIPOA>  
75 - <TAGS>clima tempo temperatura</TAGS>  
76 - </TEMA>  
77 - <TEMA>  
78 - <TID>ratmax</TID>  
79 - <TNOME>Temperatura máxima do ar (24h)</TNOME>  
80 - <TDESC>Temperatura máxima nas últimas 24 horas</TDESC>  
81 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-maxtemp.ht</TLINK>  
82 - <TIPOA>WMS</TIPOA>  
83 - <TAGS>clima tempo temperatura</TAGS>  
84 - </TEMA>  
85 - <TEMA>  
86 - <TID>rprain</TID>  
87 - <TNOME>Chuva</TNOME>  
88 - <TDESC>Chuva na data atual</TDESC>  
89 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-precip.ht</TLINK>  
90 - <TIPOA>WMS</TIPOA>  
91 - <TAGS>clima tempo chuva</TAGS>  
92 - </TEMA>  
93 - <TEMA>  
94 - <TID>rbpxxl</TID>  
95 - <TNOME>Pressão barométrica</TNOME>  
96 - <TDESC>Pressão barométrica ao nivel do mar em mbar na data atual</TDESC>  
97 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-slpr.ht</TLINK>  
98 - <TIPOA>WMS</TIPOA>  
99 - <TAGS>clima tempo pressão</TAGS>  
100 - </TEMA>  
101 - <TEMA>  
102 - <TID>revxxp</TID>  
103 - <TNOME>Evaporação</TNOME>  
104 - <TDESC>Evaporação na data atual em W/sq m.</TDESC>  
105 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-evap.ht</TLINK>  
106 - <TIPOA>WMS</TIPOA>  
107 - <TAGS>clima tempo evaporação</TAGS>  
108 - </TEMA>  
109 - <TEMA>  
110 - <TID>rcosat</TID>  
111 - <TNOME>Imagem Infravermelho</TNOME>  
112 - <TDESC>Imagem de satélite mostrando nuvens, oceano e terra</TDESC>  
113 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-infrared.ht</TLINK>  
114 - <TIPOA>WMS</TIPOA>  
115 - <TAGS>nuvens oceano terra satélite</TAGS>  
116 - </TEMA>  
117 - <TEMA>  
118 - <TID>rcoxxr</TID>  
119 - <TNOME>Cobertura de nuvens prevista</TNOME>  
120 - <TDESC>Cobertura de nuvens prevista</TDESC>  
121 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-clouds.ht</TLINK>  
122 - <TIPOA>WMS</TIPOA>  
123 - <TAGS>nuvens satélite</TAGS>  
124 - </TEMA>  
125 - <TEMA>  
126 - <TID>rprxxr</TID>  
127 - <TNOME>Chuva estimada</TNOME>  
128 - <TDESC>Chuva estimada</TDESC>  
129 - <TLINK>http://viz.globe.gov/viz-bin/show.cgi?page=help-refdoc-trmm.ht</TLINK>  
130 - <TIPOA>WMS</TIPOA>  
131 - <TAGS>clima tempo chuva</TAGS>  
132 - </TEMA>  
133 - </SGRUPO>  
134 - <SGRUPO>  
135 - <SDTIPO>Teste</SDTIPO>  
136 - <TEMA>  
137 - <TID>bioma</TID>  
138 - <TNOME>Biomas</TNOME>  
139 - <TDESC></TDESC>  
140 - <TLINK>http://www.mma.gov.br</TLINK>  
141 - <DOWNLOAD>SIM</DOWNLOAD>  
142 - <TAGS>bioma vegetação biodiversidade</TAGS>  
143 - </TEMA>  
144 - <TEMA>  
145 - <TID>biomaerro</TID>  
146 - <TNOME>Biomas para teste de erros</TNOME>  
147 - <TDESC></TDESC>  
148 - <TLINK>http://www.mma.gov.br</TLINK>  
149 - </TEMA>  
150 - <TEMA>  
151 - <TID>testephp</TID>  
152 - <TNOME>Teste de inclusao de tema PHP</TNOME>  
153 - <TDESC></TDESC>  
154 - <TLINK></TLINK>  
155 - </TEMA>  
156 - <TEMA>  
157 - <TID>testezoom</TID>  
158 - <TNOME>Teste de zoom</TNOME>  
159 - <TDESC></TDESC>  
160 - <TLINK></TLINK>  
161 - </TEMA>  
162 - <TEMA>  
163 - <TID>autolegenda_exemplo</TID>  
164 - <TNOME>Teste de autoclasses</TNOME>  
165 - <TDESC></TDESC>  
166 - <TLINK></TLINK>  
167 - </TEMA>  
168 - </SGRUPO>  
169 - </GRUPO>  
170 - <GRUPO>  
171 - <GTIPO>Edite o arquivo i3geo/menutemas/menutemas.xml!!!</GTIPO>  
172 - <DTIPO></DTIPO>  
173 - <SGRUPO>  
174 - <SDTIPO>Isto é só um exemplo. !!!!</SDTIPO>  
175 - <TEMA>  
176 - <TID>condtemp</TID>  
177 - <TNOME>Condição do tempo</TNOME>  
178 - <TDESC>Web service com a condição do tempo para várias localidades</TDESC>  
179 - <TLINK></TLINK>  
180 - <TIPOA>WMS</TIPOA>  
181 - <TAGS>clima tempo</TAGS>  
182 - </TEMA>  
183 - </SGRUPO>  
184 - </GRUPO>  
185 -</TEMASGEO>  
menutemas/menutemas.xsl
@@ -1,94 +0,0 @@ @@ -1,94 +0,0 @@
1 -<?xml version="1.0"?>  
2 -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">  
3 - <xsl:output method="html"/>  
4 - <xsl:template match="/">  
5 - <html>  
6 - <link rel="stylesheet" type="text/css" href="../geral.css" />  
7 - <script language="JavaScript" type="text/javascript" src="menutemas.js">  
8 - </script>  
9 - <script>  
10 - var navm = false // IE  
11 - var navn = false // netscape  
12 - app = navigator.appName.substring(0,1)  
13 - if (app=='N') navn=true; else navm=true  
14 - </script>  
15 - <body id="corpo" onmousemove="javascript:this.onmousemove=cap" style="background-color:white;cursor:pointer">  
16 - <table width="100%" cellspacing='0' cellpadding="0">  
17 - <tr>  
18 - <td style="text-align:left">  
19 - <xsl:for-each select="TEMASGEO/GRUPO">  
20 - <xsl:sort select="GTIPO"/>  
21 - <table style="margin:0px;" cellspacing='1' cellpadding="0">  
22 - <tr>  
23 - <td width="100%" title="{DTIPO}" onmouseover="script:this.style.color='gray'" onmouseout="script:this.style.color='black'" style="text-decoration:none">  
24 - <table cellspacing='1' onclick="muda1(&quot;{ITIPO}&quot;)" style="text-align:left">  
25 - <tr>  
26 - <td style="text-align:left">  
27 - <img src="../imagens/pasta.gif"/>  
28 - </td>  
29 - <td style="text-align:left">  
30 - <xsl:value-of select="GTIPO"/>  
31 - </td>  
32 - </tr>  
33 - </table>  
34 - </td>  
35 - </tr>  
36 - </table>  
37 - <table style="margin:0px;" cellspacing='1' cellpadding="0">  
38 - <tr>  
39 - <td style="text-align:left">  
40 - <table id="{ITIPO}" style="display:none;text-align:left">  
41 - <xsl:for-each select="SGRUPO">  
42 - <tr>  
43 - <td style="text-align:left"><img src="../imagens/branco.gif" /></td>  
44 - <td onclick="muda(&quot;{SITIPO}&quot;)" style="text-align:left"><img src="../imagens/arquivos.gif" /></td>  
45 - <td class="tdbranca" onmouseover="script:this.style.color='gray'" onmouseout="script:this.style.color='#2F4632'" style="text-align:left;" title="{SDTIPO}" onclick="muda(&quot;{SITIPO}&quot;)">  
46 - <xsl:value-of select="SDTIPO"/>  
47 - </td>  
48 - <td width="150" id="f{SITIPO}" style="display:none">  
49 - <table width="100%">  
50 - <xsl:for-each select="TEMA">  
51 - <tr>  
52 - <xsl:if test="string-length(EXEC)='0'">  
53 - <td onclick="propverf()" onmouseout="propescf()" >  
54 - <input type="checkbox" name="layer" value="{TID}" onclick="mudaboxf(this)"/>  
55 - </td>  
56 - <td>  
57 - <p title="{TDESC} - {TESC}"><xsl:value-of select="TNOME"/></p>  
58 - </td>  
59 - <td onclick="previaf('{TID}')">  
60 - <p style="cursor:pointer; text-decoration:underline;color:gray">Ver...</p>  
61 - </td>  
62 - <td>  
63 - <p title="{TFONTE}"><a href="{TLINK}" target="_blank">Fonte...</a></p>  
64 - </td>  
65 - </xsl:if>  
66 - <xsl:if test="string-length(EXEC)!='0'">  
67 - <td>  
68 - <input type="checkbox" onclick="{EXEC}" />  
69 - </td>  
70 - <td>  
71 - <p title="{TDESC} - {TESC}"><xsl:value-of select="TNOME"/></p>  
72 - </td>  
73 - <td></td>  
74 - <td></td>  
75 - </xsl:if>  
76 - </tr>  
77 - </xsl:for-each>  
78 - </table>  
79 - </td>  
80 - </tr>  
81 -  
82 - </xsl:for-each>  
83 - </table>  
84 - </td>  
85 - </tr>  
86 - </table>  
87 - </xsl:for-each>  
88 - </td>  
89 - </tr>  
90 - </table>  
91 - </body>  
92 -</html>  
93 -</xsl:template>  
94 -</xsl:stylesheet>  
menutemas/servicosgeorss.xml
@@ -1,149 +0,0 @@ @@ -1,149 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<!--  
3 -Title: Lista de serviços georss  
4 -  
5 -Lista os serviços georss.  
6 -  
7 -Utilizado no cliente de web services e na opção de conexão com servidor remoto.  
8 -  
9 -File: i3geo/menutemas/servicoswms.xml  
10 --->  
11 -<rss version="2.0">  
12 -<channel>  
13 -<title>Geo RSS</title>  
14 -<description>Links para endereços Geo RSS</description>  
15 -<link>http://www.mma.gov.br</link>  
16 -<docs></docs>  
17 -<copyright>Ministerio do Meio Ambiente</copyright>  
18 -<language>pt-br</language>  
19 -<webmaster>webmaster@mma.gov.br</webmaster>  
20 -  
21 -<item>  
22 -<category/>  
23 -<title>FAO - Geonetwork</title>  
24 -<description></description>  
25 -<link>  
26 -http://www.fao.org/geonetwork/srv/en/rss.latest?georss=gml  
27 -</link>  
28 -<pubDate></pubDate>  
29 -<author>  
30 -FAO  
31 -</author>  
32 -</item>  
33 -  
34 -<item>  
35 -<category/>  
36 -<title>  
37 -SIPAM GeoNetwork - Portal para dados e informacoes espaciais  
38 -</title>  
39 -<description></description>  
40 -<link>  
41 -http://www2.sipam.gov.br/geonetwork/srv/br/rss.latest?georss=gml  
42 -</link>  
43 -<pubDate></pubDate>  
44 -<author>  
45 -SIPAM  
46 -</author>  
47 -</item>  
48 -  
49 -<item>  
50 -<category/>  
51 -<title>GeoSur</title>  
52 -<description></description>  
53 -<link>http://edclxs25.cr.usgs.gov:8080/geonetwork/srv/en/rss.latest?georss=gml</link>  
54 -<pubDate></pubDate>  
55 -<author></author>  
56 -</item>  
57 -  
58 -<item>  
59 -<category/>  
60 -<title>Reuters: International</title>  
61 -<description></description>  
62 -<link>http://ws.geonames.org/rssToGeoRSS?feedUrl=http://today.reuters.com/rss/worldNews</link>  
63 -<pubDate></pubDate>  
64 -<author></author>  
65 -</item>  
66 -  
67 -<item>  
68 -<category/>  
69 -<title>WFP GeoNetwork opensource portal to spatial data and information</title>  
70 -<description>WFP GeoNetwork opensource provides Internet access to interactive maps, satellite imagery and related spatial databases. It's purpose is to improve access to and integrated use of spatial data and information. GeoNetwork opensource allows to easily share spatial data among different users</description>  
71 -<link>http://vam.wfp.org/vamsie/srv/en/rss.latest?georss=gml</link>  
72 -<pubDate></pubDate>  
73 -<author>WFP</author>  
74 -</item>  
75 -  
76 -<item>  
77 -<category/>  
78 -<title>ICRISAT GeoNetwork opensource portal to spatial data and information  
79 -</title>  
80 -<description>ICRISAT GeoNetwork opensource provides Internet access to interactive maps, satellite imagery and related spatial databases. It's purpose is to improve access to and integrated use of spatial data and information. GeoNetwork opensource allows to easily share spatial data among different users  
81 -</description>  
82 -<link>http://geonetwork.icrisat.org/geonetwork/srv/en/rss.latest?georss=gml</link>  
83 -<pubDate></pubDate>  
84 -<author>ICRISAT</author>  
85 -</item>  
86 -  
87 -<item>  
88 -<category/>  
89 -<title>The Office for the Coordination of Humanitarian Affairs of the United Nations Maps On Demand portal to spatial data and information  
90 -</title>  
91 -<description></description>  
92 -<link>http://geonetwork.unocha.org/mapsondemand/srv/en/rss.latest?georss=gml</link>  
93 -<pubDate></pubDate>  
94 -<author></author>  
95 -</item>  
96 -  
97 -<item>  
98 -<category/>  
99 -<title>fgdc GeoNetwork opensource portal to spatial data and information</title>  
100 -<description>fgdc GeoNetwork opensource provides Internet access to interactive maps, satellite imagery and related spatial databases. It's purpose is to improve access to and integrated use of spatial data and information. GeoNetwork opensource allows to easily share spatial data among different users</description>  
101 -<link>http://edclxs25.cr.usgs.gov:8080/geonetwork/srv/en/rss.latest?georss=gml</link>  
102 -<pubDate></pubDate>  
103 -<author></author>  
104 -</item>  
105 -  
106 -<item>  
107 -<category/>  
108 -<title></title>  
109 -<description></description>  
110 -<link></link>  
111 -<pubDate></pubDate>  
112 -<author></author>  
113 -</item>  
114 -  
115 -  
116 -<item>  
117 -<category/>  
118 -<title></title>  
119 -<description></description>  
120 -<link></link>  
121 -<pubDate></pubDate>  
122 -<author></author>  
123 -</item>  
124 -  
125 -  
126 -<item>  
127 -<category/>  
128 -<title></title>  
129 -<description></description>  
130 -<link></link>  
131 -<pubDate></pubDate>  
132 -<author></author>  
133 -</item>  
134 -  
135 -  
136 -<item>  
137 -<category/>  
138 -<title></title>  
139 -<description></description>  
140 -<link></link>  
141 -<pubDate></pubDate>  
142 -<author></author>  
143 -</item>  
144 -  
145 -  
146 -  
147 -  
148 -</channel>  
149 -</rss>  
150 \ No newline at end of file 0 \ No newline at end of file
menutemas/servicoswfs.xml
@@ -1,32 +0,0 @@ @@ -1,32 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<rss version="2.0">  
3 -<channel>  
4 -<title>Web services OGC</title>  
5 -<description>Links para web services OGC</description>  
6 -<link>http://www.mma.gov.br</link>  
7 -<docs></docs>  
8 -<copyright>Ministerio do Meio Ambiente</copyright>  
9 -<language>pt-br</language>  
10 -<webmaster>webmaster@mma.gov.br</webmaster>  
11 -  
12 -<item>  
13 -<category/>  
14 -<title>  
15 -Unidades de conservação federais do Brasil  
16 -</title>  
17 -<description></description>  
18 -<link>  
19 -http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/ucs.map&amp;  
20 -</link>  
21 -<linkwfs>  
22 -http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/ucs.map&amp;  
23 -</linkwfs>  
24 -<pubDate></pubDate>  
25 -<author>  
26 -MMA  
27 -</author>  
28 -</item>  
29 -  
30 -  
31 -</channel>  
32 -</rss>  
33 \ No newline at end of file 0 \ No newline at end of file
menutemas/servicoswms.php
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -<?php  
2 -/*  
3 -Gera o arquivo rss servicoswms lendo os dados do banco  
4 -*/  
5 -$pgpar = "host=10.1.1.36 port=5432 dbname=geodados user=pgsql password=pgsql";  
6 -$pgconn = pg_connect($pgpar);  
7 -$sql = "SELECT * FROM public.enderecos_ws AS tab where wms = 't' and ativo = 't' order by ordem asc,titulo asc,chamadas_ok desc ";  
8 -$result=pg_query($pgconn, $sql);  
9 -$numrows = pg_num_rows($result);  
10 -pg_close($pgconn);  
11 -echo '<?xml version="1.0" encoding="UTF-8"?>';  
12 -echo '<rss version="2.0">';  
13 -echo "<channel>";  
14 -echo "<title>Mapas interativos</title>";  
15 -echo "<description>Links para mapas interativos do MMA</description>";  
16 -echo "<link>http://www.mma.gov.br</link>";  
17 -echo "<docs></docs>";  
18 -echo "<copyright>Ministerio do Meio Ambiente</copyright>";  
19 -echo "<language>pt-br</language>";  
20 -echo "<webmaster>webmaster@mma.gov.br</webmaster>";  
21 -for ($i = 0; $i < $numrows; $i++)  
22 -{  
23 - $data = pg_fetch_array($result, $i);  
24 - echo "<item>";  
25 - echo "<category/>";  
26 - echo "<title>".mb_convert_encoding($data["titulo"],"UTF-8","ISO-8859-1")."</title>";  
27 - echo "<description>".mb_convert_encoding($data["descricao"],"UTF-8","ISO-8859-1")."</description>";  
28 - echo "<link>".(str_replace("&","&amp;",$data["link"]))."</link>";  
29 - echo "<linkwfs/>";  
30 - echo "<pubDate/>";  
31 - echo "<author>".$data["autor"]."</author>";  
32 - echo "<ranking>".($data["chamadas_ok"] * 100 / $data["chamadas"])."</ranking>";  
33 - echo "<tempo>".(round($data["chamadas"] / 2))."</tempo>";  
34 - echo "</item>";  
35 -}  
36 -echo "</channel></rss>";  
37 -?>  
menutemas/servicoswms.xml
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Mapas interativos</title><description>Links para mapas interativos do MMA</description><link>http://www.mma.gov.br</link><docs></docs><copyright>Ministerio do Meio Ambiente</copyright><language>pt-br</language><webmaster>webmaster@mma.gov.br</webmaster><item><category/><title>I3Geo MMA - de 0 a 50</title><description>Gerador automático de web services do I3Geo</description><link>http://mapas.mma.gov.br/i3geo/ogc.php?intervalo=0,50</link><linkwfs/><pubDate/><author>MMA</author><ranking>99.616858237548</ranking><tempo>131</tempo></item><item><category/><title>I3Geo MMA - de 101 a 150</title><description>Gerador automático de web services do I3Geo</description><link>http://mapas.mma.gov.br/i3geo/ogc.php?intervalo=101,150</link><linkwfs/><pubDate/><author>MMA</author><ranking>99.616858237548</ranking><tempo>131</tempo></item><item><category/><title>I3Geo MMA - de 151 a 200</title><description>Gerador automático de web services do I3Geo</description><link>http://mapas.mma.gov.br/i3geo/ogc.php?intervalo=151,200</link><linkwfs/><pubDate/><author>MMA</author><ranking>100</ranking><tempo>131</tempo></item><item><category/><title>I3Geo MMA - de 201 a 251</title><description>Gerador automático de web services do I3Geo</description><link>http://mapas.mma.gov.br/i3geo/ogc.php?intervalo=151,200</link><linkwfs/><pubDate/><author>MMA</author><ranking>100</ranking><tempo>131</tempo></item><item><category/><title>I3Geo MMA - de 51 a 100</title><description>Gerador automático de web services do I3Geo</description><link>http://mapas.mma.gov.br/i3geo/ogc.php?intervalo=51,100</link><linkwfs/><pubDate/><author>MMA</author><ranking>99.233716475096</ranking><tempo>131</tempo></item><item><category/><title>Base cartográfica raster do CIGEX</title><description></description><link>http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map&amp;</link><linkwfs/><pubDate/><author>Servidor do MMA</author><ranking>100</ranking><tempo>131</tempo></item><item><category/><title>Biorregiões</title><description>Biomas, áreas prioritárias</description><link>http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/biorregioes.map&amp;</link><linkwfs/><pubDate/><author>MMA</author><ranking>99.616858237548</ranking><tempo>131</tempo></item><item><category/><title>Florestas públicas</title><description></description><link>http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/florestaspublicas.map&amp;</link><linkwfs/><pubDate/><author>MMA</author><ranking>100</ranking><tempo>129</tempo></item><item><category/><title>ULBRA-RO</title><description>WMS da ULBRA gerado pelo i3Geo</description><link>http://www.geoprocessamento.com:8180/i3geo/ogc.php?</link><linkwfs/><pubDate/><author>ULBRA-ILES</author><ranking></ranking><tempo>0</tempo></item><item><category/><title>Unidades de conservação federais do Brasil</title><description></description><link>http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/ucs.map&amp;</link><linkwfs/><pubDate/><author>MMA</author><ranking>99.616858237548</ranking><tempo>131</tempo></item><item><category/><title>Base cartográfica raster (servidor do GSI)</title><description></description><link>http://geopr2.planalto.gov.br/cgi-bin/mapserv?map=/var/www/html/geopr/webservices/cartbr.map&amp;</link><linkwfs/><pubDate/><author>GSI</author><ranking>99.233716475096</ranking><tempo>131</tempo></item><item><category/>  
2 -<title>DSA-INPE</title><description></description>  
3 -<link>http://pirandira.cptec.inpe.br/cgi-bin/mapserv?map=/extra2/sigma/www/webservice/webservice_dsa.map&amp;</link><linkwfs/><pubDate/><author>DSA-INPE</author><ranking>99.193548387097</ranking><tempo>124</tempo></item><item><category/><title>SIPAM - Proíndio</title><description>Terras indígenas (SIPAM)</description><link>http://proindio.funai.gov.br:8080/geoserver/wms?</link><linkwfs/><pubDate/><author>SIPAM</author><ranking>96.934865900383</ranking><tempo>131</tempo></item><item><category/><title>Sistema de Protecao da Amazonia</title><description></description><link>http://www2.sipam.gov.br:80/geoserver/wms?SERVICE=WMS</link><linkwfs/><pubDate/><author>SIPAM</author><ranking>97.318007662835</ranking><tempo>131</tempo></item><item><category/><title>ANEEL - Agência Nacional de Energia Elétrica</title><description>ANEEL - Agéncia Nacional de Energia Elétrica</description><link>http://sigel.aneel.gov.br/wmsconnector/com.esri.wms.Esrimap/gsiwms?</link><linkwfs/><pubDate/><author>ANEEL</author><ranking>99.616858237548</ranking><tempo>131</tempo></item><item><category/><title>Agência Nacional das Águas</title><description></description><link>http://200.140.135.184/cgi-bin/mapserv?map=/usr/local/www/apache22/data/hidro/wshidro.map&amp;</link><linkwfs/><pubDate/><author>ANA</author><ranking>54.406130268199</ranking><tempo>131</tempo></item><item><category/><title>Assentamentos</title><description>Assentamentos do INCRA</description><link>http://200.252.81.121/cgi-bin/mapserv?map=/usr/mapfiles/incra.map</link><linkwfs/><pubDate/><author>INCRA</author><ranking>100</ranking><tempo>131</tempo></item><item><category/><title>DNPM</title><description>Títulos minerários</description><link>http://sigmine.dnpm.gov.br:80/wmsconnector/com.esri.wms.Esrimap/brasil?</link><linkwfs/><pubDate/><author>DNPM</author><ranking>79.310344827586</ranking><tempo>131</tempo></item><item><category/><title>FUNAI</title><description>Terras indígenas (FUNAI)</description><link>http://200.175.177.145:8080/geoserver/wms?</link><linkwfs/><pubDate/><author>FUNAI</author><ranking>38.167938931298</ranking><tempo>131</tempo></item><item><category/><title>GeoSur</title><description>GEOSUR</description><link>http://igskmncngs061.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/iirsa?&amp;service=9&amp;type=2</link><linkwfs/><pubDate/><author>GeoSur</author><ranking>99.616858237548</ranking><tempo>131</tempo></item><item><category/><title>Imagens Embrapa</title><description>Imagens de satélite</description><link>http://www.cnpm.embrapa.br/cgi-bin/wmsService?</link><linkwfs/><pubDate/><author>EMBRAPA</author><ranking>98.467432950192</ranking><tempo>131</tempo></item><item><category/><title>Mapas Biota-SP</title><description></description><link>http://saruman.cria.org.br/cgi-bin/mapserv?map=/var/www/wms/biota_wms.map&amp;</link><linkwfs/><pubDate/><author>CRIA</author><ranking>46.067415730337</ranking><tempo>134</tempo></item><item><category/><title>Natural Earth draped over SRTM</title><description></description><link>http://demo.ionicenterprise.com/ionicweb/map/NATURALEARTH?</link><linkwfs/><pubDate/><author>IONIC</author><ranking>94.980694980695</ranking><tempo>130</tempo></item><item><category/><title>SIGLAB-INPA</title><description>SIGLAB-INPA</description><link>http://siglab.inpa.gov.br/cgi-bin/mapserv?map=/var/mapfiles/wms.map</link><linkwfs/><pubDate/><author>SIGLAB</author><ranking>75.187969924812</ranking><tempo>133</tempo></item><item><category/><title>Mosaico Landsat - JPL World Map Service</title><description></description><link>http://wms.jpl.nasa.gov/wms.cgi?</link><linkwfs/><pubDate/><author>JPL</author><ranking>100</ranking><tempo>131</tempo></item><item><category/><title>Web Fire Mapper WMS</title><description>FIRMS</description><link>http://maps.geog.umd.edu/wmsconnector/com.esri.wms.Esrimap?</link><linkwfs/><pubDate/><author>Web Fire Mapper WMS</author><ranking>98.084291187739</ranking><tempo>131</tempo></item><item><category/><title>ArcIMS world Web Map Service</title><description></description><link>http://gisdata.usgs.net:80/servlet19/com.esri.wms.Esrimap/world?</link><linkwfs/><pubDate/><author>USGS</author><ranking>98.467432950192</ranking><tempo>131</tempo></item><item><category/><title>Aridity index</title><description></description><link>http://193.43.36.137/ows/12739?service=aridity_index&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>46.240601503759</ranking><tempo>133</tempo></item><item><category/><title>Canada Centre for Remote Sensing Web Map Service</title><description></description><link>http://ceoware2.ccrs.nrcan.gc.ca/cubewerx/cubeserv/cubeserv.cgi?</link><linkwfs/><pubDate/><author></author><ranking>97.701149425287</ranking><tempo>131</tempo></item><item><category/><title>CustomWeather Map Server</title><description></description><link>http://maps.customweather.com/image?</link><linkwfs/><pubDate/><author></author><ranking>9.1954022988506</ranking><tempo>131</tempo></item><item><category/><title>DM Solutions GMap Server</title><description></description><link>http://dev1.dmsolutions.ca/cgi-bin/mswms_gmap?</link><linkwfs/><pubDate/><author></author><ranking>100</ranking><tempo>131</tempo></item><item><category/><title>Deegree wms providing free geospatial data from NGA (U.S.), Intevation (Germany) and OGC (U.S.)</title><description></description><link>http://olddemo.deegree.org:8080/deegree/wms?</link><linkwfs/><pubDate/><author>DEEGREE</author><ranking>92.337164750958</ranking><tempo>131</tempo></item><item><category/><title>European Space Agency CubeSERV map server</title><description></description><link>http://mapserv2.esrin.esa.it/cubestor/cubeserv/cubeserv.cgi?</link><linkwfs/><pubDate/><author>ESRI</author><ranking>62.835249042146</ranking><tempo>131</tempo></item><item><category/><title>FAO - populated places</title><description></description><link>http://193.43.36.137/cgi-bin/wms?map=/GeoNetwork_data/12600-12699/12690/wms/12690.map&amp;service=populated_place_world&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>47.126436781609</ranking><tempo>131</tempo></item><item><category/><title>FAO - world_protected_areas</title><description></description><link>http://193.43.36.137/cgi-bin/wms?map=/GeoNetwork_data/12700-12799/12757/wms/12757.map&amp;service=world_protected_areas&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>47.148288973384</ranking><tempo>132</tempo></item><item><category/><title>Global length of growing periods</title><description></description><link>http://193.43.36.137/ows/73?service=global_length_growing_periods&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>46.946564885496</ranking><tempo>131</tempo></item><item><category/><title>Global map of irrigated areas</title><description></description><link>http://193.43.36.137/ows/5020?service=irrigated_areas&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>46.946564885496</ranking><tempo>131</tempo></item><item><category/><title>Globe Program</title><description></description><link>http://viz.globe.gov/viz-bin/wmt.cgi?</link><linkwfs/><pubDate/><author></author><ranking>97.692307692308</ranking><tempo>130</tempo></item><item><category/><title>Holdridge Life-Zone map</title><description></description><link>http://193.43.36.137/cgi-bin/wms?map=/GeoNetwork_data/01000-01099/1006/wms/1006.map&amp;service=holdridge_life_zone&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>46.969696969697</ranking><tempo>132</tempo></item><item><category/><title>Intergraph World Map</title><description></description><link>http://maps1.intergraph.com/wms/world/request.asp?</link><linkwfs/><pubDate/><author>INTERGRAPH</author><ranking>93.103448275862</ranking><tempo>131</tempo></item><item><category/><title>Land use - Land cover map</title><description></description><link>http://193.43.36.137/cgi-bin/wms?map=/GeoNetwork_data/12700-12799/12749/wms/12749.map&amp;service=landuse_landcover_map&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>46.616541353383</ranking><tempo>133</tempo></item><item><category/><title>OBIS-SEAMAP WMS Server</title><description></description><link>http://seamap.env.duke.edu/ogc/?</link><linkwfs/><pubDate/><author>SEAMAP</author><ranking>68.965517241379</ranking><tempo>131</tempo></item><item><category/><title>SEACOOS, remote sensed and in-situ ocean data</title><description></description><link>http://nautilus.baruch.sc.edu/wms/seacoos_rs?</link><linkwfs/><pubDate/><author></author><ranking>0</ranking><tempo>131</tempo></item><item><category/><title>Soil and Terrain Digital Map of Latin America and the Caribbean</title><description></description><link>http://193.43.36.137/cgi-bin/wms?map=/GeoNetwork_data/07300-07399/7387/wms/7387.map&amp;service=soil_terrain_lac&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>47.148288973384</ranking><tempo>132</tempo></item><item><category/><title>The World s Forests 2000</title><description></description><link>http://193.43.36.137/cgi-bin/wms?map=/GeoNetwork_data/01200-01299/1253/wms/1253.map&amp;service=world_forests_2000&amp;type=2</link><linkwfs/><pubDate/><author>FAO</author><ranking>46.616541353383</ranking><tempo>133</tempo></item><item><category/><title>UMN MapServer Landcover</title><description></description><link>http://mapserver.flightgear.org/cgi-bin/landcover?</link><linkwfs/><pubDate/><author>OSGEO</author><ranking>98.467432950192</ranking><tempo>131</tempo></item><item><category/><title>WMS Map Server geographynetwork</title><description></description><link>http://www.geographynetwork.com:80/servlet/com.esri.wms.Esrimap?</link><linkwfs/><pubDate/><author>ESRI</author><ranking>98.850574712644</ranking><tempo>131</tempo></item><item><category/><title>WMT-compliant cascading map server by CubeWerx Inc.</title><description></description><link>http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi?CONFIG=main&amp;</link><linkwfs/><pubDate/><author>CUBEWERX</author><ranking>99.233716475096</ranking><tempo>131</tempo></item></channel></rss>  
4 \ No newline at end of file 0 \ No newline at end of file
menutemas/servicosws.xml
@@ -1,293 +0,0 @@ @@ -1,293 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<!--  
3 -Title: Lista de serviços de acesso aos dados.  
4 -  
5 -Utilizado para listar os serviços (web services) disponíveis, principalmente no wscliente.  
6 -  
7 -Lista os temas disponíveis para ser acrescentados ao mapa  
8 -  
9 -File: i3geo/menutemas/servicosws.xml  
10 --->  
11 -  
12 -<rss version="2.0">  
13 -<channel>  
14 -<title>Web services de dados</title>  
15 -<description>Links para web services normais</description>  
16 -<link>http://www.mma.gov.br</link>  
17 -<docs></docs>  
18 -<copyright>Ministerio do Meio Ambiente</copyright>  
19 -<language>pt-br</language>  
20 -<webmaster>webmaster@mma.gov.br</webmaster>  
21 -  
22 -<item>  
23 -<category/>  
24 -<title>  
25 -Especies - NatureServe  
26 -</title>  
27 -<description>  
28 -Busca de espécies no banco de dados NatureServ  
29 -</description>  
30 -<link>  
31 -http://mapas.mma.gov.br/webservices/especiesws.php  
32 -</link>  
33 -<pubDate></pubDate>  
34 -<author>MMA</author>  
35 -</item>  
36 -  
37 -<item>  
38 -<category/>  
39 -<title>  
40 -Geonames - MMA  
41 -</title>  
42 -<description>  
43 -Busca de dados geográficos  
44 -</description>  
45 -<link>  
46 -http://mapas.mma.gov.br/webservices/geonames.php  
47 -</link>  
48 -<pubDate></pubDate>  
49 -<author>MMA</author>  
50 -</item>  
51 -  
52 -<item>  
53 -<category/>  
54 -<title>  
55 -Unidades de conservação  
56 -</title>  
57 -<description>  
58 -Dados do CNUC  
59 -</description>  
60 -<link>  
61 -http://www.ibama.gov.br/ws/cnuc.php  
62 -</link>  
63 -<pubDate></pubDate>  
64 -<author>IBAMA</author>  
65 -</item>  
66 -  
67 -<item>  
68 -<category/>  
69 -<title>  
70 -SIBEA - educadores ambientais  
71 -</title>  
72 -<description>  
73 -Consulta aos dados do SIBEA  
74 -</description>  
75 -<link>  
76 -http://mapas.mma.gov.br/webservices/sibeaws.php  
77 -</link>  
78 -<pubDate></pubDate>  
79 -<author>MMA</author>  
80 -</item>  
81 -  
82 -<item>  
83 -<category/>  
84 -<title>  
85 -ANTT  
86 -</title>  
87 -<description>  
88 -WSConsultasRNTRC  
89 -</description>  
90 -<link>  
91 -https://appweb.antt.gov.br/wspassageiros/passageiros.asmx  
92 -</link>  
93 -<pubDate></pubDate>  
94 -<author>ANTT</author>  
95 -</item>  
96 -  
97 -<item>  
98 -<category/>  
99 -<title>  
100 -Frota de embarcações  
101 -</title>  
102 -<description>  
103 -Ver: http://www.antaq.gov.br/webservices/frotaempresa.htm  
104 -</description>  
105 -<link>  
106 -http://www.antaq.gov.br/webservices/wsfrotaempresa.asmx  
107 -</link>  
108 -<pubDate></pubDate>  
109 -<author>ANTAQ</author>  
110 -</item>  
111 -  
112 -<item>  
113 -<category/>  
114 -<title>  
115 -Portos  
116 -</title>  
117 -<description>  
118 -Ver: http://www.antaq.gov.br/webservices/porto.htm  
119 -</description>  
120 -<link>  
121 -http://www.antaq.gov.br/webservices/wsporto.asmx  
122 -</link>  
123 -<pubDate></pubDate>  
124 -<author>ANTAQ</author>  
125 -</item>  
126 -  
127 -<item>  
128 -<category/>  
129 -<title>  
130 -Afretamento  
131 -</title>  
132 -<description>  
133 -Ver: http://www.antaq.gov.br/webservices/afretamento.htm  
134 -</description>  
135 -<link>  
136 -http://www.antaq.gov.br/webservices/wsafretamento.asmx  
137 -</link>  
138 -<pubDate></pubDate>  
139 -<author>ANTAQ</author>  
140 -</item>  
141 -  
142 -<item>  
143 -<category/>  
144 -<title>  
145 -Empresas autorizadas  
146 -</title>  
147 -<description>  
148 -Ver: http://www.antaq.gov.br/webservices/empresaautorizada.htm  
149 -</description>  
150 -<link>  
151 -http://www.antaq.gov.br/webservices/wsempresaautorizada.asmx  
152 -</link>  
153 -<pubDate></pubDate>  
154 -<author>ANTAQ</author>  
155 -</item>  
156 -  
157 -<item>  
158 -<category/>  
159 -<title>  
160 -Terminal de uso privado  
161 -</title>  
162 -<description>  
163 -Ver: http://www.antaq.gov.br/webservices/terminal.htm  
164 -</description>  
165 -<link>  
166 - http://www.antaq.gov.br/webservices/wsterminal.asmx  
167 -</link>  
168 -<pubDate></pubDate>  
169 -<author>ANTAQ</author>  
170 -</item>  
171 -  
172 -<item>  
173 -<category/>  
174 -<title>  
175 -Estações de medição  
176 -</title>  
177 -<description>  
178 -Estações de medição  
179 -</description>  
180 -<link>  
181 -http://hidroweb.ana.gov.br/fcthservices/mma.asmx  
182 -</link>  
183 -<pubDate></pubDate>  
184 -<author>ANA</author>  
185 -</item>  
186 -  
187 -<item>  
188 -<category/>  
189 -<title>  
190 -Infra-estrutura de saúde  
191 -</title>  
192 -<description>  
193 -Infra-estrutura de saúde  
194 -</description>  
195 -<link>  
196 - http://200.214.130.54/svs/ws_saude/ws.saude.server.php  
197 -</link>  
198 -<pubDate></pubDate>  
199 -<author>MS</author>  
200 -</item>  
201 -  
202 -<item>  
203 -<category/>  
204 -<title>  
205 -Coordenadas  
206 -</title>  
207 -<description>  
208 -Conversor de coordenadas  
209 -</description>  
210 -<link>  
211 -http://mapas.mma.gov.br/mapas/aplic/wsgeo/xy2xy.php  
212 -</link>  
213 -<pubDate></pubDate>  
214 -<author>MMA</author>  
215 -</item>  
216 -  
217 -<item>  
218 -<category/>  
219 -<title>  
220 -Mapa de uma UF  
221 -</title>  
222 -<description>  
223 -Gera uma imagem (mapa) de um Estado  
224 -</description>  
225 -<link>  
226 -http://mapas.mma.gov.br/mapas/aplic/wsgeo/uf.php  
227 -</link>  
228 -<pubDate></pubDate>  
229 -<author>MMA</author>  
230 -</item>  
231 -  
232 -<item>  
233 -<category/>  
234 -<title>  
235 -Mapa de localização  
236 -</title>  
237 -<description>  
238 -Gera um mapa de localização  
239 -</description>  
240 -<link>  
241 -http://mapas.mma.gov.br/mapas/aplic/wsgeo/pin.php  
242 -</link>  
243 -<pubDate></pubDate>  
244 -<author>MMA</author>  
245 -</item>  
246 -  
247 -<item>  
248 -<category/>  
249 -<title>  
250 -SIGEPRO - dados  
251 -</title>  
252 -<description>  
253 -Lista dados do sistema SIGEPRO  
254 -</description>  
255 -<link>  
256 -http://sistemas.mma.gov.br/sigepro/ws/ws_sigepro_dados.php  
257 -</link>  
258 -<pubDate></pubDate>  
259 -<author>MMA</author>  
260 -</item>  
261 -  
262 -<item>  
263 -<category/>  
264 -<title>  
265 -SIGEPRO - geo  
266 -</title>  
267 -<description>  
268 -Mostra mapas do sistema SIGEPRO  
269 -</description>  
270 -<link>  
271 -http://sistemas.mma.gov.br/sigepro/ws/ws_sigepro_geo.php  
272 -</link>  
273 -<pubDate></pubDate>  
274 -<author>MMA</author>  
275 -</item>  
276 -  
277 -<item>  
278 -<category/>  
279 -<title>  
280 -BCDAM - base de links  
281 -</title>  
282 -<description>  
283 -Links do sistema BCDAM  
284 -</description>  
285 -<link>  
286 -http://www.mma.gov.br/webservice/bcdam/ws_bcdam.php  
287 -</link>  
288 -<pubDate></pubDate>  
289 -<author>MMA</author>  
290 -</item>  
291 -  
292 -</channel>  
293 -</rss>  
294 \ No newline at end of file 0 \ No newline at end of file
menutemas/sistemas.xml
@@ -1,33 +0,0 @@ @@ -1,33 +0,0 @@
1 -<?xml version="1.0" encoding="ISO-8859-1"?>  
2 -<?xml-stylesheet type="text/xsl" href="menutemas.xsl"?>  
3 -<!--  
4 -Title: Lista de sistemas.  
5 -  
6 -Utilizado na montagem da árvore de sistemas. Cada função executa alguma operação que altera o mapfile atual para acréscimo de temas.  
7 -  
8 -File: i3geo/menutemas/sistemas.xml  
9 --->  
10 -<SISTEMAS>  
11 -<SISTEMA>  
12 - <NOMESIS>Espécies - busca espécies no banco Natureserve</NOMESIS>  
13 - <PERFIL></PERFIL>  
14 - <FUNCAO>  
15 - <NOMEFUNCAO>Compor mapa</NOMEFUNCAO>  
16 - <ABRIR>../ferramentas/especies/pesquisa.htm</ABRIR>  
17 - <JANELAW>350</JANELAW>  
18 - <JANELAH>290</JANELAH>  
19 - <PERFIL></PERFIL>  
20 - </FUNCAO>  
21 -</SISTEMA>  
22 -<SISTEMA>  
23 - <NOMESIS>SIBEA - educadores ambientais</NOMESIS>  
24 - <PERFIL></PERFIL>  
25 - <FUNCAO>  
26 - <NOMEFUNCAO>Compor mapa poligonal</NOMEFUNCAO>  
27 - <ABRIR>../ferramentas/sibea/pesquisa.htm</ABRIR>  
28 - <JANELAW>350</JANELAW>  
29 - <JANELAH>270</JANELAH>  
30 - <PERFIL></PERFIL>  
31 - </FUNCAO>  
32 -</SISTEMA>  
33 -</SISTEMAS>  
34 \ No newline at end of file 0 \ No newline at end of file
mobile/adicionatema.php
@@ -91,7 +91,7 @@ $protocolo = strtolower($protocolo[0]) . &#39;://&#39;.$_SERVER[&#39;SERVER_NAME&#39;] .&quot;:&quot;. $_S @@ -91,7 +91,7 @@ $protocolo = strtolower($protocolo[0]) . &#39;://&#39;.$_SERVER[&#39;SERVER_NAME&#39;] .&quot;:&quot;. $_S
91 $urli3geo = str_replace("/mobile/adicionatema.php","",$protocolo.$_SERVER["PHP_SELF"]); 91 $urli3geo = str_replace("/mobile/adicionatema.php","",$protocolo.$_SERVER["PHP_SELF"]);
92 if ($tipo == "listatemas") 92 if ($tipo == "listatemas")
93 { 93 {
94 - $m = new Menutemas("","",$locsistemas,$locaplic,$menutemas,$urli3geo,$editores); 94 + $m = new Menutemas("","",$locaplic,$urli3geo,$editores);
95 $r = $m->pegaListaDeTemas($grupo,$subgrupo,$idmenu); 95 $r = $m->pegaListaDeTemas($grupo,$subgrupo,$idmenu);
96 echo "<h1>Escolha o tema:</h1>"; 96 echo "<h1>Escolha o tema:</h1>";
97 foreach($r as $l) 97 foreach($r as $l)
@@ -112,7 +112,7 @@ if($tipo == &quot;adicionatema&quot;) @@ -112,7 +112,7 @@ if($tipo == &quot;adicionatema&quot;)
112 if ($tipo == "adicionar") 112 if ($tipo == "adicionar")
113 { 113 {
114 echo "<h1>Escolha o sub-grupo:</h1>"; 114 echo "<h1>Escolha o sub-grupo:</h1>";
115 - $m = new Menutemas("","",$locsistemas,$locaplic,$menutemas,$urli3geo,$editores); 115 + $m = new Menutemas("","",$locaplic,$urli3geo,$editores);
116 $menus = $m->pegaListaDeMenus(); 116 $menus = $m->pegaListaDeMenus();
117 117
118 foreach ($menus as $menu) 118 foreach ($menus as $menu)
ms_configura.php
@@ -155,40 +155,6 @@ if (strtoupper(substr(PHP_OS, 0, 3) == &#39;WIN&#39;)) @@ -155,40 +155,6 @@ if (strtoupper(substr(PHP_OS, 0, 3) == &#39;WIN&#39;))
155 */ 155 */
156 $locmapserv = "/cgi-bin/mapserv.exe"; 156 $locmapserv = "/cgi-bin/mapserv.exe";
157 /* 157 /*
158 - Variable: locsistemas  
159 -  
160 - Onde fica o xml que será utilizado para complementar a lista de temas disponíveis na árvore de adição de temas.  
161 -  
162 - Se for "" será utilizado o sistema de administração do i3geo (veja i3geo/admin).  
163 -  
164 - Com base no arquivo xml é montada uma árvore de opções que é adicionada à arvore de temas mostrada na guia "Adiciona" do i3geo.  
165 -  
166 - Por meio dessa nova árvore pode-se disparar programas PHP que executam operações especiais para a montagem de uma nova camada a ser adicionada ao mapa.  
167 -  
168 - Veja a documentação específica do arquivo sistemas.xml para maiores detalhes.  
169 -  
170 - Tipo:  
171 - {string}  
172 - */  
173 - $locsistemas = "";  
174 - /*  
175 - Variable: locidentifica  
176 -  
177 - Onde fica o xml que será utilizado para complementar a lista de temas disponíveis na ferramenta de identificação.  
178 -  
179 - Se for "" será utilizado o sistema de administração do i3geo (veja i3geo/admin).  
180 -  
181 - Com base no arquivo xml é montada uma lista de opções que é adicionada à lista de temas mostrada ferramenta de identificação de elementos no mapa.  
182 -  
183 - Por meio dessa lista pode-se disparar programas PHP que executam operações especiais para a obtenção de dados com base em um par de coordenadas xy.  
184 -  
185 - Veja a documentação específica do arquivo identifica.xml para maiores detalhes.  
186 -  
187 - Tipo:  
188 - {string}  
189 - */  
190 - $locidentifica = "";  
191 - /*  
192 Variable: locmapas 158 Variable: locmapas
193 159
194 Onde fica o xml, para preencher a guia mapas. 160 Onde fica o xml, para preencher a guia mapas.
@@ -243,32 +209,6 @@ if (strtoupper(substr(PHP_OS, 0, 3) == &#39;WIN&#39;)) @@ -243,32 +209,6 @@ if (strtoupper(substr(PHP_OS, 0, 3) == &#39;WIN&#39;))
243 */ 209 */
244 $postgis_mapa = array("teste"=>"user=postgres password=postgres dbname=pgutf8 host=localhost port=5432 options='-c client_encoding=LATIN1'"); //"user=geodados password=geodados dbname=geodados host=10.1.1.36 port=5432"; 210 $postgis_mapa = array("teste"=>"user=postgres password=postgres dbname=pgutf8 host=localhost port=5432 options='-c client_encoding=LATIN1'"); //"user=geodados password=geodados dbname=geodados host=10.1.1.36 port=5432";
245 /* 211 /*
246 - Variable: menutemas  
247 -  
248 - Array com a lista de arquivos xml que serão incluidos na guia de adição de temas. Se for "", será utilizado o arquivo default menutemas/menutemas.xml.  
249 -  
250 - Esse xml define a lista de temas que serão mostrados na guia "Adiciona".  
251 -  
252 - Para mais detalhes veja a documentação específica do arquivo menutemas/menutemas.xml  
253 -  
254 - Utilize o caminho completo no servidor para o nome dos wml, assim vc evita problemas em serviços do tipo kml e ogc  
255 -  
256 - Example:  
257 -  
258 - $menutemas = array(  
259 - array("publicado"=>"sim","idmenu"=>"A","arquivo"=>"http://localhost/i3geo/menutemas/geopr.xml","status"=>"fechado"),  
260 - array("publicado"=>"sim","idmenu"=>"B","arquivo"=>"http://localhost/i3geo/menutemas/menutemas.xml","status"=>"aberto")  
261 - );  
262 -  
263 -  
264 - Para usar o menu default, utilize apenas $menutemas = ""; nesse caso, os menus serão obtidos do  
265 - banco de dados de administração. Para editar o banco de dados utilize http://localhost/i3geo/admin  
266 -  
267 - Tipo:  
268 - {string}  
269 - */  
270 - $menutemas = "";  
271 - /*  
272 Variable: utilizacgi 212 Variable: utilizacgi
273 213
274 Variável indicando se o desenho do corpo do mapa será baseado no modo cgi. 214 Variável indicando se o desenho do corpo do mapa será baseado no modo cgi.
@@ -287,17 +227,6 @@ if (strtoupper(substr(PHP_OS, 0, 3) == &#39;WIN&#39;)) @@ -287,17 +227,6 @@ if (strtoupper(substr(PHP_OS, 0, 3) == &#39;WIN&#39;))
287 */ 227 */
288 $utilizacgi = "nao"; 228 $utilizacgi = "nao";
289 /* 229 /*
290 - Variable: atlasxml  
291 -  
292 - Indica o nome do arquivo xml que será utilizado na interface Atlas do i3geo.  
293 -  
294 - Pode ser utilizado o caminho relativo, tendo como base i3geo/diretorio  
295 -  
296 - Tipo:  
297 - {string}  
298 - */  
299 - $atlasxml = "";  
300 - /*  
301 Variable: expoeMapfile 230 Variable: expoeMapfile
302 231
303 Essa variável controla se o nome do mapfile atual será ou não retornado para a aplicação via ajax. 232 Essa variável controla se o nome do mapfile atual será ou não retornado para a aplicação via ajax.
@@ -356,14 +285,9 @@ else //se for linux @@ -356,14 +285,9 @@ else //se for linux
356 $dir_tmp = "/var/tmp/ms_tmp"; 285 $dir_tmp = "/var/tmp/ms_tmp";
357 $locmapserv = "/cgi-bin/mapserv"; 286 $locmapserv = "/cgi-bin/mapserv";
358 $locaplic = "/opt/www/html/i3geo"; 287 $locaplic = "/opt/www/html/i3geo";
359 - $locsistemas= "";//"http://dsvmapas.mma.gov.br/i3geo/menutemas/sistemas.xml";  
360 - $locidentifica = "";//"http://dsvmapas.mma.gov.br/i3geo/menutemas/identifica.xml";  
361 - $locmapas = "";//"http://dsvmapas.mma.gov.br/abremapa.php?id=xml";  
362 $R_path = "R";//se vc não instalou o R no seu servidor, tente o endereço $R_path = $locaplic."/pacotes/r/linux/r"; 288 $R_path = "R";//se vc não instalou o R no seu servidor, tente o endereço $R_path = $locaplic."/pacotes/r/linux/r";
363 $postgis_mapa = ""; 289 $postgis_mapa = "";
364 - $menutemas = "";  
365 $utilizacgi = "nao"; 290 $utilizacgi = "nao";
366 - $atlasxml = "";//"../menutemas/atlas.xml";  
367 $expoeMapfile = "sim"; 291 $expoeMapfile = "sim";
368 $conexaoadmin = ""; 292 $conexaoadmin = "";
369 $interfacePadrao = "openlayers.htm"; 293 $interfacePadrao = "openlayers.htm";
ms_criamapa.php
@@ -72,7 +72,7 @@ executa - programa ou função em php que será executado via include. O include é @@ -72,7 +72,7 @@ executa - programa ou função em php que será executado via include. O include é
72 72
73 interface - nome da interface que será utilizada para abrir o mapa. As interfaces são arquivos HTML que podem estar no diretório aplicmap. Por default, utiliza-se o geral.htm. Vc pode copiar esse html e alterá-lo para customizar o mapa. Para chamar o html customizado, utilize ms_criamapa.php?interface=meumapa.htm 73 interface - nome da interface que será utilizada para abrir o mapa. As interfaces são arquivos HTML que podem estar no diretório aplicmap. Por default, utiliza-se o geral.htm. Vc pode copiar esse html e alterá-lo para customizar o mapa. Para chamar o html customizado, utilize ms_criamapa.php?interface=meumapa.htm
74 74
75 -perfil - perfil utilizado para restringir os menus de temas. O menu com os temas mostrados no i3geo são definidos no arquivo menutemas/menutemas.xml. Nesse arquivo,pode-se utilizar um elemento <PERFIL></PERFIL> indicando que o tema apenas será mostrado em perfis específicos. Por exempo: ms_criamapa.php?perfil=usuário1 75 +perfil - perfil utilizado para restringir os menus de temas. ms_criamapa.php?perfil=usuário1
76 76
77 caminho - caminho para os programas que serão incluídos com "include". Ao chamar o programa ms_criamapa.php por meio de "include" é necessário especificar essa variável para indicar o caminho correto do i3geo. 77 caminho - caminho para os programas que serão incluídos com "include". Ao chamar o programa ms_criamapa.php por meio de "include" é necessário especificar essa variável para indicar o caminho correto do i3geo.
78 78
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 /* 2 /*
3 Title: ogc.php 3 Title: ogc.php
4 4
5 -Gera web services nos padrões OGC baseado no menutemas.xml 5 +Gera web services nos padrões OGC
6 6
7 Licenca 7 Licenca
8 8
@@ -236,7 +236,7 @@ else @@ -236,7 +236,7 @@ else
236 $conta = 0; 236 $conta = 0;
237 $int = explode(",",$intervalo); 237 $int = explode(",",$intervalo);
238 $codigosTema = array(); 238 $codigosTema = array();
239 - $m = new Menutemas("",$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo); 239 + $m = new Menutemas("",$perfil,$locaplic,$urli3geo);
240 $menus = $m->pegaListaDeMenus(); 240 $menus = $m->pegaListaDeMenus();
241 foreach ($menus as $menu) 241 foreach ($menus as $menu)
242 { 242 {
@@ -325,21 +325,11 @@ ms_ioresethandlers(); @@ -325,21 +325,11 @@ ms_ioresethandlers();
325 // 325 //
326 function ogc_pegaListaDeMenus() 326 function ogc_pegaListaDeMenus()
327 { 327 {
328 - global $perfil,$menutemas,$locsistemas,$locaplic,$urli3geo; 328 + global $perfil,$locaplic,$urli3geo;
329 if(!isset($perfil)){$perfil = "";} 329 if(!isset($perfil)){$perfil = "";}
330 - if($menutemas != "" || is_array($menutemas))  
331 - {  
332 - foreach($menutemas as $m)  
333 - {$menus[] = $m["arquivo"]; }  
334 - }  
335 - else  
336 - {  
337 - $m = new Menutemas("",$perfil,$locsistemas,$locaplic,"",$urli3geo);  
338 - foreach($m->pegaListaDeMenus() as $menu)  
339 - {$menus[] = $urli3geo."/admin/xmlmenutemas.php?id_menu=".$menu["idmenu"];}  
340 - }  
341 - if(!isset($menus))  
342 - {$menus = array("menutemas/menutemas.xml");} 330 + $m = new Menutemas("",$perfil,$locsistemas,$locaplic,"",$urli3geo);
  331 + foreach($m->pegaListaDeMenus() as $menu)
  332 + {$menus[] = $urli3geo."/admin/xmlmenutemas.php?id_menu=".$menu["idmenu"];}
343 return $menus; 333 return $menus;
344 } 334 }
345 function ogc_imprimeAjuda() 335 function ogc_imprimeAjuda()
@@ -356,8 +346,8 @@ function ogc_imprimeAjuda() @@ -356,8 +346,8 @@ function ogc_imprimeAjuda()
356 } 346 }
357 function ogc_imprimeListaDeTemas() 347 function ogc_imprimeListaDeTemas()
358 { 348 {
359 - global $urli3geo,$perfil,$locsistemas,$locaplic,$menutemas;  
360 - $m = new Menutemas("",$perfil,$locsistemas,$locaplic,$menutemas,$urli3geo); 349 + global $urli3geo,$perfil,$locaplic;
  350 + $m = new Menutemas("",$perfil,$locaplic,$urli3geo);
361 $menus = $m->pegaListaDeMenus(); 351 $menus = $m->pegaListaDeMenus();
362 echo '<html><head><title>WMS</title><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"><meta name="description" content="OGC"><meta name="keywords" content="WMS OGC mapa sig gis webmapping geo geoprocessamento interativo meio ambiente MMA cartografia geografia"> <meta name="robots" content="index,follow">'; 352 echo '<html><head><title>WMS</title><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"><meta name="description" content="OGC"><meta name="keywords" content="WMS OGC mapa sig gis webmapping geo geoprocessamento interativo meio ambiente MMA cartografia geografia"> <meta name="robots" content="index,follow">';
363 echo "<body><b>Lista de temas por grupos e subgrupos e endereços de acesso aos dados por meio de Web Services WMS (os códigos dos temas estão em vermelho)</b><br><br>"; 353 echo "<body><b>Lista de temas por grupos e subgrupos e endereços de acesso aos dados por meio de Web Services WMS (os códigos dos temas estão em vermelho)</b><br><br>";
testainstal.php
@@ -83,9 +83,6 @@ include (&quot;ms_configura.php&quot;); @@ -83,9 +83,6 @@ include (&quot;ms_configura.php&quot;);
83 echo "<b>$mensagemInicia </b> \n"; 83 echo "<b>$mensagemInicia </b> \n";
84 echo "dir_tmp = $dir_tmp \n"; 84 echo "dir_tmp = $dir_tmp \n";
85 echo "locmapserv = $locmapserv \n"; 85 echo "locmapserv = $locmapserv \n";
86 -echo "locaplic = $locaplic \n";  
87 -echo "locsistemas = $locsistemas \n";  
88 -echo "locidentifica = $locidentifica \n";  
89 echo "\n<br>"; 86 echo "\n<br>";
90 echo "editores: \n"; 87 echo "editores: \n";
91 var_dump($editores); 88 var_dump($editores);
@@ -99,56 +96,53 @@ else $ip = &quot;UNKNOWN&quot;; @@ -99,56 +96,53 @@ else $ip = &quot;UNKNOWN&quot;;
99 echo "IP do cliente = $ip \n"; 96 echo "IP do cliente = $ip \n";
100 echo "\n"; 97 echo "\n";
101 98
102 -if($menutemas == "") 99 +echo "verificando banco de dados de administra&ccedil;&atilde;o...\n";
  100 +$tabelas = array(
  101 + "i3geoadmin_sistemasf"=>"abrir_funcao,h_funcao,id_funcao,id_sistema,nome_funcao,perfil_funcao,w_funcao",
  102 + "i3geoadmin_tags"=>"id_tag,nome",
  103 + "i3geoadmin_perfis"=>"id_perfil,perfil",
  104 + "i3geoadmin_atlasp"=>"ordem_prancha,desc_prancha,h_prancha,icone_prancha,id_atlas,id_prancha,link_prancha,mapext_prancha,titulo_prancha,w_prancha",
  105 + "i3geoadmin_atlast"=>"ordem_tema,codigo_tema,id_prancha,id_tema,ligado_tema",
  106 + "i3geoadmin_mapas"=>"publicado_mapa,ordem_mapa,perfil_mapa,ligados_mapa,temas_mapa,desc_mapa,ext_mapa,id_mapa,imagem_mapa,linkdireto_mapa,nome_mapa,outros_mapa",
  107 + "i3geoadmin_atlas"=>"publicado_atlas,ordem_atlas,basemapfile_atlas,desc_atlas,h_atlas,icone_atlas,id_atlas,link_atlas,pranchadefault_atlas,template_atlas,tipoguias_atlas,titulo_atlas,w_atlas",
  108 + "i3geoadmin_sistemas"=>"publicado_sistema,id_sistema,nome_sistema,perfil_sistema",
  109 + "i3geoadmin_identifica"=>"publicado_i,abrir_i,id_i,nome_i,target_i",
  110 + "i3geoadmin_raiz"=>"ordem,id_tema,id_menu,id_nivel,id_raiz,nivel,perfil",
  111 + "i3geoadmin_n1"=>"publicado,ordem,id_menu,id_grupo,id_n1,n1_perfil",
  112 + "i3geoadmin_n2"=>"publicado,ordem,id_n1,id_n2,id_subgrupo,n2_perfil",
  113 + "i3geoadmin_n3"=>"publicado,ordem,id_n2,id_n3,id_tema,n3_perfil",
  114 + "i3geoadmin_ws"=>"nacessosok,nacessos,autor_ws,desc_ws,id_ws,link_ws,nome_ws,tipo_ws",
  115 + "i3geoadmin_grupos"=>"it,es,en,desc_grupo,id_grupo,nome_grupo",
  116 + "i3geoadmin_subgrupos"=>"it,es,en,desc_subgrupo,id_subgrupo,nome_subgrupo",
  117 + "i3geoadmin_temas"=>"it,es,en,kmz_tema,nacessos,id_tema,kml_tema,ogc_tema,download_tema,tags_tema,tipoa_tema,link_tema,desc_tema,nome_tema,codigo_tema",
  118 + "i3geoadmin_menus"=>"it,es,en,publicado_menu,perfil_menu,aberto,desc_menu,id_menu,nome_menu"
  119 +);
  120 +include_once("admin/php/conexao.php");
  121 +foreach(array_keys($tabelas) as $tabela)
103 { 122 {
104 - echo "verificando banco de dados de administra&ccedil;&atilde;o...\n";  
105 - $tabelas = array(  
106 - "i3geoadmin_sistemasf"=>"abrir_funcao,h_funcao,id_funcao,id_sistema,nome_funcao,perfil_funcao,w_funcao",  
107 - "i3geoadmin_tags"=>"id_tag,nome",  
108 - "i3geoadmin_perfis"=>"id_perfil,perfil",  
109 - "i3geoadmin_atlasp"=>"ordem_prancha,desc_prancha,h_prancha,icone_prancha,id_atlas,id_prancha,link_prancha,mapext_prancha,titulo_prancha,w_prancha",  
110 - "i3geoadmin_atlast"=>"ordem_tema,codigo_tema,id_prancha,id_tema,ligado_tema",  
111 - "i3geoadmin_mapas"=>"publicado_mapa,ordem_mapa,perfil_mapa,ligados_mapa,temas_mapa,desc_mapa,ext_mapa,id_mapa,imagem_mapa,linkdireto_mapa,nome_mapa,outros_mapa",  
112 - "i3geoadmin_atlas"=>"publicado_atlas,ordem_atlas,basemapfile_atlas,desc_atlas,h_atlas,icone_atlas,id_atlas,link_atlas,pranchadefault_atlas,template_atlas,tipoguias_atlas,titulo_atlas,w_atlas",  
113 - "i3geoadmin_sistemas"=>"publicado_sistema,id_sistema,nome_sistema,perfil_sistema",  
114 - "i3geoadmin_identifica"=>"publicado_i,abrir_i,id_i,nome_i,target_i",  
115 - "i3geoadmin_raiz"=>"ordem,id_tema,id_menu,id_nivel,id_raiz,nivel,perfil",  
116 - "i3geoadmin_n1"=>"publicado,ordem,id_menu,id_grupo,id_n1,n1_perfil",  
117 - "i3geoadmin_n2"=>"publicado,ordem,id_n1,id_n2,id_subgrupo,n2_perfil",  
118 - "i3geoadmin_n3"=>"publicado,ordem,id_n2,id_n3,id_tema,n3_perfil",  
119 - "i3geoadmin_ws"=>"nacessosok,nacessos,autor_ws,desc_ws,id_ws,link_ws,nome_ws,tipo_ws",  
120 - "i3geoadmin_grupos"=>"it,es,en,desc_grupo,id_grupo,nome_grupo",  
121 - "i3geoadmin_subgrupos"=>"it,es,en,desc_subgrupo,id_subgrupo,nome_subgrupo",  
122 - "i3geoadmin_temas"=>"it,es,en,kmz_tema,nacessos,id_tema,kml_tema,ogc_tema,download_tema,tags_tema,tipoa_tema,link_tema,desc_tema,nome_tema,codigo_tema",  
123 - "i3geoadmin_menus"=>"it,es,en,publicado_menu,perfil_menu,aberto,desc_menu,id_menu,nome_menu"  
124 - );  
125 - include_once("admin/php/conexao.php");  
126 - foreach(array_keys($tabelas) as $tabela) 123 + echo " Tabela: <b>".$tabela."</b>";
  124 + $sql = "select * from $tabela ";
  125 + $q = $dbh->query($sql,PDO::FETCH_ASSOC);
  126 + if($q !== false)
127 { 127 {
128 - echo " Tabela: <b>".$tabela."</b>";  
129 - $sql = "select * from $tabela ";  
130 - $q = $dbh->query($sql,PDO::FETCH_ASSOC);  
131 - if($q !== false) 128 + $resultado = $q->fetchAll();
  129 + if(count($resultado) > 0)
132 { 130 {
133 - $resultado = $q->fetchAll();  
134 - if(count($resultado) > 0) 131 + echo "...ok\n";
  132 + foreach(explode(",",$tabelas[$tabela]) as $coluna)
135 { 133 {
136 - echo "...ok\n";  
137 - foreach(explode(",",$tabelas[$tabela]) as $coluna)  
138 - {  
139 - echo " coluna: ".$coluna;  
140 - if(in_array($coluna,array_keys($resultado[0])))  
141 - {echo "...ok\n";}  
142 - else  
143 - {echo "<span style=color:red >..n&atilde;o encontrada</span>\n";}  
144 - } 134 + echo " coluna: ".$coluna;
  135 + if(in_array($coluna,array_keys($resultado[0])))
  136 + {echo "...ok\n";}
  137 + else
  138 + {echo "<span style=color:red >..n&atilde;o encontrada</span>\n";}
145 } 139 }
146 - else  
147 - {echo "<span style=color:red >...n&atilde;o existem registros cadastrados</span>\n";}  
148 } 140 }
149 else 141 else
150 - {echo "<span style=color:red >..n&atilde;o encontrada</span>\n";} 142 + {echo "<span style=color:red >...n&atilde;o existem registros cadastrados</span>\n";}
151 } 143 }
  144 + else
  145 + {echo "<span style=color:red >..n&atilde;o encontrada</span>\n";}
152 } 146 }
153 echo "\n"; 147 echo "\n";
154 echo "localizando o cgi...\n"; 148 echo "localizando o cgi...\n";
@@ -163,30 +157,12 @@ $f = @fopen($dir_tmp.&quot;/teste.txt&quot;,w); @@ -163,30 +157,12 @@ $f = @fopen($dir_tmp.&quot;/teste.txt&quot;,w);
163 if (file_exists($dir_tmp."/teste.txt")) echo "ok\n"; else saindo("N&atilde;o foi poss&iacute;vel gravar no diret&oacute;rio tempor&aacute;rio"); 157 if (file_exists($dir_tmp."/teste.txt")) echo "ok\n"; else saindo("N&atilde;o foi poss&iacute;vel gravar no diret&oacute;rio tempor&aacute;rio");
164 echo "Existe o geral1.map? "; 158 echo "Existe o geral1.map? ";
165 if(file_exists("$locaplic/aplicmap/geral1.map")) echo "Sim\n"; else {echo "Nao";saindo("geral1.map n&atilde;o encontrado");} 159 if(file_exists("$locaplic/aplicmap/geral1.map")) echo "Sim\n"; else {echo "Nao";saindo("geral1.map n&atilde;o encontrado");}
166 -if ($locsistemas != "")  
167 -{  
168 - echo "Existe o $locsistemas? ";  
169 - if (file_exists("menutemas/sistemas.xml")) echo "ok\n"; else saindo();  
170 - echo "Lendo sistemas.xml \n";  
171 - simplexml_load_file("menutemas/sistemas.xml");  
172 -}  
173 -if ($locidentifica != "")  
174 -{  
175 - echo "Existe o $locidentifica? ";  
176 - if (file_exists("menutemas/identifica.xml")) echo "ok\n"; else saindo();  
177 - echo "Lendo locidentifica.xml \n";  
178 - simplexml_load_file("menutemas/identifica.xml");  
179 -}  
180 -echo "Existe o menutemas.xml? ";  
181 -if (file_exists($locaplic."/menutemas/menutemas.xml")) echo "ok\n"; else saindo("menutemas.xml não encontrado");  
182 -echo "Lendo $locaplic/menutemas/menutemas.xml \n";  
183 -simplexml_load_file($locaplic."/menutemas/menutemas.xml");  
184 echo " \n"; 160 echo " \n";
185 echo "Carregando o map_file geral1...\n"; 161 echo "Carregando o map_file geral1...\n";
186 if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) 162 if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN'))
187 -{$mapa = ms_newMapObj($temasaplic."/geral1windows.map");} 163 +{$mapa = ms_newMapObj($locaplic."/aplicmap/geral1windows.map");}
188 else 164 else
189 -{$mapa = ms_newMapObj($temasaplic."/geral1.map");} 165 +{$mapa = ms_newMapObj($locaplic."/aplicmap/geral1.map");}
190 echo "<b>E agora..desenhando o mapa (se o mapa n&atilde;o aparecer &eacute; um problema...\nverifique os caminhos no ms_configura.php e no geral1.map ou geral1windows.map):</b>\n"; 166 echo "<b>E agora..desenhando o mapa (se o mapa n&atilde;o aparecer &eacute; um problema...\nverifique os caminhos no ms_configura.php e no geral1.map ou geral1windows.map):</b>\n";
191 $imgo = $mapa->draw(); 167 $imgo = $mapa->draw();
192 $nome = ($imgo->imagepath)."teste.png"; 168 $nome = ($imgo->imagepath)."teste.png";
@@ -200,9 +176,9 @@ $error = &quot;&quot;; @@ -200,9 +176,9 @@ $error = &quot;&quot;;
200 ms_ResetErrorList(); 176 ms_ResetErrorList();
201 echo "Carregando o map_file geral1... e acrescentando o estadosl.map \n"; 177 echo "Carregando o map_file geral1... e acrescentando o estadosl.map \n";
202 if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) 178 if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN'))
203 -{$maptemp = ms_newMapObj($temasaplic."/estadoslwindows.map");} 179 +{$maptemp = ms_newMapObj($locaplic."/aplicmap/estadoslwindows.map");}
204 else 180 else
205 -{$maptemp = ms_newMapObj($temasaplic."/estadosl.map");} 181 +{$maptemp = ms_newMapObj($locaplic."/aplicmap/estadosl.map");}
206 while($error && $error->code != MS_NOERR) 182 while($error && $error->code != MS_NOERR)
207 { 183 {
208 printf("<br>Error in %s: %s<br>\n", $error->routine, $error->message); 184 printf("<br>Error in %s: %s<br>\n", $error->routine, $error->message);
@@ -218,7 +194,7 @@ for($i=0;$i&lt;($maptemp-&gt;numlayers);$i++) @@ -218,7 +194,7 @@ for($i=0;$i&lt;($maptemp-&gt;numlayers);$i++)
218 { 194 {
219 $layern = $maptemp->getLayer($i); 195 $layern = $maptemp->getLayer($i);
220 if ($layern->name == "estadosl") 196 if ($layern->name == "estadosl")
221 - {$layern->set("data",$temasaplic."/dados/estados.shp");} 197 + {$layern->set("data",$locaplic."/aplicmap/dados/estados.shp");}
222 ms_newLayerObj($mapa, $layern); 198 ms_newLayerObj($mapa, $layern);
223 } 199 }
224 200