Commit 459f80cb83b2dd9410beac4c718fa807d4384bd0

Authored by Edmar Moretti
1 parent fe6052f2

Inclusão de visualizador de mapa no editor de mapfiles (editor de textos)

admin/admin.db
No preview for this file type
admin/js/estat_mapa.js
@@ -98,24 +98,24 @@ function adicionaNosTemas(no,dados,redesenha) @@ -98,24 +98,24 @@ function adicionaNosTemas(no,dados,redesenha)
98 { 98 {
99 if(!redesenha) 99 if(!redesenha)
100 { 100 {
101 - var conteudo = "<span onclick=\"adicionarTema('"+no.data.id_prancha+"')\" style=\"cursor:pointer;\" ><img style=\"position:relative;top:0px\" width='10px' heigth='10px' src=\"../imagens/05.png\" /><i>Adicionar novo tema:</i></span>"; 101 + var conteudo = "<span onclick=\"adicionarTema('"+no.data.id_mapa_grupo+"')\" style=\"cursor:pointer;\" ><img style=\"position:relative;top:0px\" width='10px' heigth='10px' src=\"../imagens/05.png\" /><i>Adicionar novo tema:</i></span>";
102 var d = {html:conteudo}; 102 var d = {html:conteudo};
103 var tempNode = new YAHOO.widget.HTMLNode(d, no, false,true); 103 var tempNode = new YAHOO.widget.HTMLNode(d, no, false,true);
104 tempNode.isLeaf = true; 104 tempNode.isLeaf = true;
105 } 105 }
106 for (var i=0, j=dados.length; i<j; i++) 106 for (var i=0, j=dados.length; i<j; i++)
107 { 107 {
108 - if(dados[i].nome_tema == "null" || !dados[i].nome_tema || dados[i].codigo_tema == "")  
109 - {dados[i].nome_tema = "";} 108 + if(dados[i].titulo == "null" || !dados[i].titulo || dados[i].id_mapa_tema == "")
  109 + {dados[i].titulo = "";}
110 var conteudo = ""; 110 var conteudo = "";
111 - conteudo += "&nbsp;<img style=\"position:relative;cursor:pointer;top:0px\" onclick=\"excluir('tema','"+dados[i].id_tema+"')\" title=excluir width='10px' heigth='10px' src=\"../imagens/01.png\" />";  
112 - conteudo += "&nbsp;<img style=\"position:relative;cursor:pointer;top:0px\" onclick=\"testarMapfile('"+dados[i].codigo_tema+"')\" title=testar width='10px' heigth='10px' src=\"../imagens/41.png\" />";  
113 - conteudo += "&nbsp;<img style=\"position:relative;cursor:pointer;top:0px\" onclick=\"editar('tema','"+dados[i].id_tema+"')\" title=editar width='10px' heigth='10px' src=\"../imagens/06.png\" />";  
114 - if(dados[i].codigo_tema != "")  
115 - {conteudo += "&nbsp;<span>"+dados[i].codigo_tema+" - </span><span style=color:gray >"+dados[i].nome_tema+"</span>";} 111 + conteudo += "&nbsp;<img style=\"position:relative;cursor:pointer;top:0px\" onclick=\"excluir('tema','"+dados[i].id_mapa_tema+"')\" title=excluir width='10px' heigth='10px' src=\"../imagens/01.png\" />";
  112 + conteudo += "&nbsp;<img style=\"position:relative;cursor:pointer;top:0px\" onclick=\"testarMapfile('"+dados[i].id_mapa_tema+"')\" title=testar width='10px' heigth='10px' src=\"../imagens/41.png\" />";
  113 + conteudo += "&nbsp;<img style=\"position:relative;cursor:pointer;top:0px\" onclick=\"editar('tema','"+dados[i].id_mapa_tema+"')\" title=editar width='10px' heigth='10px' src=\"../imagens/06.png\" />";
  114 + if(dados[i].id_mapa_tema != "")
  115 + {conteudo += "&nbsp;<span>"+dados[i].titulo+"</span>";}
116 else 116 else
117 {conteudo += "&nbsp;<span style=color:red >Edite para definir o tema!!!</span>";} 117 {conteudo += "&nbsp;<span style=color:red >Edite para definir o tema!!!</span>";}
118 - var d = {html:conteudo,id_tema:dados[i].id_tema,tipo:"tema"}; 118 + var d = {html:conteudo,id_mapa_tema:dados[i].id_mapa_tema,tipo:"tema"};
119 var tempNode = new YAHOO.widget.HTMLNode(d, no, false,true); 119 var tempNode = new YAHOO.widget.HTMLNode(d, no, false,true);
120 tempNode.isLeaf = true; 120 tempNode.isLeaf = true;
121 } 121 }
@@ -131,7 +131,7 @@ function adicionaNosGrupos(no,dados,redesenha) @@ -131,7 +131,7 @@ function adicionaNosGrupos(no,dados,redesenha)
131 } 131 }
132 function loadTemasData(node, fnLoadComplete) 132 function loadTemasData(node, fnLoadComplete)
133 { 133 {
134 - var sUrl = "../php/atlas.php?funcao=listaTemasMapa&id_mapa_grupo="+node.data.id_mapa_grupo; 134 + var sUrl = "../php/metaestat.php?funcao=listaTemasMapa&id_mapa_grupo="+node.data.id_mapa_grupo;
135 var callback = 135 var callback =
136 { 136 {
137 success: function(oResponse) 137 success: function(oResponse)
@@ -221,11 +221,10 @@ function editar(tipo,id) @@ -221,11 +221,10 @@ function editar(tipo,id)
221 } 221 }
222 if(tipo == "tema") 222 if(tipo == "tema")
223 { 223 {
224 - var dados = YAHOO.lang.JSON.parse(o.responseText)[0]; 224 + var dados = YAHOO.lang.JSON.parse(o.responseText);
225 core_montaEditor("gravaDados('tema','"+id+"')"); 225 core_montaEditor("gravaDados('tema','"+id+"')");
226 $i("editor_bd").innerHTML = montaDivTema(dados); 226 $i("editor_bd").innerHTML = montaDivTema(dados);
227 core_carregando("desativa"); 227 core_carregando("desativa");
228 - core_comboMapfiles("comboTemaIni","Ecodigo_tema",dados.codigo_tema,"",true);  
229 } 228 }
230 core_carregando("desativa"); 229 core_carregando("desativa");
231 } 230 }
@@ -239,21 +238,21 @@ function editar(tipo,id) @@ -239,21 +238,21 @@ function editar(tipo,id)
239 if(tipo == "grupo") 238 if(tipo == "grupo")
240 {sUrl = "../php/metaestat.php?funcao=listaGruposMapa&id_mapa_grupo="+id;} 239 {sUrl = "../php/metaestat.php?funcao=listaGruposMapa&id_mapa_grupo="+id;}
241 if(tipo == "tema") 240 if(tipo == "tema")
242 - {sUrl = "../php/atlas.php?funcao=pegaDadosTema&id_tema="+id;} 241 + {sUrl = "../php/metaestat.php?funcao=listaTemasMapa&id_mapa_tema="+id;}
243 if(sUrl) 242 if(sUrl)
244 {core_makeRequest(sUrl,callback);} 243 {core_makeRequest(sUrl,callback);}
245 } 244 }
246 function montaDivTema(i) 245 function montaDivTema(i)
247 { 246 {
  247 + var param =
  248 + {
  249 + "linhas":[
  250 + {titulo:"T&iacute;tulo:",id:"Etitulo",size:"50",value:i.titulo,tipo:"text",div:""},
  251 + {titulo:"ID da medida de uma vari&aacute;vel:",id:"Eid_medida_variavel",size:"50",value:i.id_medida_variavel,tipo:"text",div:""}
  252 + ]
  253 + };
248 var ins = ""; 254 var ins = "";
249 - ins += "<br>Código do tema:<br>";  
250 - ins += "<div id=comboTemaIni ></div>";  
251 -  
252 - ins += "Ligado (ao abrir a prancha, esse tema estar&aacute; vis&iacute;vel)?<br>";  
253 - ins += "<select id='Eligado_tema' >";  
254 - ins += core_combosimnao(i.ligado_tema);  
255 - ins += "</select>";  
256 - ins += "<input type=hidden value='"+i.ordem_tema+"' id='Eordem_tema' />"; 255 + ins += core_geraLinhas(param);
257 return(ins); 256 return(ins);
258 } 257 }
259 function montaDivGrupo(i) 258 function montaDivGrupo(i)
@@ -352,7 +351,7 @@ function excluir(tipo,id) @@ -352,7 +351,7 @@ function excluir(tipo,id)
352 if(tipo == "tema") 351 if(tipo == "tema")
353 { 352 {
354 no = tree.getNodeByProperty("id_tema",id); 353 no = tree.getNodeByProperty("id_tema",id);
355 - sUrl = "../php/atlas.php?funcao=excluirTema&id="+id; 354 + sUrl = "../php/metaestat.php?funcao=excluirMapaTema&id_mapa_tema="+id;
356 } 355 }
357 if(sUrl) 356 if(sUrl)
358 {core_excluiNoTree(sUrl,no,mensagem);} 357 {core_excluiNoTree(sUrl,no,mensagem);}
@@ -366,15 +365,15 @@ Adiciona um novo tema @@ -366,15 +365,15 @@ Adiciona um novo tema
366 */ 365 */
367 function adicionarTema(id) 366 function adicionarTema(id)
368 { 367 {
369 - var no = tree.getNodeByProperty("id_prancha",id);  
370 - var sUrl = "../php/atlas.php?funcao=alterarTema&id_prancha="+id; 368 + var no = tree.getNodeByProperty("id_mapa_grupo",id);
  369 + var sUrl = "../php/metaestat.php?funcao=alteraMapaTema&id_mapa_grupo="+id;
371 var callback = 370 var callback =
372 { 371 {
373 success: function(oResponse) 372 success: function(oResponse)
374 { 373 {
375 - var dados = YAHOO.lang.JSON.parse(oResponse.responseText)[0];  
376 - adicionaNosTemas(no,dados,true);  
377 - editar('tema',dados[dados.length-1].id_tema); 374 + var dados = YAHOO.lang.JSON.parse(oResponse.responseText);
  375 + adicionaNosTemas(no,[dados],true);
  376 + editar('tema',dados.id_mapa_tema);
378 }, 377 },
379 failure:core_handleFailure, 378 failure:core_handleFailure,
380 argument: { foo:"foo", bar:"bar" } 379 argument: { foo:"foo", bar:"bar" }
@@ -428,9 +427,9 @@ function gravaDados(tipo,id) @@ -428,9 +427,9 @@ function gravaDados(tipo,id)
428 } 427 }
429 if(tipo == "tema") 428 if(tipo == "tema")
430 { 429 {
431 - campos = new Array("codigo_tema","ordem_tema","ligado_tema");  
432 - par = "&id_tema="+id;  
433 - prog = "../php/atlas.php?funcao=alterarTema"; 430 + campos = new Array("titulo","id_medida_variavel");
  431 + par = "&id_mapa_tema="+id;
  432 + prog = "../php/metaestat.php?funcao=alteraMapaTema";
434 } 433 }
435 for (var i=0;i<campos.length;i++) 434 for (var i=0;i<campos.length;i++)
436 {par += "&"+campos[i]+"="+($i("E"+campos[i]).value);} 435 {par += "&"+campos[i]+"="+($i("E"+campos[i]).value);}
@@ -464,8 +463,8 @@ function gravaDados(tipo,id) @@ -464,8 +463,8 @@ function gravaDados(tipo,id)
464 } 463 }
465 if(tipo == "tema") 464 if(tipo == "tema")
466 { 465 {
467 - var no = tree.getNodeByProperty("id_tema",id);  
468 - no.getContentEl().getElementsByTagName("span")[0].innerHTML = document.getElementById("Ecodigo_tema").value; 466 + var no = tree.getNodeByProperty("id_mapa_tema",id);
  467 + no.getContentEl().getElementsByTagName("span")[0].innerHTML = document.getElementById("Etitulo").value;
469 no.getContentEl().getElementsByTagName("span")[0].style.color = ""; 468 no.getContentEl().getElementsByTagName("span")[0].style.color = "";
470 no.html = no.getContentEl().innerHTML; 469 no.html = no.getContentEl().innerHTML;
471 } 470 }
admin/php/classe_metaestat.php
@@ -850,6 +850,33 @@ class Metaestat{ @@ -850,6 +850,33 @@ class Metaestat{
850 return "Error!: " . $e->getMessage(); 850 return "Error!: " . $e->getMessage();
851 } 851 }
852 } 852 }
  853 + /*
  854 + Function: alteraMapaTema
  855 +
  856 + Altera um tema de um grupo de um mapa ou adiciona um novo
  857 +
  858 + */
  859 + function alteraMapaTema($id_mapa_grupo,$id_mapa_tema="",$titulo="",$id_medida_variavel=""){
  860 + try {
  861 + if($this->convUTF){
  862 + $titulo = utf8_encode($titulo);
  863 + }
  864 + if($id_mapa_tema != ""){
  865 + $this->dbhw->query("UPDATE ".$this->esquemaadmin."i3geoestat_mapa_tema SET titulo='$titulo',id_medida_variavel='$id_medida_variavel' WHERE id_mapa_tema = $id_mapa_tema");
  866 + $retorna = $id_mapa_tema;
  867 + }
  868 + else{
  869 + $retorna = $this->insertId("i3geoestat_mapa_tema","titulo","id_mapa_tema");
  870 + if($retorna){
  871 + $this->dbhw->query("UPDATE ".$this->esquemaadmin."i3geoestat_mapa_tema SET id_mapa_grupo = $id_mapa_grupo WHERE id_mapa_tema = $retorna");
  872 + }
  873 + }
  874 + return $retorna;
  875 + }
  876 + catch (PDOException $e) {
  877 + return "Error!: " . $e->getMessage();
  878 + }
  879 + }
