Commit 4917224e64e77279af670a2761f7391e70f94ed5
1 parent
7c4bf9d8
Exists in
master
and in
7 other branches
$1
Showing
4 changed files
with
143 additions
and
19 deletions
Show diff stats
admin/js/estat_editor.js
| ... | ... | @@ -527,9 +527,9 @@ i3GEOadmin.editor = { |
| 527 | 527 | '</select></p>' + |
| 528 | 528 | '<p class="paragrafo" >Tipo de operação:</p>' + |
| 529 | 529 | '<select id=i3GEOtipoOperacao name=tipoOperacao >' + |
| 530 | - '<option value=criar >Criar a tabela nova e incluir registros do CSV</option>' + | |
| 530 | + '<option value=criar >Criar a tabela nova e incluir registros do SHP</option>' + | |
| 531 | 531 | '<option value=incluir >Adicionar novos registros</option>' + |
| 532 | - '<option value=apagar >Apagar dados atuais e incluir do CSV</option>' + | |
| 532 | + '<option value=apagar >Apagar dados atuais e incluir do SHP</option>' + | |
| 533 | 533 | '</select></p>' + |
| 534 | 534 | '<p class="paragrafo" >Código da projeção (SRID) Assegure-se que o shapefile esteja na projeção geográfica se você for usar com o sistema de metadados estatísticos :<br><input class=digitar type="text" value="4326" size=20 id="srid" name="srid" style="top:0px;left:0px;cursor:pointer;"></p>' + |
| 535 | 535 | '<p class="paragrafo" ><input type="checkbox" id="incluiserialshp" name="incluiserialshp" style="cursor:pointer;position:relative;top:2px;"> Inclui uma coluna gid do tipo serial e chave primária com código único</p>' + |
| ... | ... | @@ -586,9 +586,9 @@ i3GEOadmin.editor = { |
| 586 | 586 | '<p class="paragrafo" >Nome da nova tabela (não utilize caracteres incompatíveis com o banco de dados, como -, acentos ou espaços em branco):<br><input class=digitar type="text" size=20 id="tabelaDestinocsv" name="tabelaDestinocsv" style="top:0px;left:0px;cursor:pointer;"></p>' + |
| 587 | 587 | '<p class="paragrafo" >Tipo de operação:</p>' + |
| 588 | 588 | '<select id=i3GEOtipoOperacaocsv name=tipoOperacao >' + |
| 589 | - '<option value=criar >Criar a tabela nova e incluir registros do SHP</option>' + | |
| 589 | + '<option value=criar >Criar a tabela nova e incluir registros do CSV</option>' + | |
| 590 | 590 | '<option value=incluir >Adicionar novos registros</option>' + |
| 591 | - '<option value=apagar >Apagar dados atuais e incluir do SHP</option>' + | |
| 591 | + '<option value=apagar >Apagar dados atuais e incluir do CSV</option>' + | |
| 592 | 592 | '</select></p>' + |
| 593 | 593 | '<p class="paragrafo" ><input type="checkbox" id="incluiserialcsv" name="incluiserialcsv" style="cursor:pointer;position:relative;top:2px;"> Inclui uma coluna gid do tipo serial e chave primária com código único</p>' + |
| 594 | 594 | '<p class="paragrafo" >Opcional: coluna que contém as latitudes (Y) <input class=digitar type="text" size=8 id="colunaycsv" name="colunaycsv" style="top:0px;left:0px;cursor:pointer;"> coluna que contém as longitudes (X) <input class=digitar type="text" size=8 id="colunaxcsv" name="colunaxcsv" style="top:0px;left:0px;cursor:pointer;"></p>' + | ... | ... |
classesjs/classe_arvoredetemas.js
| ... | ... | @@ -119,7 +119,6 @@ i3GEO.arvoreDeTemas = { |
| 119 | 119 | {Object} |
| 120 | 120 | */ |
| 121 | 121 | OPCOESADICIONAIS: { |
| 122 | - idonde: "", | |
| 123 | 122 | incluiArvore: true, |
| 124 | 123 | uploaddbf: true, |
| 125 | 124 | uploadlocal: true, |
| ... | ... | @@ -147,7 +146,8 @@ i3GEO.arvoreDeTemas = { |
| 147 | 146 | googleearth: true, |
| 148 | 147 | carregaKml: true, |
| 149 | 148 | flutuante: true, |
| 150 | - metaestat: true | |
| 149 | + metaestat: true, | |
| 150 | + idonde: "" | |
| 151 | 151 | }, |
| 152 | 152 | /* |
| 153 | 153 | Propriedade: FATORESTRELA | ... | ... |
ferramentas/preferencias/dicionario.js
| ... | ... | @@ -133,43 +133,43 @@ i3GEOF.preferencias.dicionario = { |
| 133 | 133 | it:"" |
| 134 | 134 | }], |
| 135 | 135 | 23: [{ |
| 136 | - pt:"", | |
| 136 | + pt:"Árvore de temas", | |
| 137 | 137 | en:"", |
| 138 | 138 | es:"", |
| 139 | 139 | it:"" |
| 140 | 140 | }], |
| 141 | 141 | 24: [{ |
| 142 | - pt:"", | |
| 142 | + pt:"Botões", | |
| 143 | 143 | en:"", |
| 144 | 144 | es:"", |
| 145 | 145 | it:"" |
| 146 | 146 | }], |
| 147 | 147 | 25: [{ |
| 148 | - pt:"", | |
| 148 | + pt:"Inclui a lista de sistemas adicionais que adicionam camadas", | |
| 149 | 149 | en:"", |
| 150 | 150 | es:"", |
| 151 | 151 | it:"" |
| 152 | 152 | }], |
| 153 | 153 | 26: [{ |
| 154 | - pt:"", | |
| 154 | + pt:"Inclui a lista de WMS cadastrados", | |
| 155 | 155 | en:"", |
| 156 | 156 | es:"", |
| 157 | 157 | it:"" |
| 158 | 158 | }], |
| 159 | 159 | 27: [{ |
| 160 | - pt:"", | |
| 160 | + pt:"Inclui a lista de WMS cadastrados na INDE Brasileira", | |
| 161 | 161 | en:"", |
| 162 | 162 | es:"", |
| 163 | 163 | it:"" |
| 164 | 164 | }], |
| 165 | 165 | 28: [{ |
| 166 | - pt:"", | |
| 166 | + pt:"Inclui a lista de WMS originados do sistema de metadados estatísticos", | |
| 167 | 167 | en:"", |
| 168 | 168 | es:"", |
| 169 | 169 | it:"" |
| 170 | 170 | }], |
| 171 | 171 | 29: [{ |
| 172 | - pt:"", | |
| 172 | + pt:"Inclui as estrelas que classificam os temas com base no volume de acessos", | |
| 173 | 173 | en:"", |
| 174 | 174 | es:"", |
| 175 | 175 | it:"" |
| ... | ... | @@ -179,5 +179,89 @@ i3GEOF.preferencias.dicionario = { |
| 179 | 179 | en:"", |
| 180 | 180 | es:"", |
| 181 | 181 | it:"" |
| 182 | + }], | |
| 183 | + 31: [{ | |
| 184 | + pt:"", | |
| 185 | + en:"", | |
| 186 | + es:"", | |
| 187 | + it:"" | |
| 188 | + }], | |
| 189 | + 32: [{ | |
| 190 | + pt:"", | |
| 191 | + en:"", | |
| 192 | + es:"", | |
| 193 | + it:"" | |
| 194 | + }], | |
| 195 | + 33: [{ | |
| 196 | + pt:"", | |
| 197 | + en:"", | |
| 198 | + es:"", | |
| 199 | + it:"" | |
| 200 | + }], | |
| 201 | + 34: [{ | |
| 202 | + pt:"", | |
| 203 | + en:"", | |
| 204 | + es:"", | |
| 205 | + it:"" | |
| 206 | + }], | |
| 207 | + 35: [{ | |
| 208 | + pt:"", | |
| 209 | + en:"", | |
| 210 | + es:"", | |
| 211 | + it:"" | |
| 212 | + }], | |
| 213 | + 36: [{ | |
| 214 | + pt:"", | |
| 215 | + en:"", | |
| 216 | + es:"", | |
| 217 | + it:"" | |
| 218 | + }], | |
| 219 | + 37: [{ | |
| 220 | + pt:"", | |
| 221 | + en:"", | |
| 222 | + es:"", | |
| 223 | + it:"" | |
| 224 | + }], | |
| 225 | + 38: [{ | |
| 226 | + pt:"", | |
| 227 | + en:"", | |
| 228 | + es:"", | |
| 229 | + it:"" | |
| 230 | + }], | |
| 231 | + 39: [{ | |
| 232 | + pt:"", | |
| 233 | + en:"", | |
| 234 | + es:"", | |
| 235 | + it:"" | |
| 236 | + }], | |
| 237 | + 40: [{ | |
| 238 | + pt:"", | |
| 239 | + en:"", | |
| 240 | + es:"", | |
| 241 | + it:"" | |
| 242 | + }], | |
| 243 | + 41: [{ | |
| 244 | + pt:"", | |
| 245 | + en:"", | |
| 246 | + es:"", | |
| 247 | + it:"" | |
| 248 | + }], | |
| 249 | + 42: [{ | |
| 250 | + pt:"", | |
| 251 | + en:"", | |
| 252 | + es:"", | |
| 253 | + it:"" | |
| 254 | + }], | |
| 255 | + 43: [{ | |
| 256 | + pt:"", | |
| 257 | + en:"", | |
| 258 | + es:"", | |
| 259 | + it:"" | |
| 260 | + }], | |
| 261 | + 44: [{ | |
| 262 | + pt:"", | |
| 263 | + en:"", | |
| 264 | + es:"", | |
| 265 | + it:"" | |
| 182 | 266 | }] |
| 183 | 267 | }; | ... | ... |
ferramentas/preferencias/index.js
| ... | ... | @@ -124,6 +124,36 @@ i3GEOF.preferencias = { |
| 124 | 124 | opcoes: i3GEO.arvoreDeCamadas.FUNCOES |
| 125 | 125 | } |
| 126 | 126 | ] |
| 127 | + },{ | |
| 128 | + titulo: $trad(23,i3GEOF.preferencias.dicionario), | |
| 129 | + props: [ | |
| 130 | + { | |
| 131 | + titulo: $trad(24,i3GEOF.preferencias.dicionario), | |
| 132 | + tipo: "multiselect", | |
| 133 | + elemento: "i3GEO.arvoreDeTemas.OPCOESADICIONAIS", | |
| 134 | + opcoes: i3GEO.arvoreDeTemas.OPCOESADICIONAIS | |
| 135 | + },{ | |
| 136 | + titulo: $trad(25,i3GEOF.preferencias.dicionario), | |
| 137 | + tipo: "boolean", | |
| 138 | + elemento: "i3GEO.arvoreDeTemas.INCLUISISTEMAS" | |
| 139 | + },{ | |
| 140 | + titulo: $trad(26,i3GEOF.preferencias.dicionario), | |
| 141 | + tipo: "boolean", | |
| 142 | + elemento: "i3GEO.arvoreDeTemas.INCLUIWMS" | |
| 143 | + },{ | |
| 144 | + titulo: $trad(27,i3GEOF.preferencias.dicionario), | |
| 145 | + tipo: "boolean", | |
| 146 | + elemento: "i3GEO.arvoreDeTemas.INCLUIINDIBR" | |
| 147 | + },{ | |
| 148 | + titulo: $trad(28,i3GEOF.preferencias.dicionario), | |
| 149 | + tipo: "boolean", | |
| 150 | + elemento: "i3GEO.arvoreDeTemas.INCLUIWMSMETAESTAT" | |
| 151 | + },{ | |
| 152 | + titulo: $trad(29,i3GEOF.preferencias.dicionario), | |
| 153 | + tipo: "boolean", | |
| 154 | + elemento: "i3GEO.arvoreDeTemas.INCLUIESTRELAS" | |
| 155 | + } | |
| 156 | + ] | |
| 127 | 157 | } |
| 128 | 158 | ]; |
| 129 | 159 | return lista; |
| ... | ... | @@ -193,7 +223,8 @@ i3GEOF.preferencias = { |
| 193 | 223 | String com o código html |
| 194 | 224 | */ |
| 195 | 225 | html:function(){ |
| 196 | - var lista = i3GEOF.preferencias.lista(), | |
| 226 | + var temp, | |
| 227 | + lista = i3GEOF.preferencias.lista(), | |
| 197 | 228 | n = lista.length, |
| 198 | 229 | i = 0, |
| 199 | 230 | ins = "<div id=i3GEOPreferenciasRaiz >", |
| ... | ... | @@ -206,13 +237,16 @@ i3GEOF.preferencias = { |
| 206 | 237 | l=0, |
| 207 | 238 | numl=0, |
| 208 | 239 | ids = [], |
| 209 | - valores, | |
| 210 | - nomes; | |
| 240 | + valores = [], | |
| 241 | + nomes = []; | |
| 211 | 242 | for(i=0;i<n;i++){ |
| 212 | 243 | ins += "<p onclick='javascript:i3GEOF.preferencias.expande("+i+")' class=paragrafo style=cursor:pointer;color:navy ><b>"+lista[i].titulo+"</b><p>"; |
| 213 | 244 | ins += "<div style=display:none id='listaPref"+i+"'>"; |
| 214 | 245 | props = lista[i].props; |
| 215 | 246 | nj = props.length; |
| 247 | + valores = []; | |
| 248 | + nomes = []; | |
| 249 | + ids = []; | |
| 216 | 250 | for(j=0;j<nj;j++){ |
| 217 | 251 | ins += "<p class=paragrafo >"+props[j].titulo+"</p>"; |
| 218 | 252 | if(props[j].tipo === "numero" || props[j].tipo === "texto"){ |
| ... | ... | @@ -237,14 +271,20 @@ i3GEOF.preferencias = { |
| 237 | 271 | } |
| 238 | 272 | if(props[j].tipo === "multiselect"){ |
| 239 | 273 | valores = i3GEO.util.listaTodasChaves(props[j].opcoes); |
| 274 | + var nvalores = []; | |
| 275 | + var nelementos; | |
| 240 | 276 | numl = valores.length; |
| 241 | 277 | for(l=0;l<numl;l++){ |
| 242 | - ids.push(props[j].elemento+"."+valores[l]); | |
| 278 | + temp = props[j].opcoes[valores[l]]; | |
| 279 | + if(temp === true || temp === false){ | |
| 280 | + ids.push(props[j].elemento+"."+valores[l]); | |
| 281 | + nvalores.push(valores[l]); | |
| 282 | + } | |
| 243 | 283 | } |
| 244 | 284 | ins += i3GEO.util.checkCombo( |
| 245 | 285 | props[j].elemento, |
| 246 | - valores, | |
| 247 | - valores, | |
| 286 | + nvalores, | |
| 287 | + nvalores, | |
| 248 | 288 | estilo+";overflow:auto;height:50px;border:1px solid gray;background-color:white", |
| 249 | 289 | "", |
| 250 | 290 | ids | ... | ... |