853 /* 880 /*
854 Function: alteraVariavel 881 Function: alteraVariavel
855 882
@@ -1182,6 +1209,21 @@ class Metaestat{ @@ -1182,6 +1209,21 @@ class Metaestat{
1182 $sql .= " ORDER BY titulo"; 1209 $sql .= " ORDER BY titulo";
1183 return $this->execSQL($sql,$id_mapa_grupo); 1210 return $this->execSQL($sql,$id_mapa_grupo);
1184 } 1211 }
  1212 + /*
  1213 + Function: listaTemasMapa
  1214 +
  1215 + Lista os temas de um grupo de um mapa cadastrados para publicacao
  1216 + */
  1217 + function listaTemasMapa($id_mapa_grupo,$id_mapa_tema){
  1218 + if(!empty($id_mapa_grupo)){
  1219 + $sql = "SELECT * from ".$this->esquemaadmin."i3geoestat_mapa_tema WHERE id_mapa_grupo = $id_mapa_grupo";
  1220 + }
  1221 + if(!empty($id_mapa_tema)){
  1222 + $sql = "SELECT * from ".$this->esquemaadmin."i3geoestat_mapa_tema WHERE id_mapa_tema = $id_mapa_tema";
  1223 + }
  1224 + $sql .= " ORDER BY titulo";
  1225 + return $this->execSQL($sql,$id_mapa_tema);
  1226 + }
1185 /* 1227 /*
1186 Function: listaUnidadeMedida 1228 Function: listaUnidadeMedida
1187 1229
admin/php/criabanco.php
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
97 "create table ".$esquemaadmin."i3geoestat_parametro_medida(id_parametro_medida integer primary key,coluna text,nome text,descricao text,id_pai integer default 0,id_medida_variavel integer)", 97 "create table ".$esquemaadmin."i3geoestat_parametro_medida(id_parametro_medida integer primary key,coluna text,nome text,descricao text,id_pai integer default 0,id_medida_variavel integer)",
98 "create table ".$esquemaadmin."i3geoestat_mapa(id_mapa integer not null unique primary key autoincrement,titulo text,template text,logoesquerdo text,logodireito text,publicado integer)", 98 "create table ".$esquemaadmin."i3geoestat_mapa(id_mapa integer not null unique primary key autoincrement,titulo text,template text,logoesquerdo text,logodireito text,publicado integer)",
99 "create table ".$esquemaadmin."i3geoestat_mapa_grupo(id_mapa_grupo integer not null unique primary key autoincrement,id_mapa integer,titulo text,foreign key (id_mapa) references i3geoestat_mapa (id_mapa))", 99 "create table ".$esquemaadmin."i3geoestat_mapa_grupo(id_mapa_grupo integer not null unique primary key autoincrement,id_mapa integer,titulo text,foreign key (id_mapa) references i3geoestat_mapa (id_mapa))",
100 - "create table ".$esquemaadmin."i3geoestat_mapa_tema (id_mapa_tema integer not null unique primary key autoincrement,id_mapa_grupo integer,titulo text,id_medida_variavel integer unique,foreign key (id_mapa_grupo) references i3geoestat_mapa_grupo (id_mapa_grupo),foreign key (id_medida_variavel) references i3geoestat_medida_variavel (id_medida_variavel))" 100 + "create table ".$esquemaadmin."i3geoestat_mapa_tema (id_mapa_tema integer not null unique primary key autoincrement,id_mapa_grupo integer,titulo text,id_medida_variavel integer,foreign key (id_mapa_grupo) references i3geoestat_mapa_grupo (id_mapa_grupo),foreign key (id_medida_variavel) references i3geoestat_medida_variavel (id_medida_variavel))"
101 ); 101 );
102 //valida o usuario e aplica 102 //valida o usuario e aplica
103 if($conexaoadmin == ""){ 103 if($conexaoadmin == ""){
admin/php/editortexto.php
@@ -22,7 +22,7 @@ body { @@ -22,7 +22,7 @@ body {
22 href="../html/editormapfile.html" target="_self">Voltar</a><br> <br> 22 href="../html/editormapfile.html" target="_self">Voltar</a><br> <br>
23 <form action="editortexto.php?mapfile=<?php echo $_GET["mapfile"];?>" 23 <form action="editortexto.php?mapfile=<?php echo $_GET["mapfile"];?>"
24 method=post> 24 method=post>
25 - <input type=submit value="Salvar" /><input type=button value="Testar" 25 + <input type=submit value="Salvar (tamb&eacute;m atualiza o mapa)" /><input type=button value="Testar"
26 onclick="testar()" /><input type=button value="Testar no i3Geo" 26 onclick="testar()" /><input type=button value="Testar no i3Geo"
27 onclick="abrirI3geo()" /> (Salve antes de testar)<br> <br> 27 onclick="abrirI3geo()" /> (Salve antes de testar)<br> <br>
28 <div id="comboMapfiles">Aguarde...</div> 28 <div id="comboMapfiles">Aguarde...</div>
@@ -49,13 +49,15 @@ body { @@ -49,13 +49,15 @@ body {
49 fclose($fp); 49 fclose($fp);
50 } 50 }
51 echo "Edite:<br>"; 51 echo "Edite:<br>";
52 - echo "<TEXTAREA name=texto cols=100 rows=20 style='width:100%'>"; 52 + echo "<TEXTAREA name=texto cols=100 rows=20 style='width:500px;float:left;height:500px'>";
53 echo file_get_contents($mapfile); 53 echo file_get_contents($mapfile);
54 echo "</TEXTAREA>"; 54 echo "</TEXTAREA>";
  55 + echo "<iframe id='mapaPreview' src='../../mashups/openlayers.php?controles=navigation,panzoombar,scaleline,mouseposition&botoes=identifica&largura=490&temas=".$mapfile."' cols=100 rows=20 style='position:relative;top:2px;overflow:hidden;width:500px;height:500px;border:1px solid gray;'>";
  56 + echo "</iframe>";
55 echo "<input type=hidden name=tipo value=gravar />"; 57 echo "<input type=hidden name=tipo value=gravar />";
56 $mapa = ms_newMapObj($mapfile); 58 $mapa = ms_newMapObj($mapfile);
57 $n = $mapa->numlayers; 59 $n = $mapa->numlayers;
58 - echo "Colunas dos layers:<br><br>"; 60 + echo "<br><br>Colunas dos layers:<br><br>";
59 for($i=0;$i<$n;$i++){ 61 for($i=0;$i<$n;$i++){
60 $l = $mapa->getlayer($i); 62 $l = $mapa->getlayer($i);
61 echo $l->name.": ".(implode(",",pegaItens($l)))."<br><br>"; 63 echo $l->name.": ".(implode(",",pegaItens($l)))."<br><br>";
admin/php/metaestat.php
@@ -42,6 +42,7 @@ include_once(__DIR__.&quot;/login.php&quot;); @@ -42,6 +42,7 @@ include_once(__DIR__.&quot;/login.php&quot;);
42 42
43 $funcoesEdicao = array( 43 $funcoesEdicao = array(
44 "ALTERAMAPAGRUPO", 44 "ALTERAMAPAGRUPO",
  45 + "ALTERAMAPATEMA",
45 "ALTERAMAPA", 46 "ALTERAMAPA",
46 "ALTERAVARIAVEL", 47 "ALTERAVARIAVEL",
47 "ALTERAMEDIDAVARIAVEL", 48 "ALTERAMEDIDAVARIAVEL",
@@ -59,6 +60,7 @@ $funcoesEdicao = array( @@ -59,6 +60,7 @@ $funcoesEdicao = array(
59 "ALTERARTIPOPERIODO", 60 "ALTERARTIPOPERIODO",
60 "EXCLUIRMAPA", 61 "EXCLUIRMAPA",
61 "EXCLUIRMAPAGRUPO", 62 "EXCLUIRMAPAGRUPO",
  63 + "EXCLUIRMAPATEMA",
62 "EXCLUIRVARIAVEL", 64 "EXCLUIRVARIAVEL",
63 "EXCLUIRTIPOPERIODO", 65 "EXCLUIRTIPOPERIODO",
64 "EXCLUIRUNIDADEMEDIDA", 66 "EXCLUIRUNIDADEMEDIDA",
@@ -284,6 +286,11 @@ switch (strtoupper($funcao)) @@ -284,6 +286,11 @@ switch (strtoupper($funcao))
284 retornaJSON($m->listaGruposMapa($id_mapa,$id_mapa_grupo)); 286 retornaJSON($m->listaGruposMapa($id_mapa,$id_mapa_grupo));
285 exit; 287 exit;
286 break; 288 break;
  289 + case "LISTATEMASMAPA":
  290 + $m = new Metaestat();
  291 + retornaJSON($m->listaTemasMapa($id_mapa_grupo,$id_mapa_tema));
  292 + exit;
  293 + break;
287 //lista os templates que o usuario pode escolher para publicar mapas 294 //lista os templates que o usuario pode escolher para publicar mapas
288 //a pasta com alista e definida na variavel $metaestatTemplates localizada no ms_configura.php 295 //a pasta com alista e definida na variavel $metaestatTemplates localizada no ms_configura.php
289 case "LISTATEMPLATESMAPA": 296 case "LISTATEMPLATESMAPA":
@@ -701,6 +708,17 @@ switch (strtoupper($funcao)) @@ -701,6 +708,17 @@ switch (strtoupper($funcao))
701 retornaJSON($m->listaGruposMapa($id_mapa,$id_mapa_grupo)); 708 retornaJSON($m->listaGruposMapa($id_mapa,$id_mapa_grupo));
702 exit; 709 exit;
703 break; 710 break;
  711 + case "ALTERAMAPATEMA":
  712 + $m = new Metaestat();
  713 + if(empty($id_mapa_tema)){
  714 + $id_mapa_tema = $m->alteraMapaTema($id_mapa_grupo);
  715 + }
  716 + else{
  717 + $id_mapa_tema = $m->alteraMapaTema($id_mapa_grupo,$id_mapa_tema,$titulo,$id_medida_variavel);
  718 + }
  719 + retornaJSON($m->listaTemasMapa($id_mapa_grupo,$id_mapa_tema));
  720 + exit;
  721 + break;
704 /* 722 /*
705 Valor: EXCLUIRMAPA 723 Valor: EXCLUIRMAPA
706 724
@@ -731,6 +749,13 @@ switch (strtoupper($funcao)) @@ -731,6 +749,13 @@ switch (strtoupper($funcao))
731 retornaJSON("erro"); 749 retornaJSON("erro");
732 exit; 750 exit;
733 break; 751 break;
  752 + case "EXCLUIRMAPATEMA":
  753 + $tabela = "i3geoestat_mapa_tema";
  754 + $id = $id_mapa_tema;
  755 + $m = new Metaestat();
  756 + retornaJSON($m->excluirRegistro("i3geoestat_mapa_tema","id_mapa_tema",$id));
  757 + exit;
  758 + break;
734 /* 759 /*
735 Valor: EXCLUIRVARIAVEL 760 Valor: EXCLUIRVARIAVEL
736 761
admin/php/upgradebanco46_47.php
@@ -90,7 +90,7 @@ $tabelas = array( @@ -90,7 +90,7 @@ $tabelas = array(
90 "create table ".$esquemaadmin."i3geoestat_parametro_medida(id_parametro_medida integer primary key,coluna text,nome text,descricao text,id_pai integer default 0,id_medida_variavel integer)", 90 "create table ".$esquemaadmin."i3geoestat_parametro_medida(id_parametro_medida integer primary key,coluna text,nome text,descricao text,id_pai integer default 0,id_medida_variavel integer)",
91 "create table ".$esquemaadmin."i3geoestat_mapa(id_mapa integer not null unique primary key autoincrement,titulo text,template text,logoesquerdo text,logodireito text,publicado integer)", 91 "create table ".$esquemaadmin."i3geoestat_mapa(id_mapa integer not null unique primary key autoincrement,titulo text,template text,logoesquerdo text,logodireito text,publicado integer)",
92 "create table ".$esquemaadmin."i3geoestat_mapa_grupo(id_mapa_grupo integer not null unique primary key autoincrement,id_mapa integer,titulo text,foreign key (id_mapa) references i3geoestat_mapa (id_mapa))", 92 "create table ".$esquemaadmin."i3geoestat_mapa_grupo(id_mapa_grupo integer not null unique primary key autoincrement,id_mapa integer,titulo text,foreign key (id_mapa) references i3geoestat_mapa (id_mapa))",
93 - "create table ".$esquemaadmin."i3geoestat_mapa_tema (id_mapa_tema integer not null unique primary key autoincrement,id_mapa_grupo integer,titulo text,id_medida_variavel integer unique,foreign key (id_mapa_grupo) references i3geoestat_mapa_grupo (id_mapa_grupo),foreign key (id_medida_variavel) references i3geoestat_medida_variavel (id_medida_variavel))" 93 + "create table ".$esquemaadmin."i3geoestat_mapa_tema (id_mapa_tema integer not null unique primary key autoincrement,id_mapa_grupo integer,titulo text,id_medida_variavel integer,foreign key (id_mapa_grupo) references i3geoestat_mapa_grupo (id_mapa_grupo),foreign key (id_medida_variavel) references i3geoestat_medida_variavel (id_medida_variavel))"
94 ); 94 );
95 foreach($tabelas as $tabela) 95 foreach($tabelas as $tabela)
96 { 96 {
admin/sql/metaestat.sql
@@ -11,9 +11,9 @@ drop table i3geoestat_medida_variavel; @@ -11,9 +11,9 @@ drop table i3geoestat_medida_variavel;
11 drop table i3geoestat_tipo_regiao; 11 drop table i3geoestat_tipo_regiao;
12 drop table i3geoestat_conexao; 12 drop table i3geoestat_conexao;
13 drop table i3geoestat_fonteinfo; 13 drop table i3geoestat_fonteinfo;
14 -drop table i3geoestat_mapa_tema;  
15 drop table i3geoestat_mapa_grupo; 14 drop table i3geoestat_mapa_grupo;
16 drop table i3geoestat_mapa; 15 drop table i3geoestat_mapa;
  16 +drop table i3geoestat_mapa_tema;
17 drop table i3geoestat_tipo_periodo; 17 drop table i3geoestat_tipo_periodo;
18 drop table i3geoestat_unidade_medida; 18 drop table i3geoestat_unidade_medida;
19 drop table i3geoestat_variavel; 19 drop table i3geoestat_variavel;
@@ -249,7 +249,7 @@ create table i3geoestat_mapa_tema @@ -249,7 +249,7 @@ create table i3geoestat_mapa_tema
249 id_mapa_grupo integer, 249 id_mapa_grupo integer,
250 -- titulo do tema, se for vazio, usa o definido no sistema metaestat 250 -- titulo do tema, se for vazio, usa o definido no sistema metaestat
251 titulo text, 251 titulo text,
252 - id_medida_variavel integer unique, 252 + id_medida_variavel integer,
253 foreign key (id_mapa_grupo) 253 foreign key (id_mapa_grupo)
254 references i3geoestat_mapa_grupo (id_mapa_grupo), 254 references i3geoestat_mapa_grupo (id_mapa_grupo),
255 foreign key (id_medida_variavel) 255 foreign key (id_medida_variavel)
documentacao/diagramas/metaestat.erm
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <category_index>0</category_index> 12 <category_index>0</category_index>
13 <zoom>1.0</zoom> 13 <zoom>1.0</zoom>
14 <x>203</x> 14 <x>203</x>
15 - <y>322</y> 15 + <y>262</y>
16 <default_color> 16 <default_color>
17 <r>255</r> 17 <r>255</r>
18 <g>128</g> 18 <g>128</g>
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
110 </connections> 110 </connections>
111 <display>false</display> 111 <display>false</display>
112 <creation_date>2012-07-17 15:03:53</creation_date> 112 <creation_date>2012-07-17 15:03:53</creation_date>
113 - <updated_date>2013-01-14 17:13:53</updated_date> 113 + <updated_date>2013-01-14 19:30:51</updated_date>
114 <model_property> 114 <model_property>
115 <name>Project Name</name> 115 <name>Project Name</name>
116 <value></value> 116 <value></value>
@@ -4960,7 +4960,7 @@ @@ -4960,7 +4960,7 @@
4960 <foreign_key>true</foreign_key> 4960 <foreign_key>true</foreign_key>
4961 <not_null>false</not_null> 4961 <not_null>false</not_null>
4962 <primary_key>false</primary_key> 4962 <primary_key>false</primary_key>
4963 - <unique_key>true</unique_key> 4963 + <unique_key>false</unique_key>
4964 <character_set></character_set> 4964 <character_set></character_set>
4965 <collation></collation> 4965 <collation></collation>
4966 <sequence> 4966 <sequence>
ferramentas/metaestat/templates/openlayersdebug.php 0 → 100644
@@ -0,0 +1,315 @@ @@ -0,0 +1,315 @@
  1 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2 +<html>
  3 +<head>
  4 +<meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile">
  5 +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  6 +<title>i3GEO - OpenLayers</title>
  7 +<style>
  8 +.olControlEditingToolbar1 div {
  9 + background-image:url(../mashups/openlayers.png);
  10 + background-repeat:no-repeat;
  11 + float:right;
  12 + right: 0px;
  13 + height:29px;
  14 + margin:2px;
  15 + width:29px;
  16 + cursor:pointer;
  17 +}
  18 +</style>
  19 +</head>
  20 +<body id="i3geo" style="background-color:white">
  21 +<!-- inclui o nome do usuario logado -->
  22 +<div id="i3GEONomeLogin" style="position:absolute;left:10px;top:12px;font-size:11px;z-index:50000"></div>
  23 +<table id='mst' summary="" style='display:none;' width=100% cellspacing='0'>
  24 + <tr style="border:0px">
  25 + <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td>
  26 + </tr>
  27 + <tr>
  28 + <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)">
  29 + <!--menu suspenso-->
  30 + <div id="menus" ></div>
  31 + </td>
  32 + </tr>
  33 + <tr>
  34 + <td style="vertical-align:top;border-width:0px;">
  35 + <table width="100%" style="vertical-align:top;border-width:0px">
  36 + <tr>
  37 + <td class=verdeclaro id=contemImg >
  38 + <div id=corpoMapa style="position:relative;background-image:url('../imagens/i3geo1bw.jpg');"></div>
  39 + </td>
  40 + </tr>
  41 + </table>
  42 + </td>
  43 + </tr>
  44 + <tr>
  45 + <td>
  46 + <table width=100% >
  47 + <tr>
  48 + <td class=tdbranca >
  49 + <!--
  50 + Nesse div s&atilde;o inclu&iacute;dos os &iacute;cones que permitem ao usu&aacute;rio modificar o visual de cores dos &iacute;cones
  51 + <div id=visual ></div>
  52 + -->
  53 + <!-- bot&atilde;o de compartilhamento em redes sociais-->
  54 + <div id=i3GEOcompartilhar style="width:170px;margin:auto;text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div>
  55 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
  56 + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div>
  57 + </td>
  58 + <td class=tdbranca >
  59 + <!-- aqui ser&aacute; inclu&iacute;da a escala num&eacute;rica -->
  60 + <div id=escala style="margin:auto;text-align:right;" ></div>
  61 + </td>
  62 + <td class=tdbranca >
  63 + <!-- aqui ser&aacute; inclu&iacute;do o gadget que mostra a coordenada geogr&aacute;fica da posi&ccedil;&atilde;o do mouse -->
  64 + <div id=localizarxy style="margin:auto;text-align:left;font-size:10px;display:inline-table"></div>
  65 + </td>
  66 + <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
  67 + <td class=tdbranca >
  68 + <div id=seletorIdiomas ></div>
  69 + </td>
  70 + </tr>
  71 + </table>
  72 + </td>
  73 + </tr>
  74 + <tr style="border:0px">
  75 + <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td>
  76 + </tr>
  77 +</table>
  78 +<table id="i3GEOlogoMarca" style='margin: 0px auto;box-shadow:0 1px 13px gray;border-radius:5px;'>
  79 + <tr>
  80 + <td><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para cria&ccedil;&atilde;o de mapas interativos e geoprocessamento</h2><h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, &eacute; licenciado sob GPL e integra o Portal do Software P&uacute;blico Brasileiro</h3></td>
  81 + </tr>
  82 + <tr>
  83 + <td style="padding:10px;"><img style="width:560px;height:81px" alt="" src='../imagens/logo_inicio.png' ></td>
  84 + </tr>
  85 + <tr>
  86 + <td>
  87 + <!--
  88 + <script id="ohloh" type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script>
  89 + -->
  90 + </td>
  91 + </tr>
  92 +</table>
  93 +
  94 +<div id="i3GEOguiaMovel" style="position:absolute;display:block;border:0px solid white;text-align:left;z-index:2000;background-color:none">
  95 + <img id="i3GEOguiaMovelPuxador" onclick='i3GEO.guias.guiaMovel.abreFecha()' style='z-index:2;border:solid 0px white;left:0px;position:absolute;top:0px' width='0px' src='../imagens/openbars.png' >
  96 + <div id="i3GEOguiaMovelMolde" style="box-shadow:-2px 0 2px gray;border-radius:5px 0px 0px 5px;position:absolute;display:none;border:0px solid white;text-align:left;z-index:1000;background-color:gray">
  97 + <div id="i3GEOguiaMovelIcones" style='overflow:none;left:0px;display:none;position:absolute;top:0px;text-align:center;height:0px;width:0px;border:solid 0px white;background-color:white' ></div>
  98 + <div id="i3GEOguiaMovelConteudo" style='overflow:auto;display:none;position:absolute;border-color:gray;border-width:0px 0 0px 0px;left:0px;height:0px;background-color:white'>
  99 + <div id='guia1obj' style='display:none;' >
  100 + <!-- Esta div acrescenta a op&ccedil;&atilde;o de busca r&aacute;pida, caso vc queira coloc&aacute;-la em um lugar espec&iacute;fico -->
  101 + <div style='left:5px;top:10px;' id=buscaRapida ></div>
  102 + <!-- Esta div acrescenta a lista de propriedades do mapa -->
  103 + <div id=listaPropriedades style='top:15px;' ></div>
  104 + <!-- Esta div acrescenta a lista de de camadas do tipo 'baselayers' espec&iacute;ficas da interface Openlayers. Veja tamb&eacute;m a op&ccedil;&atilde;o i3GEO.Interface.openlayers.GADGETS.LayerSwitcher -->
  105 + <div id=listaLayersBase style='top:15px;'></div>
  106 + <!-- Esta div acrescenta a lista de de camadas dispon&iacute;veis no mapa atual -->
  107 + <div id=listaTemas style='top:15px;'></div>
  108 + </div>
  109 + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div>
  110 + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div>
  111 + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div>
  112 + </div>
  113 + </div>
  114 +</div>
  115 +<script src="../classesjs/i3geonaocompacto.js"></script>
  116 +<script src="../pacotes/openlayers/OpenLayers211.js.php"></script>
  117 +<!-- estilo necess&aacute;rio para a ferramenta de edi&ccedil;&atilde;o -->
  118 +
  119 +<script>
  120 +/*
  121 +Interface Openlayers para debug
  122 +
  123 +Abre o i3geo com todas as suas funcionalidades e interface de navega&ccedil;&atilde;o controlada pela API Openlayers.
  124 +
  125 +File: i3geo/interface/openlayers.htm
  126 +
  127 +Exemplo:
  128 +
  129 +http://<host>/i3geo/ms_criamapa.php
  130 +
  131 +http://<host>/i3geo/interface/openlayers.htm
  132 +
  133 +http://<host>/i3geo
  134 +
  135 +Para definir quais bot&otilde;es das barras de ferramentas ser&atilde;o inclu&iacute;dos no mapa, veja: <classe_barradebotoes.js> i3GEO.barraDeBotoes.INCLUIBOTAO
  136 +
  137 +*/
  138 +/*
  139 + Indica a localiza&ccedil;&atilde;o correta do i3geo.
  140 +
  141 + &Eacute; utilizada para identificar o local correto onde est&atilde;o os programas em php que s&atilde;o utilizados.
  142 +
  143 + Se n&atilde;o for definida, o i3Geo tentar&aacute; encontrar o local automaticamente com base na tag javascript
  144 +*/
  145 +//i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo";
  146 +/*
  147 +Para outras configura&ccedil;&otilde;es, veja i3geo/classesjs/classe_configura.js
  148 +
  149 +exemplo
  150 +
  151 +i3GEO.configura.autotamanho = true;
  152 +*/
  153 +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo";
  154 +i3GEO.configura.autotamanho = false;
  155 +i3GEO.Interface.ATUAL = "openlayers";
  156 +i3GEO.Interface.IDCORPO = "contemImg";
  157 +//ativa ou desativa o balao de info ao clicar no mapa
  158 +i3GEO.eventos.cliquePerm.ativo = true;
  159 +//
  160 +//define a funcao que sera executada ao clicar no mapa
  161 +//default (balao do tipo etiqueta)
  162 +i3GEO.eventos.MOUSECLIQUEPERM = [i3GEO.configura.funcaoTip];
  163 +//alternativo (janela de identificacao
  164 +//i3GEO.eventos.MOUSECLIQUEPERM = [i3GEO.configura.funcaoIdentifica];
  165 +//
  166 +i3GEO.Interface.openlayers.GADGETS = {
  167 + PanZoomBar:true,
  168 + PanZoom:false,
  169 + LayerSwitcher:true,
  170 + ScaleLine:true,
  171 + OverviewMap:false
  172 + };
  173 +i3GEO.Interface.openlayers.TILES = true;
  174 +/*
  175 +i3GEO.Interface.openlayers.parametrosMap.scales = [
  176 + 105000000,50000000,21000000,10000000,5000000,1000000,500000,250000,100000,50000,25000,10000,5000,1000,100
  177 +];
  178 +i3GEO.Interface.openlayers.parametrosMap.numzoom = 18;
  179 +*/
  180 +//
  181 +//controla o tamanho da barra de zoom
  182 +//
  183 +//i3GEO.Interface.openlayers.MINEXTENT = [-0.001, -0.001, 0.001, 0.001]
  184 +//
  185 +//
  186 +//desabilita o item que abre a interface "default" do menu suspenso
  187 +//
  188 +i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso.finaliza = 'if($i("omenudataInterface1")){i3GEOoMenuBar.getMenuItem("omenudataInterface1").cfg.setProperty("text", " ");}';
  189 +
  190 +/*
  191 +Após a cria&ccedil;&atilde;o, &eacute; criado o objeto i3geoOL que corresponde ao objeto map da API do OpenLayers.
  192 +Vc pode usar i3geoOL para aplicar os m&eacute;todos e verificar as propriedades da API do OpenLayers
  193 +*/
  194 +
  195 +i3GEO.cria();
  196 +/*
  197 + Inicializa o mapa
  198 +*/
  199 +//n&atilde;o mostra o mapa de refer&ecirc;ncia
  200 +i3GEO.configura.mapaRefDisplay = "none";
  201 +//tipo de barra de bot&otilde;es
  202 +i3GEO.barraDeBotoes.TIPO = "olhodepeixe";
  203 +//ajusta o deslocamento da barra de bot&otilde;es
  204 +i3GEO.barraDeBotoes.OFFSET = -3;
  205 +//ajusta a posi&ccedil;&atilde;o da barra de bot&otilde;es no IE
  206 +//if(navm)
  207 +//{i3GEO.barraDeBotoes.OFFSET = -45;}
  208 +//n&uacute;mero m&aacute;ximo de bot&otilde;es na barra de bot&otilde;es inicial
  209 +//i3GEO.barraDeBotoes.MAXBOTOES = 10;
  210 +//remove itens dos menus que n&atilde;o s&atilde;o necess&aacute;rios, j&aacute; que est&atilde;o como &iacute;cones na barra de bot&otilde;es
  211 +i3GEO.configura.oMenuData["submenus"]["janelas"] = [];
  212 +i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso.permiteLogin = true;
  213 +//
  214 +//barra de botoes normal. descomente para usar
  215 +/*
  216 +i3GEO.barraDeBotoes.TIPO = "yui";
  217 +i3GEO.barraDeBotoes.AUTOALTURA = true;
  218 +i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false;
  219 +i3GEO.barraDeBotoes.PERMITEFECHAR = false;
  220 +i3GEO.barraDeBotoes.PERMITEDESLOCAR = false;
  221 +i3GEO.barraDeBotoes.AUTO = true;
  222 +i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja";
  223 +
  224 +i3GEO.Interface.BARRABOTOESLEFT = 0;
  225 +i3GEO.Interface.BARRABOTOESTOP = 2;
  226 +i3GEO.Interface.BARRADEZOOMTOP = 10;
  227 +i3GEO.Interface.BARRADEZOOMLEFT = 40;
  228 +*/
  229 +i3GEO.ajuda.ATIVAJANELA = false;
  230 +i3GEO.idioma.IDSELETOR = "seletorIdiomas";
  231 +i3GEO.Interface.ATIVAMENUCONTEXTO = false;
  232 +i3GEO.arvoreDeTemas.TIPOBOTAO = "radio";
  233 +
  234 +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentarios = true;
  235 +i3GEO.arvoreDeCamadas.VERIFICAABRANGENCIATEMAS = true;
  236 +i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false;
  237 +i3GEO.mapa.AUTORESIZE = true;
  238 +i3GEO.guias.TIPO = "movel";
  239 +//i3GEO.guias.guiaMovel.ABERTA = true;
  240 +//posi&ccedil;&atilde;o da guia movel em rela&ccedil;&atilde;o ao topo do mapa. Se for igual a 0, o c&aacute;lculo ser&aacute; feito de forma autom&aacute;tica
  241 +i3GEO.guias.guiaMovel.config.topGuiaMovel = 0;
  242 +//
  243 +//define quanto tempo &eacute; aguardado para considerar que o mouse est&aacute; parado sobre um lugar.
  244 +//utilizado pela fun&ccedil;&atilde;o de identifica&ccedil;&atilde;o do tipo bal&atilde;o
  245 +//
  246 +//i3GEO.configura.tempoMouseParado = 1000
  247 +//
  248 +//esta &eacute; uma vari&aacute;vel interna do OpenLayers que define o endere&ccedil;o do diretório onde est&atilde;o as imagens usadas nos &iacute;cones
  249 +//
  250 +OpenLayers.ImgPath = "../pacotes/openlayers/img/";
  251 +//
  252 +//adiciona camadas que podem ser ativadas como fundo do mapa
  253 +//
  254 +(function(){
  255 + var oce = new OpenLayers.Layer.ArcGIS93Rest(
  256 + "ESRI Ocean Basemap",
  257 + "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export",
  258 + {format:"jpeg"},
  259 + {isBaseLayer:true,visibility:false}
  260 + );
  261 + var ims = new OpenLayers.Layer.ArcGIS93Rest(
  262 + "ESRI Imagery World 2D",
  263 + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export",
  264 + {format:"jpeg"},
  265 + {isBaseLayer:true,visibility:false}
  266 + );
  267 + var wsm = new OpenLayers.Layer.ArcGIS93Rest(
  268 + "ESRI World Street Map",
  269 + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export",
  270 + {format:"jpeg"},
  271 + {isBaseLayer:true,visibility:false}
  272 + );
  273 + var bra = new OpenLayers.Layer.WMS(
  274 + "Base carto MMA",
  275 + "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map",
  276 + {layers:"baseraster",srs:"EPSG:4618",format:"image/png",isBaseLayer:false},
  277 + {isBaseLayer:true,visibility:false}
  278 + );
  279 +
  280 + var tms = new OpenLayers.Layer.TMS(
  281 + "OSGEO",
  282 + "http://tilecache.osgeo.org/wms-c/Basic.py/",
  283 + {
  284 + layername: "basic",
  285 + type: "png",
  286 + // set if different than the bottom left of map.maxExtent
  287 + tileOrigin: new OpenLayers.LonLat(-180,-90),
  288 + isBaseLayer:true,
  289 + visibility:false
  290 + }
  291 + );
  292 +
  293 + i3GEO.Interface.openlayers.LAYERSADICIONAIS = [oce,ims,wsm,tms,bra];
  294 +})();
  295 +//
  296 +//substitui a janela de alerta normal do navegador por uma janela estilizada. Pode ser comentado sem problemas. No Safari apresentou problemas.
  297 +//
  298 +//i3GEO.janela.ativaAlerta();
  299 +//
  300 +//inicia o mapa
  301 +//
  302 +//esconde a logomarca ao finalizar o mapa
  303 +i3GEO.finaliza = function(){
  304 + if($i("i3GEOlogoMarca"))
  305 + {$i("i3GEOlogoMarca").style.display = "none";}
  306 + i3GEO.mapa.insereDobraPagina("googlemaps","../imagens/dobragooglemaps.png");
  307 +};
  308 +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.navegacaoDir = true;
  309 +//OpenLayers.DOTS_PER_INCH = 96
  310 +//i3GEO.configura.sid = "";
  311 +i3GEO.janela.TRANSICAOSUAVE = true;
  312 +i3GEO.inicia();
  313 +</script>
  314 +</body>
  315 +</html>
mashups/openlayers.php
@@ -368,13 +368,13 @@ i3GEO.editorOL.ativarodadomouse = &quot;&lt;?php @@ -368,13 +368,13 @@ i3GEO.editorOL.ativarodadomouse = &quot;&lt;?php
368 else 368 else
369 {echo "true";} 369 {echo "true";}
370 ?>"; 370 ?>";
371 -<?php 371 +<?php
372 if(isset($fundo) && $fundo != ""){ 372 if(isset($fundo) && $fundo != ""){
373 echo "i3GEO.editorOL.fundo = '".implode(",",$fundo)."';"; 373 echo "i3GEO.editorOL.fundo = '".implode(",",$fundo)."';";
374 } 374 }
375 375
376 if(isset($controles)){ 376 if(isset($controles)){
377 - echo "i3GEO.editorOL.controle = [".implode(",",$objControles)."];"; 377 + echo "i3GEO.editorOL.controles = [".implode(",",$objControles)."];";
378 } 378 }
379 if(isset($numzoomlevels)){ 379 if(isset($numzoomlevels)){
380 echo "i3GEO.editorOL.numzoom = ".$numzoomlevels.";"; 380 echo "i3GEO.editorOL.numzoom = ".$numzoomlevels.";";
symbols/simbolos.sym
@@ -3,7 +3,15 @@ SYMBOLSET @@ -3,7 +3,15 @@ SYMBOLSET
3 #este arquivo está aqui para efeitos de compatibilidade 3 #este arquivo está aqui para efeitos de compatibilidade
4 #arquivos .map dentro de i3geo/temas podem ainda estar usando esse arquivo 4 #arquivos .map dentro de i3geo/temas podem ainda estar usando esse arquivo
5 # 5 #
6 - SYMBOL 6 + Symbol
  7 + NAME '0'
  8 + TYPE VECTOR
  9 + FILLED TRUE
  10 + POINTS
  11 + 0 0
  12 + END
  13 + END
  14 + SYMBOL
7 NAME 'cruzeta' 15 NAME 'cruzeta'
8 TYPE VECTOR 16 TYPE VECTOR
9 POINTS 17 POINTS
@@ -14,11 +22,11 @@ SYMBOLSET @@ -14,11 +22,11 @@ SYMBOLSET
14 1 0.5 22 1 0.5
15 END 23 END
16 END 24 END
17 - SYMBOL  
18 - NAME 'google1' 25 + SYMBOL
  26 + NAME 'google1'
19 TYPE VECTOR 27 TYPE VECTOR
20 - FILLED TRUE  
21 - POINTS 28 + FILLED TRUE
  29 + POINTS
22 90 -363 30 90 -363
23 140 -363 31 140 -363
24 165 -347 32 165 -347
@@ -51,21 +59,22 @@ SYMBOLSET @@ -51,21 +59,22 @@ SYMBOLSET
51 51 -347 59 51 -347
52 73 -363 60 73 -363
53 120 -363 61 120 -363
54 - END 62 + END
55 END 63 END
56 - Symbol  
57 - NAME 'p0'  
58 - TYPE VECTOR  
59 - FILLED TRUE  
60 - POINTS  
61 - 0 1  
62 - 0 0  
63 - 1 0  
64 - 1 1  
65 - 0 1  
66 - END  
67 - END  
68 - 64 +
  65 + Symbol
  66 + NAME 'p0'
  67 + TYPE VECTOR
  68 + FILLED TRUE
  69 + POINTS
  70 + 0 1
  71 + 0 0
  72 + 1 0
  73 + 1 1
  74 + 0 1
  75 + END
  76 + END
  77 +
69 Symbol 78 Symbol
70 Name "p1" 79 Name "p1"
71 Type VECTOR 80 Type VECTOR
@@ -75,7 +84,7 @@ SYMBOLSET @@ -75,7 +84,7 @@ SYMBOLSET
75 1 1 84 1 1
76 END 85 END
77 END 86 END
78 - 87 +
79 Symbol 88 Symbol
80 Name "p2" 89 Name "p2"
81 Type VECTOR 90 Type VECTOR
@@ -116,7 +125,7 @@ SYMBOLSET @@ -116,7 +125,7 @@ SYMBOLSET
116 0 1 125 0 1
117 END 126 END
118 END 127 END
119 - 128 +
120 Symbol 129 Symbol
121 Name "p6" 130 Name "p6"
122 Type VECTOR 131 Type VECTOR
@@ -127,7 +136,7 @@ SYMBOLSET @@ -127,7 +136,7 @@ SYMBOLSET
127 1 0 136 1 0
128 END 137 END
129 END 138 END
130 - 139 +
131 Symbol 140 Symbol
132 Name "p7" 141 Name "p7"
133 Type VECTOR 142 Type VECTOR
@@ -151,7 +160,7 @@ SYMBOLSET @@ -151,7 +160,7 @@ SYMBOLSET
151 3 3 160 3 3
152 END 161 END
153 END 162 END
154 - 163 +
155 Symbol 164 Symbol
156 Name "p9" 165 Name "p9"
157 Type VECTOR 166 Type VECTOR
@@ -174,9 +183,9 @@ SYMBOLSET @@ -174,9 +183,9 @@ SYMBOLSET
174 1 1 183 1 1
175 END 184 END
176 END 185 END
177 -  
178 - Symbol  
179 - name "pt2" 186 +
  187 + Symbol
  188 + name "pt2"
180 TYPE ELLIPSE 189 TYPE ELLIPSE
181 POINTS 1 1 END 190 POINTS 1 1 END
182 FILLED true 191 FILLED true
@@ -188,26 +197,26 @@ SYMBOLSET @@ -188,26 +197,26 @@ SYMBOLSET
188 POINTS 1 1 END 197 POINTS 1 1 END
189 Transparent 0 198 Transparent 0
190 END 199 END
191 -  
192 - 200 +
  201 +
193 Symbol 202 Symbol
194 Name "aviao" 203 Name "aviao"
195 Type PIXMAP 204 Type PIXMAP
196 Image "aviao.png" 205 Image "aviao.png"
197 END 206 END
198 - 207 +
199 Symbol 208 Symbol
200 Name "rosa200" 209 Name "rosa200"
201 Type PIXMAP 210 Type PIXMAP
202 Image "rosa200.png" 211 Image "rosa200.png"
203 - END  
204 - 212 + END
  213 +
205 Symbol 214 Symbol
206 Name "seta" 215 Name "seta"
207 Type PIXMAP 216 Type PIXMAP
208 Image "seta.png" 217 Image "seta.png"
209 END 218 END
210 - 219 +
211 Symbol 220 Symbol
212 Name "aviao1" 221 Name "aviao1"
213 Type PIXMAP 222 Type PIXMAP
@@ -237,7 +246,7 @@ SYMBOLSET @@ -237,7 +246,7 @@ SYMBOLSET
237 Type PIXMAP 246 Type PIXMAP
238 Image "sul.png" 247 Image "sul.png"
239 END 248 END
240 - 249 +
241 Symbol 250 Symbol
242 Name "sede" 251 Name "sede"
243 Type PIXMAP 252 Type PIXMAP
@@ -250,7 +259,7 @@ SYMBOLSET @@ -250,7 +259,7 @@ SYMBOLSET
250 Type PIXMAP 259 Type PIXMAP
251 Image "cidmun.png" 260 Image "cidmun.png"
252 END 261 END
253 - 262 +
254 Symbol 263 Symbol
255 Name "capital" 264 Name "capital"
256 Type PIXMAP 265 Type PIXMAP
@@ -280,13 +289,13 @@ SYMBOLSET @@ -280,13 +289,13 @@ SYMBOLSET
280 Type PIXMAP 289 Type PIXMAP
281 Image "xyr.png" 290 Image "xyr.png"
282 END 291 END
283 - 292 +
284 Symbol 293 Symbol
285 Name "porto" 294 Name "porto"
286 Type PIXMAP 295 Type PIXMAP
287 Image "porto.png" 296 Image "porto.png"
288 END 297 END
289 - 298 +
290 Symbol 299 Symbol
291 Name "ref" 300 Name "ref"
292 Type PIXMAP 301 Type PIXMAP
@@ -298,7 +307,7 @@ SYMBOLSET @@ -298,7 +307,7 @@ SYMBOLSET
298 Type PIXMAP 307 Type PIXMAP
299 Image "foto.png" 308 Image "foto.png"
300 END 309 END
301 - 310 +
302 Symbol 311 Symbol
303 Name "filme" 312 Name "filme"
304 Type PIXMAP 313 Type PIXMAP
@@ -311,7 +320,7 @@ SYMBOLSET @@ -311,7 +320,7 @@ SYMBOLSET
311 Image "marca.png" 320 Image "marca.png"
312 END 321 END
313 322
314 - 323 +
315 Symbol 324 Symbol
316 Name "ponto" 325 Name "ponto"
317 Type ELLIPSE 326 Type ELLIPSE
@@ -322,21 +331,21 @@ SYMBOLSET @@ -322,21 +331,21 @@ SYMBOLSET
322 1 1 331 1 1
323 END 332 END
324 END 333 END
325 -  
326 - Symbol  
327 - NAME 'quadrado'  
328 - TYPE VECTOR  
329 - FILLED TRUE  
330 - POINTS  
331 - 0 1  
332 - 0 0  
333 - 1 0  
334 - 1 1  
335 - 0 1  
336 - END 334 +
  335 + Symbol
  336 + NAME 'quadrado'
  337 + TYPE VECTOR
  338 + FILLED TRUE
  339 + POINTS
  340 + 0 1
  341 + 0 0
  342 + 1 0
  343 + 1 1
  344 + 0 1
  345 + END
337 END 346 END
338 347
339 - SYMBOL 348 + SYMBOL
340 NAME "estrela" 349 NAME "estrela"
341 TYPE vector 350 TYPE vector
342 FILLED TRUE 351 FILLED TRUE
@@ -352,26 +361,26 @@ SYMBOLSET @@ -352,26 +361,26 @@ SYMBOLSET
352 91 77 361 91 77
353 131 48 362 131 48
354 81 48 363 81 48
355 - END 364 + END
356 END 365 END
357 366
358 - SYMBOL  
359 - NAME 'triangulo'  
360 - TYPE VECTOR  
361 - FILLED TRUE  
362 - POINTS  
363 - 0 1  
364 - .5 0  
365 - 1 1  
366 - 0 1  
367 - END 367 + SYMBOL
  368 + NAME 'triangulo'
  369 + TYPE VECTOR
  370 + FILLED TRUE
  371 + POINTS
  372 + 0 1
  373 + .5 0
  374 + 1 1
  375 + 0 1
  376 + END
368 END 377 END
369 378
370 - SYMBOL  
371 - NAME 'industria'  
372 - TYPE VECTOR  
373 - FILLED TRUE  
374 - POINTS 379 + SYMBOL
  380 + NAME 'industria'
  381 + TYPE VECTOR
  382 + FILLED TRUE
  383 + POINTS
375 0 2 384 0 2
376 0 5 385 0 5
377 4 5 386 4 5
@@ -379,14 +388,14 @@ SYMBOLSET @@ -379,14 +388,14 @@ SYMBOLSET
379 3 0 388 3 0
380 3 2 389 3 2
381 0 2 390 0 2
382 - END 391 + END
383 END 392 END
384 -  
385 - SYMBOL  
386 - NAME 'torre'  
387 - TYPE VECTOR  
388 - FILLED FALSE  
389 - POINTS 393 +
  394 + SYMBOL
  395 + NAME 'torre'
  396 + TYPE VECTOR
  397 + FILLED FALSE
  398 + POINTS
390 2 0 399 2 0
391 3 4 400 3 4
392 4 4 401 4 4
@@ -395,14 +404,14 @@ SYMBOLSET @@ -395,14 +404,14 @@ SYMBOLSET
395 0 4 404 0 4
396 1 4 405 1 4
397 2 0 406 2 0
398 - END 407 + END
399 END 408 END
400 -  
401 - SYMBOL  
402 - NAME 'mineracao'  
403 - TYPE VECTOR  
404 - FILLED FALSE  
405 - POINTS 409 +
  410 + SYMBOL
  411 + NAME 'mineracao'
  412 + TYPE VECTOR
  413 + FILLED FALSE
  414 + POINTS
406 0 0 415 0 0
407 5 5 416 5 5
408 4 6 417 4 6
@@ -410,14 +419,14 @@ SYMBOLSET @@ -410,14 +419,14 @@ SYMBOLSET
410 2 6 419 2 6
411 0 5 420 0 5
412 5 0 421 5 0
413 - END 422 + END
414 END 423 END
415 424
416 - SYMBOL  
417 - NAME 'templo'  
418 - TYPE VECTOR  
419 - FILLED FALSE  
420 - POINTS 425 + SYMBOL
  426 + NAME 'templo'
  427 + TYPE VECTOR
  428 + FILLED FALSE
  429 + POINTS
421 2 0 430 2 0
422 3 0 431 3 0
423 3 1 432 3 1
@@ -435,14 +444,14 @@ SYMBOLSET @@ -435,14 +444,14 @@ SYMBOLSET
435 1 1 444 1 1
436 2 1 445 2 1
437 2 0 446 2 0
438 - END 447 + END
439 END 448 END
440 -  
441 - SYMBOL  
442 - NAME 'saude'  
443 - TYPE VECTOR  
444 - FILLED TRUE  
445 - POINTS 449 +
  450 + SYMBOL
  451 + NAME 'saude'
  452 + TYPE VECTOR
  453 + FILLED TRUE
  454 + POINTS
446 2 0 455 2 0
447 3 0 456 3 0
448 3 1 457 3 1
@@ -456,14 +465,14 @@ SYMBOLSET @@ -456,14 +465,14 @@ SYMBOLSET
456 1 1 465 1 1
457 2 1 466 2 1
458 2 0 467 2 0
459 - END 468 + END
460 END 469 END
461 -  
462 - SYMBOL  
463 - NAME 'escola'  
464 - TYPE VECTOR  
465 - FILLED FALSE  
466 - POINTS 470 +
  471 + SYMBOL
  472 + NAME 'escola'
  473 + TYPE VECTOR
  474 + FILLED FALSE
  475 + POINTS
467 2 0 476 2 0
468 5 2 477 5 2
469 3 2 478 3 2
@@ -474,14 +483,14 @@ SYMBOLSET @@ -474,14 +483,14 @@ SYMBOLSET
474 0 4 483 0 4
475 2 4 484 2 4
476 2 0 485 2 0
477 - END 486 + END
478 END 487 END
479 488
480 - SYMBOL  
481 - NAME 'cruz'  
482 - TYPE VECTOR  
483 - FILLED TRUE  
484 - POINTS 489 + SYMBOL
  490 + NAME 'cruz'
  491 + TYPE VECTOR
  492 + FILLED TRUE
  493 + POINTS
485 2 0 494 2 0
486 3 0 495 3 0
487 3 1 496 3 1
@@ -495,16 +504,16 @@ SYMBOLSET @@ -495,16 +504,16 @@ SYMBOLSET
495 0 1 504 0 1
496 2 1 505 2 1
497 2 0 506 2 0
498 - END 507 + END
499 END 508 END
500 509
501 -Symbol  
502 - name "circle"  
503 - Type ELLIPSE  
504 - Filled true  
505 - POINTS  
506 - 1 1  
507 - END 510 +Symbol
  511 + name "circle"
  512 + Type ELLIPSE
  513 + Filled true
  514 + POINTS
  515 + 1 1
  516 + END
508 END 517 END
509 Symbol 518 Symbol
510 Name 'ferrovia-line1' 519 Name 'ferrovia-line1'
@@ -537,9 +546,9 @@ END @@ -537,9 +546,9 @@ END
537 END 546 END
538 #PATTERN 1 13 1 13 END 547 #PATTERN 1 13 1 13 END
539 END 548 END
540 -  
541 - Symbol  
542 - name "pt2l" 549 +
  550 + Symbol
  551 + name "pt2l"
543 TYPE ELLIPSE 552 TYPE ELLIPSE
544 POINTS 1 1 END 553 POINTS 1 1 END
545 FILLED true 554 FILLED true
@@ -553,7 +562,7 @@ END @@ -553,7 +562,7 @@ END
553 Transparent 0 562 Transparent 0
554 #PATTERN 1 13 1 13 END 563 #PATTERN 1 13 1 13 END
555 END 564 END
556 - 565 +
557 Symbol 566 Symbol
558 Name "linha" 567 Name "linha"
559 Type ELLIPSE 568 Type ELLIPSE
@@ -570,34 +579,34 @@ END @@ -570,34 +579,34 @@ END
570 #PATTERN 10 20 10 20 END 579 #PATTERN 10 20 10 20 END
571 END 580 END
572 581
573 - Symbol  
574 - name "dashed"  
575 - Type ELLIPSE  
576 - FILLED true  
577 - POINTS  
578 - 1 1  
579 - END  
580 - #PATTERN 8 3 END  
581 - END  
582 -  
583 - Symbol  
584 - name "dashed1"  
585 - Type ELLIPSE  
586 - FILLED true  
587 - POINTS  
588 - 1 1  
589 - END  
590 - #PATTERN 8 8 1 8 END  
591 - END  
592 -  
593 - Symbol  
594 - name "dashed2"  
595 - Type ELLIPSE  
596 - FILLED true  
597 - POINTS 582 + Symbol
  583 + name "dashed"
  584 + Type ELLIPSE
  585 + FILLED true
  586 + POINTS
  587 + 1 1
  588 + END
  589 + #PATTERN 8 3 END
  590 + END
  591 +
  592 + Symbol
  593 + name "dashed1"
  594 + Type ELLIPSE
  595 + FILLED true
  596 + POINTS
  597 + 1 1
  598 + END
  599 + #PATTERN 8 8 1 8 END
  600 + END
  601 +
  602 + Symbol
  603 + name "dashed2"
  604 + Type ELLIPSE
  605 + FILLED true
  606 + POINTS
598 2 0 607 2 0
599 - END  
600 - END 608 + END
  609 + END
601 610
602 Symbol 611 Symbol
603 Name "setal" 612 Name "setal"
@@ -614,8 +623,8 @@ END @@ -614,8 +623,8 @@ END
614 #PATTERN 1 13 1 13 END 623 #PATTERN 1 13 1 13 END
615 624
616 END 625 END
617 -  
618 - 626 +
  627 +
619 Symbol 628 Symbol
620 Name "pontol" 629 Name "pontol"
621 Type ELLIPSE 630 Type ELLIPSE
@@ -628,23 +637,23 @@ END @@ -628,23 +637,23 @@ END
628 #PATTERN 1 13 1 13 END 637 #PATTERN 1 13 1 13 END
629 638
630 END 639 END
631 -  
632 - Symbol  
633 - NAME 'quadradol'  
634 - TYPE VECTOR  
635 - FILLED TRUE  
636 - POINTS  
637 - 0 1  
638 - 0 0  
639 - 1 0  
640 - 1 1  
641 - 0 1  
642 - END 640 +
  641 + Symbol
  642 + NAME 'quadradol'
  643 + TYPE VECTOR
  644 + FILLED TRUE
  645 + POINTS
  646 + 0 1
  647 + 0 0
  648 + 1 0
  649 + 1 1
  650 + 0 1
  651 + END
643 #PATTERN 1 13 1 13 END 652 #PATTERN 1 13 1 13 END
644 653
645 END 654 END
646 655
647 - SYMBOL 656 + SYMBOL
648 NAME "estrelal" 657 NAME "estrelal"
649 TYPE vector 658 TYPE vector
650 FILLED TRUE 659 FILLED TRUE
@@ -660,32 +669,32 @@ END @@ -660,32 +669,32 @@ END
660 91 77 669 91 77
661 131 48 670 131 48
662 81 48 671 81 48
663 - END 672 + END
664 #PATTERN 1 13 1 13 END 673 #PATTERN 1 13 1 13 END
665 674
666 END 675 END
667 676
668 - SYMBOL  
669 - NAME 'triangulol'  
670 - TYPE VECTOR  
671 - FILLED TRUE  
672 - POINTS  
673 - 0 1  
674 - .5 0  
675 - 1 1  
676 - 0 1  
677 - END 677 + SYMBOL
  678 + NAME 'triangulol'
  679 + TYPE VECTOR
  680 + FILLED TRUE
  681 + POINTS
  682 + 0 1
  683 + .5 0
  684 + 1 1
  685 + 0 1
  686 + END
678 #PATTERN 1 13 1 13 END 687 #PATTERN 1 13 1 13 END
679 688
680 END 689 END
681 690
682 -Symbol  
683 - name "circlel"  
684 - Type ELLIPSE  
685 - Filled true  
686 - POINTS  
687 - 1 1  
688 - END 691 +Symbol
  692 + name "circlel"
  693 + Type ELLIPSE
  694 + Filled true
  695 + POINTS
  696 + 1 1
  697 + END
689 #PATTERN 1 13 1 13 END 698 #PATTERN 1 13 1 13 END
690 699
691 END 700 END
symbols/simbolosv6.sym
1 SYMBOLSET 1 SYMBOLSET
2 -#  
3 -#este arquivo está aqui para efeitos de compatibilidade  
4 -#arquivos .map dentro de i3geo/temas podem ainda estar usando esse arquivo  
5 -#  
6 - Symbol  
7 - NAME '0'  
8 - TYPE VECTOR  
9 - FILLED TRUE  
10 - POINTS  
11 - 0 0  
12 - END 2 + Symbol
  3 + NAME '0'
  4 + TYPE VECTOR
  5 + FILLED TRUE
  6 + POINTS
  7 + 0 0
  8 + END
13 END 9 END
14 - SYMBOL 10 + SYMBOL
15 NAME 'cruzeta' 11 NAME 'cruzeta'
16 TYPE VECTOR 12 TYPE VECTOR
17 POINTS 13 POINTS
@@ -22,11 +18,11 @@ SYMBOLSET @@ -22,11 +18,11 @@ SYMBOLSET
22 1 0.5 18 1 0.5
23 END 19 END
24 END 20 END
25 - SYMBOL  
26 - NAME 'google1' 21 + SYMBOL
  22 + NAME 'google1'
27 TYPE VECTOR 23 TYPE VECTOR
28 - FILLED TRUE  
29 - POINTS 24 + FILLED TRUE
  25 + POINTS
30 90 -363 26 90 -363
31 140 -363 27 140 -363
32 165 -347 28 165 -347
@@ -59,22 +55,22 @@ SYMBOLSET @@ -59,22 +55,22 @@ SYMBOLSET
59 51 -347 55 51 -347
60 73 -363 56 73 -363
61 120 -363 57 120 -363
62 - END 58 + END
63 END 59 END
64 60
65 - Symbol  
66 - NAME 'p0'  
67 - TYPE VECTOR  
68 - FILLED TRUE  
69 - POINTS  
70 - 0 1  
71 - 0 0  
72 - 1 0  
73 - 1 1  
74 - 0 1  
75 - END 61 + Symbol
  62 + NAME 'p0'
  63 + TYPE VECTOR
  64 + FILLED TRUE
  65 + POINTS
  66 + 0 1
  67 + 0 0
  68 + 1 0
  69 + 1 1
  70 + 0 1
  71 + END
76 END 72 END
77 - 73 +
78 Symbol 74 Symbol
79 Name "p1" 75 Name "p1"
80 Type VECTOR 76 Type VECTOR
@@ -84,7 +80,7 @@ SYMBOLSET @@ -84,7 +80,7 @@ SYMBOLSET
84 1 1 80 1 1
85 END 81 END
86 END 82 END
87 - 83 +
88 Symbol 84 Symbol
89 Name "p2" 85 Name "p2"
90 Type VECTOR 86 Type VECTOR
@@ -125,7 +121,7 @@ SYMBOLSET @@ -125,7 +121,7 @@ SYMBOLSET
125 0 1 121 0 1
126 END 122 END
127 END 123 END
128 - 124 +
129 Symbol 125 Symbol
130 Name "p6" 126 Name "p6"
131 Type VECTOR 127 Type VECTOR
@@ -136,7 +132,7 @@ SYMBOLSET @@ -136,7 +132,7 @@ SYMBOLSET
136 1 0 132 1 0
137 END 133 END
138 END 134 END
139 - 135 +
140 Symbol 136 Symbol
141 Name "p7" 137 Name "p7"
142 Type VECTOR 138 Type VECTOR
@@ -160,7 +156,7 @@ SYMBOLSET @@ -160,7 +156,7 @@ SYMBOLSET
160 3 3 156 3 3
161 END 157 END
162 END 158 END
163 - 159 +
164 Symbol 160 Symbol
165 Name "p9" 161 Name "p9"
166 Type VECTOR 162 Type VECTOR
@@ -183,9 +179,9 @@ SYMBOLSET @@ -183,9 +179,9 @@ SYMBOLSET
183 1 1 179 1 1
184 END 180 END
185 END 181 END
186 -  
187 - Symbol  
188 - name "pt2" 182 +
  183 + Symbol
  184 + name "pt2"
189 TYPE ELLIPSE 185 TYPE ELLIPSE
190 POINTS 1 1 END 186 POINTS 1 1 END
191 FILLED true 187 FILLED true
@@ -197,26 +193,26 @@ SYMBOLSET @@ -197,26 +193,26 @@ SYMBOLSET
197 POINTS 1 1 END 193 POINTS 1 1 END
198 Transparent 0 194 Transparent 0
199 END 195 END
200 -  
201 - 196 +
  197 +
202 Symbol 198 Symbol
203 Name "aviao" 199 Name "aviao"
204 Type PIXMAP 200 Type PIXMAP
205 Image "aviao.png" 201 Image "aviao.png"
206 END 202 END
207 - 203 +
208 Symbol 204 Symbol
209 Name "rosa200" 205 Name "rosa200"
210 Type PIXMAP 206 Type PIXMAP
211 Image "rosa200.png" 207 Image "rosa200.png"
212 - END  
213 - 208 + END
  209 +
214 Symbol 210 Symbol
215 Name "seta" 211 Name "seta"
216 Type PIXMAP 212 Type PIXMAP
217 Image "seta.png" 213 Image "seta.png"
218 END 214 END
219 - 215 +
220 Symbol 216 Symbol
221 Name "aviao1" 217 Name "aviao1"
222 Type PIXMAP 218 Type PIXMAP
@@ -246,7 +242,7 @@ SYMBOLSET @@ -246,7 +242,7 @@ SYMBOLSET
246 Type PIXMAP 242 Type PIXMAP
247 Image "sul.png" 243 Image "sul.png"
248 END 244 END
249 - 245 +
250 Symbol 246 Symbol
251 Name "sede" 247 Name "sede"
252 Type PIXMAP 248 Type PIXMAP
@@ -259,7 +255,7 @@ SYMBOLSET @@ -259,7 +255,7 @@ SYMBOLSET
259 Type PIXMAP 255 Type PIXMAP
260 Image "cidmun.png" 256 Image "cidmun.png"
261 END 257 END
262 - 258 +
263 Symbol 259 Symbol
264 Name "capital" 260 Name "capital"
265 Type PIXMAP 261 Type PIXMAP
@@ -289,13 +285,13 @@ SYMBOLSET @@ -289,13 +285,13 @@ SYMBOLSET
289 Type PIXMAP 285 Type PIXMAP
290 Image "xyr.png" 286 Image "xyr.png"
291 END 287 END
292 - 288 +
293 Symbol 289 Symbol
294 Name "porto" 290 Name "porto"
295 Type PIXMAP 291 Type PIXMAP
296 Image "porto.png" 292 Image "porto.png"
297 END 293 END
298 - 294 +
299 Symbol 295 Symbol
300 Name "ref" 296 Name "ref"
301 Type PIXMAP 297 Type PIXMAP
@@ -307,7 +303,7 @@ SYMBOLSET @@ -307,7 +303,7 @@ SYMBOLSET
307 Type PIXMAP 303 Type PIXMAP
308 Image "foto.png" 304 Image "foto.png"
309 END 305 END
310 - 306 +
311 Symbol 307 Symbol
312 Name "filme" 308 Name "filme"
313 Type PIXMAP 309 Type PIXMAP
@@ -320,7 +316,7 @@ SYMBOLSET @@ -320,7 +316,7 @@ SYMBOLSET
320 Image "marca.png" 316 Image "marca.png"
321 END 317 END
322 318
323 - 319 +
324 Symbol 320 Symbol
325 Name "ponto" 321 Name "ponto"
326 Type ELLIPSE 322 Type ELLIPSE
@@ -331,21 +327,21 @@ SYMBOLSET @@ -331,21 +327,21 @@ SYMBOLSET
331 1 1 327 1 1
332 END 328 END
333 END 329 END
334 -  
335 - Symbol  
336 - NAME 'quadrado'  
337 - TYPE VECTOR  
338 - FILLED TRUE  
339 - POINTS  
340 - 0 1  
341 - 0 0  
342 - 1 0  
343 - 1 1  
344 - 0 1  
345 - END 330 +
  331 + Symbol
  332 + NAME 'quadrado'
  333 + TYPE VECTOR
  334 + FILLED TRUE
  335 + POINTS
  336 + 0 1
  337 + 0 0
  338 + 1 0
  339 + 1 1
  340 + 0 1
  341 + END
346 END 342 END
347 343
348 - SYMBOL 344 + SYMBOL
349 NAME "estrela" 345 NAME "estrela"
350 TYPE vector 346 TYPE vector
351 FILLED TRUE 347 FILLED TRUE
@@ -361,26 +357,26 @@ SYMBOLSET @@ -361,26 +357,26 @@ SYMBOLSET
361 91 77 357 91 77
362 131 48 358 131 48
363 81 48 359 81 48
364 - END 360 + END
365 END 361 END
366 362
367 - SYMBOL  
368 - NAME 'triangulo'  
369 - TYPE VECTOR  
370 - FILLED TRUE  
371 - POINTS  
372 - 0 1  
373 - .5 0  
374 - 1 1  
375 - 0 1  
376 - END 363 + SYMBOL
  364 + NAME 'triangulo'
  365 + TYPE VECTOR
  366 + FILLED TRUE
  367 + POINTS
  368 + 0 1
  369 + .5 0
  370 + 1 1
  371 + 0 1
  372 + END
377 END 373 END
378 374
379 - SYMBOL  
380 - NAME 'industria'  
381 - TYPE VECTOR  
382 - FILLED TRUE  
383 - POINTS 375 + SYMBOL
  376 + NAME 'industria'
  377 + TYPE VECTOR
  378 + FILLED TRUE
  379 + POINTS
384 0 2 380 0 2
385 0 5 381 0 5
386 4 5 382 4 5
@@ -388,14 +384,14 @@ SYMBOLSET @@ -388,14 +384,14 @@ SYMBOLSET
388 3 0 384 3 0
389 3 2 385 3 2
390 0 2 386 0 2
391 - END 387 + END
392 END 388 END
393 -  
394 - SYMBOL  
395 - NAME 'torre'  
396 - TYPE VECTOR  
397 - FILLED FALSE  
398 - POINTS 389 +
  390 + SYMBOL
  391 + NAME 'torre'
  392 + TYPE VECTOR
  393 + FILLED FALSE
  394 + POINTS
399 2 0 395 2 0
400 3 4 396 3 4
401 4 4 397 4 4
@@ -404,14 +400,14 @@ SYMBOLSET @@ -404,14 +400,14 @@ SYMBOLSET
404 0 4 400 0 4
405 1 4 401 1 4
406 2 0 402 2 0
407 - END 403 + END
408 END 404 END
409 -  
410 - SYMBOL  
411 - NAME 'mineracao'  
412 - TYPE VECTOR  
413 - FILLED FALSE  
414 - POINTS 405 +
  406 + SYMBOL
  407 + NAME 'mineracao'
  408 + TYPE VECTOR
  409 + FILLED FALSE
  410 + POINTS
415 0 0 411 0 0
416 5 5 412 5 5
417 4 6 413 4 6
@@ -419,14 +415,14 @@ SYMBOLSET @@ -419,14 +415,14 @@ SYMBOLSET
419 2 6 415 2 6
420 0 5 416 0 5
421 5 0 417 5 0
422 - END 418 + END
423 END 419 END
424 420
425 - SYMBOL  
426 - NAME 'templo'  
427 - TYPE VECTOR  
428 - FILLED FALSE  
429 - POINTS 421 + SYMBOL
  422 + NAME 'templo'
  423 + TYPE VECTOR
  424 + FILLED FALSE
  425 + POINTS
430 2 0 426 2 0
431 3 0 427 3 0
432 3 1 428 3 1
@@ -444,14 +440,14 @@ SYMBOLSET @@ -444,14 +440,14 @@ SYMBOLSET
444 1 1 440 1 1
445 2 1 441 2 1
446 2 0 442 2 0
447 - END 443 + END
448 END 444 END
449 -  
450 - SYMBOL  
451 - NAME 'saude'  
452 - TYPE VECTOR  
453 - FILLED TRUE  
454 - POINTS 445 +
  446 + SYMBOL
  447 + NAME 'saude'
  448 + TYPE VECTOR
  449 + FILLED TRUE
  450 + POINTS
455 2 0 451 2 0
456 3 0 452 3 0
457 3 1 453 3 1
@@ -465,14 +461,14 @@ SYMBOLSET @@ -465,14 +461,14 @@ SYMBOLSET
465 1 1 461 1 1
466 2 1 462 2 1
467 2 0 463 2 0
468 - END 464 + END
469 END 465 END
470 -  
471 - SYMBOL  
472 - NAME 'escola'  
473 - TYPE VECTOR  
474 - FILLED FALSE  
475 - POINTS 466 +
  467 + SYMBOL
  468 + NAME 'escola'
  469 + TYPE VECTOR
  470 + FILLED FALSE
  471 + POINTS
476 2 0 472 2 0
477 5 2 473 5 2
478 3 2 474 3 2
@@ -483,14 +479,14 @@ SYMBOLSET @@ -483,14 +479,14 @@ SYMBOLSET
483 0 4 479 0 4
484 2 4 480 2 4
485 2 0 481 2 0
486 - END 482 + END
487 END 483 END
488 484
489 - SYMBOL  
490 - NAME 'cruz'  
491 - TYPE VECTOR  
492 - FILLED TRUE  
493 - POINTS 485 + SYMBOL
  486 + NAME 'cruz'
  487 + TYPE VECTOR
  488 + FILLED TRUE
  489 + POINTS
494 2 0 490 2 0
495 3 0 491 3 0
496 3 1 492 3 1
@@ -504,16 +500,16 @@ SYMBOLSET @@ -504,16 +500,16 @@ SYMBOLSET
504 0 1 500 0 1
505 2 1 501 2 1
506 2 0 502 2 0
507 - END 503 + END
508 END 504 END
509 505
510 -Symbol  
511 - name "circle"  
512 - Type ELLIPSE  
513 - Filled true  
514 - POINTS  
515 - 1 1  
516 - END 506 +Symbol
  507 + name "circle"
  508 + Type ELLIPSE
  509 + Filled true
  510 + POINTS
  511 + 1 1
  512 + END
517 END 513 END
518 Symbol 514 Symbol
519 Name 'ferrovia-line1' 515 Name 'ferrovia-line1'
@@ -546,9 +542,9 @@ END @@ -546,9 +542,9 @@ END
546 END 542 END
547 #PATTERN 1 13 1 13 END 543 #PATTERN 1 13 1 13 END
548 END 544 END
549 -  
550 - Symbol  
551 - name "pt2l" 545 +
  546 + Symbol
  547 + name "pt2l"
552 TYPE ELLIPSE 548 TYPE ELLIPSE
553 POINTS 1 1 END 549 POINTS 1 1 END
554 FILLED true 550 FILLED true
@@ -562,7 +558,7 @@ END @@ -562,7 +558,7 @@ END
562 Transparent 0 558 Transparent 0
563 #PATTERN 1 13 1 13 END 559 #PATTERN 1 13 1 13 END
564 END 560 END
565 - 561 +
566 Symbol 562 Symbol
567 Name "linha" 563 Name "linha"
568 Type ELLIPSE 564 Type ELLIPSE
@@ -579,34 +575,34 @@ END @@ -579,34 +575,34 @@ END
579 #PATTERN 10 20 10 20 END 575 #PATTERN 10 20 10 20 END
580 END 576 END
581 577
582 - Symbol  
583 - name "dashed"  
584 - Type ELLIPSE  
585 - FILLED true  
586 - POINTS  
587 - 1 1  
588 - END  
589 - #PATTERN 8 3 END  
590 - END  
591 -  
592 - Symbol  
593 - name "dashed1"  
594 - Type ELLIPSE  
595 - FILLED true  
596 - POINTS  
597 - 1 1  
598 - END  
599 - #PATTERN 8 8 1 8 END  
600 - END  
601 -  
602 - Symbol  
603 - name "dashed2"  
604 - Type ELLIPSE  
605 - FILLED true  
606 - POINTS 578 + Symbol
  579 + name "dashed"
  580 + Type ELLIPSE
  581 + FILLED true
  582 + POINTS
  583 + 1 1
  584 + END
  585 + #PATTERN 8 3 END
  586 + END
  587 +
  588 + Symbol
  589 + name "dashed1"
  590 + Type ELLIPSE
  591 + FILLED true
  592 + POINTS
  593 + 1 1
  594 + END
  595 + #PATTERN 8 8 1 8 END
  596 + END
  597 +
  598 + Symbol
  599 + name "dashed2"
  600 + Type ELLIPSE
  601 + FILLED true
  602 + POINTS
607 2 0 603 2 0
608 - END  
609 - END 604 + END
  605 + END
610 606
611 Symbol 607 Symbol
612 Name "setal" 608 Name "setal"
@@ -623,8 +619,8 @@ END @@ -623,8 +619,8 @@ END
623 #PATTERN 1 13 1 13 END 619 #PATTERN 1 13 1 13 END
624 620
625 END 621 END
626 -  
627 - 622 +
  623 +
628 Symbol 624 Symbol
629 Name "pontol" 625 Name "pontol"
630 Type ELLIPSE 626 Type ELLIPSE
@@ -637,23 +633,23 @@ END @@ -637,23 +633,23 @@ END
637 #PATTERN 1 13 1 13 END 633 #PATTERN 1 13 1 13 END
638 634
639 END 635 END
640 -  
641 - Symbol  
642 - NAME 'quadradol'  
643 - TYPE VECTOR  
644 - FILLED TRUE  
645 - POINTS  
646 - 0 1  
647 - 0 0  
648 - 1 0  
649 - 1 1  
650 - 0 1  
651 - END 636 +
  637 + Symbol
  638 + NAME 'quadradol'
  639 + TYPE VECTOR
  640 + FILLED TRUE
  641 + POINTS
  642 + 0 1
  643 + 0 0
  644 + 1 0
  645 + 1 1
  646 + 0 1
  647 + END
652 #PATTERN 1 13 1 13 END 648 #PATTERN 1 13 1 13 END
653 649
654 END 650 END
655 651
656 - SYMBOL 652 + SYMBOL
657 NAME "estrelal" 653 NAME "estrelal"
658 TYPE vector 654 TYPE vector
659 FILLED TRUE 655 FILLED TRUE
@@ -669,32 +665,32 @@ END @@ -669,32 +665,32 @@ END
669 91 77 665 91 77
670 131 48 666 131 48
671 81 48 667 81 48
672 - END 668 + END
673 #PATTERN 1 13 1 13 END 669 #PATTERN 1 13 1 13 END
674 670
675 END 671 END
676 672
677 - SYMBOL  
678 - NAME 'triangulol'  
679 - TYPE VECTOR  
680 - FILLED TRUE  
681 - POINTS  
682 - 0 1  
683 - .5 0  
684 - 1 1  
685 - 0 1  
686 - END 673 + SYMBOL
  674 + NAME 'triangulol'
  675 + TYPE VECTOR
  676 + FILLED TRUE
  677 + POINTS
  678 + 0 1
  679 + .5 0
  680 + 1 1
  681 + 0 1
  682 + END
687 #PATTERN 1 13 1 13 END 683 #PATTERN 1 13 1 13 END
688 684
689 END 685 END
690 686
691 -Symbol  
692 - name "circlel"  
693 - Type ELLIPSE  
694 - Filled true  
695 - POINTS  
696 - 1 1  
697 - END 687 +Symbol
  688 + name "circlel"
  689 + Type ELLIPSE
  690 + Filled true
  691 + POINTS
  692 + 1 1
  693 + END
698 #PATTERN 1 13 1 13 END 694 #PATTERN 1 13 1 13 END
699 695
700 END 696 END
temas/_lautolegenda_exemplo.map
1 -MAP  
2 - FONTSET "../symbols/fontes.txt"  
3 - SYMBOLSET "../symbols/simbolos.sym" 1 +MAP
  2 + FONTSET "../symbols/fontes.txt"
  3 + SYMBOLSET "../symbols/simbolos.sym"
4 LAYER 4 LAYER
5 DATA "/var/www/i3geo/aplicmap/dados/biomas.shp" 5 DATA "/var/www/i3geo/aplicmap/dados/biomas.shp"
6 METADATA 6 METADATA
@@ -45,7 +45,7 @@ MAP @@ -45,7 +45,7 @@ MAP
45 STYLE 45 STYLE
46 ANGLE 0 46 ANGLE 0
47 OFFSET 0 0 47 OFFSET 0 0
48 - OUTLINECOLOR 50 50 50 48 + OUTLINECOLOR 250 50 50
49 END # STYLE 49 END # STYLE
50 END # CLASS 50 END # CLASS
51 END # LAYER 51 END # LAYER
temas/_llocali.map
1 -MAP  
2 - FONTSET "../symbols/fontes.txt"  
3 - SYMBOLSET "../symbols/simbolos.sym" 1 +MAP
  2 + FONTSET "../symbols/fontes.txt"
  3 + SYMBOLSET "../symbols/simbolos.sym"
4 LAYER 4 LAYER
5 CONNECTION "" 5 CONNECTION ""
6 DATA "/var/www/i3geo/aplicmap/dados/locali.shp" 6 DATA "/var/www/i3geo/aplicmap/dados/locali.shp"