Commit c230818894c20fc013cc8a4635184697d95e1adf
1 parent
9cc69522
Exists in
master
and in
7 other branches
--no commit message
Showing
8 changed files
with
258 additions
and
52 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/js/estat_variavel.js
@@ -413,6 +413,8 @@ i3GEOadmin.variaveis = { | @@ -413,6 +413,8 @@ i3GEOadmin.variaveis = { | ||
413 | ] | 413 | ] |
414 | }; | 414 | }; |
415 | ins += core_geraLinhas(param); | 415 | ins += core_geraLinhas(param); |
416 | + //utilizado para passar o codigo da variavel qd for necessario | ||
417 | + ins += "<input type=hidden id='Eid_medida_variavel' value='' />"; | ||
416 | ins += "<br><br><br>"; | 418 | ins += "<br><br><br>"; |
417 | $i("editor_bd").innerHTML = ins; | 419 | $i("editor_bd").innerHTML = ins; |
418 | } | 420 | } |
@@ -1026,7 +1028,7 @@ i3GEOadmin.variaveis = { | @@ -1026,7 +1028,7 @@ i3GEOadmin.variaveis = { | ||
1026 | prog = i3GEO.configura.locaplic+"/admin/php/metaestat.php?funcao=alteraParametroMedida"; | 1028 | prog = i3GEO.configura.locaplic+"/admin/php/metaestat.php?funcao=alteraParametroMedida"; |
1027 | } | 1029 | } |
1028 | if(tipo == "classificacaoMedida"){ | 1030 | if(tipo == "classificacaoMedida"){ |
1029 | - campos = new Array("nome","observacao"); | 1031 | + campos = new Array("id_medida_variavel","nome","observacao"); |
1030 | par = "&id_classificacao="+id; | 1032 | par = "&id_classificacao="+id; |
1031 | prog = i3GEO.configura.locaplic+"/admin/php/metaestat.php?funcao=alteraClassificacaoMedida"; | 1033 | prog = i3GEO.configura.locaplic+"/admin/php/metaestat.php?funcao=alteraClassificacaoMedida"; |
1032 | } | 1034 | } |
admin/php/classe_metaestat.php
@@ -1281,5 +1281,14 @@ class Metaestat{ | @@ -1281,5 +1281,14 @@ class Metaestat{ | ||
1281 | $xml .= '</result-set>' . PHP_EOL; | 1281 | $xml .= '</result-set>' . PHP_EOL; |
1282 | return $xml; | 1282 | return $xml; |
1283 | } | 1283 | } |
1284 | + //busca o valor de uma chave em um array multiplo | ||
1285 | + function buscaNoArray($lista,$chave,$valor){ | ||
1286 | + foreach($lista as $l){ | ||
1287 | + if($l[$chave] == $valor){ | ||
1288 | + return true; | ||
1289 | + } | ||
1290 | + } | ||
1291 | + return false; | ||
1292 | + } | ||
1284 | } | 1293 | } |
1285 | ?> | 1294 | ?> |
1286 | \ No newline at end of file | 1295 | \ No newline at end of file |
admin/php/metaestat.php
@@ -229,6 +229,7 @@ switch (strtoupper($funcao)) | @@ -229,6 +229,7 @@ switch (strtoupper($funcao)) | ||
229 | case "ALTERAVARIAVEL": | 229 | case "ALTERAVARIAVEL": |
230 | $m = new Metaestat(); | 230 | $m = new Metaestat(); |
231 | if(empty($codigo_variavel)){ | 231 | if(empty($codigo_variavel)){ |
232 | + //isso ira criar um novo registro | ||
232 | $codigo_variavel = $m->alteraVariavel(); | 233 | $codigo_variavel = $m->alteraVariavel(); |
233 | if(!empty($nome)){ | 234 | if(!empty($nome)){ |
234 | $m->alteraVariavel($codigo_variavel,$nome,$descricao); | 235 | $m->alteraVariavel($codigo_variavel,$nome,$descricao); |
@@ -252,6 +253,7 @@ switch (strtoupper($funcao)) | @@ -252,6 +253,7 @@ switch (strtoupper($funcao)) | ||
252 | case "ALTERAMEDIDAVARIAVEL": | 253 | case "ALTERAMEDIDAVARIAVEL": |
253 | $m = new Metaestat(); | 254 | $m = new Metaestat(); |
254 | if(empty($id_medida_variavel)){ | 255 | if(empty($id_medida_variavel)){ |
256 | + //isso ira criar um novo registro | ||
255 | $id_medida_variavel = $m->alteraMedidaVariavel($codigo_variavel); | 257 | $id_medida_variavel = $m->alteraMedidaVariavel($codigo_variavel); |
256 | if(!empty($nomemedida)){ | 258 | if(!empty($nomemedida)){ |
257 | $m->alteraMedidaVariavel("",$id_medida_variavel,$codigo_unidade_medida,$codigo_tipo_periodo,$codigo_tipo_regiao,$codigo_estat_conexao,$esquemadb,$tabela,$colunavalor,$colunaidgeo,$filtro,$nomemedida); | 259 | $m->alteraMedidaVariavel("",$id_medida_variavel,$codigo_unidade_medida,$codigo_tipo_periodo,$codigo_tipo_regiao,$codigo_estat_conexao,$esquemadb,$tabela,$colunavalor,$colunaidgeo,$filtro,$nomemedida); |
@@ -260,6 +262,43 @@ switch (strtoupper($funcao)) | @@ -260,6 +262,43 @@ switch (strtoupper($funcao)) | ||
260 | else{ | 262 | else{ |
261 | $m->alteraMedidaVariavel("",$id_medida_variavel,$codigo_unidade_medida,$codigo_tipo_periodo,$codigo_tipo_regiao,$codigo_estat_conexao,$esquemadb,$tabela,$colunavalor,$colunaidgeo,$filtro,$nomemedida); | 263 | $m->alteraMedidaVariavel("",$id_medida_variavel,$codigo_unidade_medida,$codigo_tipo_periodo,$codigo_tipo_regiao,$codigo_estat_conexao,$esquemadb,$tabela,$colunavalor,$colunaidgeo,$filtro,$nomemedida); |
262 | } | 264 | } |
265 | + //verifica se a criacao da medida esta sendo feita para a tabela default | ||
266 | + if($codigo_tipo_periodo < 5 && $codigo_estat_conexao == 0 && $esquemadb == "public" && $colunaidgeo == "codigoregiao"){ | ||
267 | + $parametros = $m->listaParametro($id_medida_variavel); | ||
268 | + //adiciona os parametros de tempo conforme o tipo de periodo escolhido | ||
269 | + //anual | ||
270 | + if($codigo_tipo_periodo >= 0){ | ||
271 | + if($m->buscaNoArray($parametros,"coluna","ano") == false){ | ||
272 | + $id_parametro_medida = $m->alteraParametroMedida($id_medida_variavel,"","","","",""); | ||
273 | + $m->alteraParametroMedida($id_medida_variavel,$id_parametro_medida,"Ano","","ano",""); | ||
274 | + } | ||
275 | + $codigo_tipo_periodo = 1; | ||
276 | + } | ||
277 | + //mensal | ||
278 | + if($codigo_tipo_periodo >= 1){ | ||
279 | + if($m->buscaNoArray($parametros,"coluna","mes") == false){ | ||
280 | + $id_parametro_medida = $m->alteraParametroMedida($id_medida_variavel,"","","","",""); | ||
281 | + $m->alteraParametroMedida($id_medida_variavel,$id_parametro_medida,"Mes","","mes",""); | ||
282 | + } | ||
283 | + $codigo_tipo_periodo = 2; | ||
284 | + } | ||
285 | + //diario | ||
286 | + if($codigo_tipo_periodo >= 2){ | ||
287 | + if($m->buscaNoArray($parametros,"coluna","dia") == false){ | ||
288 | + $id_parametro_medida = $m->alteraParametroMedida($id_medida_variavel,"","","","",""); | ||
289 | + $m->alteraParametroMedida($id_medida_variavel,$id_parametro_medida,"Dia","","dia",""); | ||
290 | + } | ||
291 | + $codigo_tipo_periodo = 3; | ||
292 | + } | ||
293 | + //horario | ||
294 | + if($codigo_tipo_periodo >= 3){ | ||
295 | + if($m->buscaNoArray($parametros,"coluna","hora") == false){ | ||
296 | + $id_parametro_medida = $m->alteraParametroMedida($id_medida_variavel,"","","","",""); | ||
297 | + $m->alteraParametroMedida($id_medida_variavel,$id_parametro_medida,"Hora","","hora",""); | ||
298 | + } | ||
299 | + } | ||
300 | + } | ||
301 | + | ||
263 | retornaJSON($m->listaMedidaVariavel("",$id_medida_variavel)); | 302 | retornaJSON($m->listaMedidaVariavel("",$id_medida_variavel)); |
264 | exit; | 303 | exit; |
265 | break; | 304 | break; |
@@ -275,6 +314,7 @@ switch (strtoupper($funcao)) | @@ -275,6 +314,7 @@ switch (strtoupper($funcao)) | ||
275 | case "ALTERAPARAMETROMEDIDA": | 314 | case "ALTERAPARAMETROMEDIDA": |
276 | $m = new Metaestat(); | 315 | $m = new Metaestat(); |
277 | if(empty($id_parametro_medida)){ | 316 | if(empty($id_parametro_medida)){ |
317 | + //isso ira criar um novo registro | ||
278 | $id_parametro_medida = $m->alteraParametroMedida($id_medida_variavel); | 318 | $id_parametro_medida = $m->alteraParametroMedida($id_medida_variavel); |
279 | } | 319 | } |
280 | else{ | 320 | else{ |
@@ -295,7 +335,11 @@ switch (strtoupper($funcao)) | @@ -295,7 +335,11 @@ switch (strtoupper($funcao)) | ||
295 | case "ALTERACLASSIFICACAOMEDIDA": | 335 | case "ALTERACLASSIFICACAOMEDIDA": |
296 | $m = new Metaestat(); | 336 | $m = new Metaestat(); |
297 | if(empty($id_classificacao)){ | 337 | if(empty($id_classificacao)){ |
338 | + //isso ira criar um novo registro | ||
298 | $id_classificacao = $m->alteraClassificacaoMedida($id_medida_variavel); | 339 | $id_classificacao = $m->alteraClassificacaoMedida($id_medida_variavel); |
340 | + if(!empty($nome)){ | ||
341 | + $m->alteraClassificacaoMedida($id_classificacao,$id_classificacao,$nome,$observacao); | ||
342 | + } | ||
299 | } | 343 | } |
300 | else{ | 344 | else{ |
301 | $m->alteraClassificacaoMedida("",$id_classificacao,$nome,$observacao); | 345 | $m->alteraClassificacaoMedida("",$id_classificacao,$nome,$observacao); |
@@ -315,6 +359,7 @@ switch (strtoupper($funcao)) | @@ -315,6 +359,7 @@ switch (strtoupper($funcao)) | ||
315 | case "ALTERACLASSECLASSIFICACAO": | 359 | case "ALTERACLASSECLASSIFICACAO": |
316 | $m = new Metaestat(); | 360 | $m = new Metaestat(); |
317 | if(empty($id_classe)){ | 361 | if(empty($id_classe)){ |
362 | + //isso ira criar um novo registro | ||
318 | $id_classe = $m->alteraClasseClassificacao($id_classificacao); | 363 | $id_classe = $m->alteraClasseClassificacao($id_classificacao); |
319 | } | 364 | } |
320 | else{ | 365 | else{ |
@@ -326,6 +371,7 @@ switch (strtoupper($funcao)) | @@ -326,6 +371,7 @@ switch (strtoupper($funcao)) | ||
326 | case "ALTERALINKMEDIDA": | 371 | case "ALTERALINKMEDIDA": |
327 | $m = new Metaestat(); | 372 | $m = new Metaestat(); |
328 | if(empty($id_link)){ | 373 | if(empty($id_link)){ |
374 | + //isso ira criar um novo registro | ||
329 | $id_link = $m->alteraLinkMedida($id_medida_variavel); | 375 | $id_link = $m->alteraLinkMedida($id_medida_variavel); |
330 | } | 376 | } |
331 | else{ | 377 | else{ |
@@ -337,6 +383,7 @@ switch (strtoupper($funcao)) | @@ -337,6 +383,7 @@ switch (strtoupper($funcao)) | ||
337 | case "ALTERARFONTEINFO": | 383 | case "ALTERARFONTEINFO": |
338 | $m = new Metaestat(); | 384 | $m = new Metaestat(); |
339 | if(empty($id_fonteinfo)){ | 385 | if(empty($id_fonteinfo)){ |
386 | + //isso ira criar um novo registro | ||
340 | $id_fonteinfo = $m->alteraFonteinfo(); | 387 | $id_fonteinfo = $m->alteraFonteinfo(); |
341 | } | 388 | } |
342 | else{ | 389 | else{ |
@@ -438,7 +485,10 @@ switch (strtoupper($funcao)) | @@ -438,7 +485,10 @@ switch (strtoupper($funcao)) | ||
438 | $codigo_tipo_periodo = $m->alteraTipoPeriodo(); | 485 | $codigo_tipo_periodo = $m->alteraTipoPeriodo(); |
439 | } | 486 | } |
440 | else{ | 487 | else{ |
441 | - $codigo_unidade_medida = $m->alteraTipoPeriodo($codigo_tipo_periodo,$nome,$descricao); | 488 | + //impede a alteracao dos valores reservados |
489 | + if($codigo_tipo_periodo > 4){ | ||
490 | + $codigo_unidade_medida = $m->alteraTipoPeriodo($codigo_tipo_periodo,$nome,$descricao); | ||
491 | + } | ||
442 | } | 492 | } |
443 | retornaJSON($m->listaTipoPeriodo($codigo_tipo_periodo)); | 493 | retornaJSON($m->listaTipoPeriodo($codigo_tipo_periodo)); |
444 | exit; | 494 | exit; |
@@ -482,15 +532,22 @@ switch (strtoupper($funcao)) | @@ -482,15 +532,22 @@ switch (strtoupper($funcao)) | ||
482 | {JSON} | 532 | {JSON} |
483 | */ | 533 | */ |
484 | case "EXCLUIRTIPOPERIODO": | 534 | case "EXCLUIRTIPOPERIODO": |
485 | - $tabela = "i3geoestat_tipo_periodo"; | ||
486 | - $id = $codigo_tipo_periodo; | ||
487 | - $f = verificaFilhos(); | ||
488 | - if(!$f){ | ||
489 | - $m = new Metaestat(); | ||
490 | - retornaJSON($m->excluirRegistro("i3geoestat_tipo_periodo","codigo_tipo_periodo",$id)); | 535 | + //impede a alteracao dos valores reservados |
536 | + if($codigo_tipo_periodo > 4){ | ||
537 | + $tabela = "i3geoestat_tipo_periodo"; | ||
538 | + $id = $codigo_tipo_periodo; | ||
539 | + $f = verificaFilhos(); | ||
540 | + if(!$f){ | ||
541 | + $m = new Metaestat(); | ||
542 | + retornaJSON($m->excluirRegistro("i3geoestat_tipo_periodo","codigo_tipo_periodo",$id)); | ||
543 | + } | ||
544 | + else{ | ||
545 | + retornaJSON("erro"); | ||
546 | + } | ||
491 | } | 547 | } |
492 | - else | 548 | + else{ |
493 | retornaJSON("erro"); | 549 | retornaJSON("erro"); |
550 | + } | ||
494 | exit; | 551 | exit; |
495 | break; | 552 | break; |
496 | /* | 553 | /* |
@@ -543,15 +600,22 @@ switch (strtoupper($funcao)) | @@ -543,15 +600,22 @@ switch (strtoupper($funcao)) | ||
543 | {JSON} | 600 | {JSON} |
544 | */ | 601 | */ |
545 | case "EXCLUIRCONEXAO": | 602 | case "EXCLUIRCONEXAO": |
546 | - $tabela = "i3geoestat_conexao"; | ||
547 | - $id = $codigo_estat_conexao; | ||
548 | - $f = verificaFilhos(); | ||
549 | - if(!$f){ | ||
550 | - $m = new Metaestat(); | ||
551 | - retornaJSON($m->excluirRegistro("i3geoestat_conexao","codigo_estat_conexao",$id)); | 603 | + //impede a alteracao dos valores reservados |
604 | + if($codigo_estat_conexao > 0){ | ||
605 | + $tabela = "i3geoestat_conexao"; | ||
606 | + $id = $codigo_estat_conexao; | ||
607 | + $f = verificaFilhos(); | ||
608 | + if(!$f){ | ||
609 | + $m = new Metaestat(); | ||
610 | + retornaJSON($m->excluirRegistro("i3geoestat_conexao","codigo_estat_conexao",$id)); | ||
611 | + } | ||
612 | + else{ | ||
613 | + retornaJSON("erro"); | ||
614 | + } | ||
552 | } | 615 | } |
553 | - else | 616 | + else{ |
554 | retornaJSON("erro"); | 617 | retornaJSON("erro"); |
618 | + } | ||
555 | exit; | 619 | exit; |
556 | break; | 620 | break; |
557 | /* | 621 | /* |
classesjs/classe_php.js
@@ -1484,6 +1484,15 @@ i3GEO.php = { | @@ -1484,6 +1484,15 @@ i3GEO.php = { | ||
1484 | i3GEO.util.ajaxGet(p,funcao); | 1484 | i3GEO.util.ajaxGet(p,funcao); |
1485 | }, | 1485 | }, |
1486 | /* | 1486 | /* |
1487 | + Function: listaClasseClassificacao | ||
1488 | + | ||
1489 | + Lista as classes de uma classificacao de uma medida de variavel do sistema de metadados estatísticos | ||
1490 | + */ | ||
1491 | + listaClasseClassificacao: function(id_classificacao,funcao){ | ||
1492 | + var p = i3GEO.configura.locaplic+"/admin/php/metaestat.php?funcao=listaClasseClassificacao&id_classificacao="+id_classificacao; | ||
1493 | + i3GEO.util.ajaxGet(p,funcao); | ||
1494 | + }, | ||
1495 | + /* | ||
1487 | Function: mapfileMedidaVariavel | 1496 | Function: mapfileMedidaVariavel |
1488 | 1497 | ||
1489 | Adiciona uma camada ao mapa baseado no sistema de metadados estatísticos | 1498 | Adiciona uma camada ao mapa baseado no sistema de metadados estatísticos |
documentacao/diagramas/metaestat.erm
@@ -11,8 +11,8 @@ | @@ -11,8 +11,8 @@ | ||
11 | </page_setting> | 11 | </page_setting> |
12 | <category_index>0</category_index> | 12 | <category_index>0</category_index> |
13 | <zoom>1.0</zoom> | 13 | <zoom>1.0</zoom> |
14 | - <x>-372</x> | ||
15 | - <y>51</y> | 14 | + <x>219</x> |
15 | + <y>-89</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>2012-09-24 00:15:20</updated_date> | 113 | + <updated_date>2012-09-25 10:02:07</updated_date> |
114 | <model_property> | 114 | <model_property> |
115 | <name>Project Name</name> | 115 | <name>Project Name</name> |
116 | <value></value> | 116 | <value></value> |
@@ -1259,7 +1259,7 @@ | @@ -1259,7 +1259,7 @@ | ||
1259 | </sequence> | 1259 | </sequence> |
1260 | </normal_column> | 1260 | </normal_column> |
1261 | <normal_column> | 1261 | <normal_column> |
1262 | - <word_id>36</word_id> | 1262 | + <word_id>37</word_id> |
1263 | <id>6</id> | 1263 | <id>6</id> |
1264 | <description></description> | 1264 | <description></description> |
1265 | <unique_key_name></unique_key_name> | 1265 | <unique_key_name></unique_key_name> |
@@ -1291,7 +1291,7 @@ | @@ -1291,7 +1291,7 @@ | ||
1291 | </sequence> | 1291 | </sequence> |
1292 | </normal_column> | 1292 | </normal_column> |
1293 | <normal_column> | 1293 | <normal_column> |
1294 | - <word_id>18</word_id> | 1294 | + <word_id>17</word_id> |
1295 | <id>7</id> | 1295 | <id>7</id> |
1296 | <description></description> | 1296 | <description></description> |
1297 | <unique_key_name></unique_key_name> | 1297 | <unique_key_name></unique_key_name> |
@@ -1386,7 +1386,7 @@ | @@ -1386,7 +1386,7 @@ | ||
1386 | </sequence> | 1386 | </sequence> |
1387 | </normal_column> | 1387 | </normal_column> |
1388 | <normal_column> | 1388 | <normal_column> |
1389 | - <word_id>38</word_id> | 1389 | + <word_id>40</word_id> |
1390 | <id>9</id> | 1390 | <id>9</id> |
1391 | <description></description> | 1391 | <description></description> |
1392 | <unique_key_name></unique_key_name> | 1392 | <unique_key_name></unique_key_name> |
@@ -1418,7 +1418,7 @@ | @@ -1418,7 +1418,7 @@ | ||
1418 | </sequence> | 1418 | </sequence> |
1419 | </normal_column> | 1419 | </normal_column> |
1420 | <normal_column> | 1420 | <normal_column> |
1421 | - <word_id>17</word_id> | 1421 | + <word_id>18</word_id> |
1422 | <id>10</id> | 1422 | <id>10</id> |
1423 | <description></description> | 1423 | <description></description> |
1424 | <unique_key_name></unique_key_name> | 1424 | <unique_key_name></unique_key_name> |
@@ -1530,7 +1530,7 @@ | @@ -1530,7 +1530,7 @@ | ||
1530 | </sequence> | 1530 | </sequence> |
1531 | </normal_column> | 1531 | </normal_column> |
1532 | <normal_column> | 1532 | <normal_column> |
1533 | - <word_id>40</word_id> | 1533 | + <word_id>38</word_id> |
1534 | <id>12</id> | 1534 | <id>12</id> |
1535 | <description></description> | 1535 | <description></description> |
1536 | <unique_key_name></unique_key_name> | 1536 | <unique_key_name></unique_key_name> |
@@ -2243,7 +2243,7 @@ | @@ -2243,7 +2243,7 @@ | ||
2243 | <connections> | 2243 | <connections> |
2244 | <relation> | 2244 | <relation> |
2245 | <id>2</id> | 2245 | <id>2</id> |
2246 | - <source>2</source> | 2246 | + <source>3</source> |
2247 | <target>8</target> | 2247 | <target>8</target> |
2248 | <child_cardinality>1..n</child_cardinality> | 2248 | <child_cardinality>1..n</child_cardinality> |
2249 | <parent_cardinality>1</parent_cardinality> | 2249 | <parent_cardinality>1</parent_cardinality> |
@@ -2260,7 +2260,7 @@ | @@ -2260,7 +2260,7 @@ | ||
2260 | </relation> | 2260 | </relation> |
2261 | <relation> | 2261 | <relation> |
2262 | <id>3</id> | 2262 | <id>3</id> |
2263 | - <source>3</source> | 2263 | + <source>12</source> |
2264 | <target>8</target> | 2264 | <target>8</target> |
2265 | <child_cardinality>1..n</child_cardinality> | 2265 | <child_cardinality>1..n</child_cardinality> |
2266 | <parent_cardinality>1</parent_cardinality> | 2266 | <parent_cardinality>1</parent_cardinality> |
@@ -2311,7 +2311,7 @@ | @@ -2311,7 +2311,7 @@ | ||
2311 | </relation> | 2311 | </relation> |
2312 | <relation> | 2312 | <relation> |
2313 | <id>6</id> | 2313 | <id>6</id> |
2314 | - <source>12</source> | 2314 | + <source>2</source> |
2315 | <target>8</target> | 2315 | <target>8</target> |
2316 | <child_cardinality>1..n</child_cardinality> | 2316 | <child_cardinality>1..n</child_cardinality> |
2317 | <parent_cardinality>1</parent_cardinality> | 2317 | <parent_cardinality>1</parent_cardinality> |
@@ -2369,7 +2369,7 @@ | @@ -2369,7 +2369,7 @@ | ||
2369 | <normal_column> | 2369 | <normal_column> |
2370 | <id>32</id> | 2370 | <id>32</id> |
2371 | <referenced_column>0</referenced_column> | 2371 | <referenced_column>0</referenced_column> |
2372 | - <relation>2</relation> | 2372 | + <relation>6</relation> |
2373 | <description></description> | 2373 | <description></description> |
2374 | <unique_key_name></unique_key_name> | 2374 | <unique_key_name></unique_key_name> |
2375 | <logical_name></logical_name> | 2375 | <logical_name></logical_name> |
@@ -2402,7 +2402,7 @@ | @@ -2402,7 +2402,7 @@ | ||
2402 | <normal_column> | 2402 | <normal_column> |
2403 | <id>33</id> | 2403 | <id>33</id> |
2404 | <referenced_column>5</referenced_column> | 2404 | <referenced_column>5</referenced_column> |
2405 | - <relation>3</relation> | 2405 | + <relation>2</relation> |
2406 | <description></description> | 2406 | <description></description> |
2407 | <unique_key_name></unique_key_name> | 2407 | <unique_key_name></unique_key_name> |
2408 | <logical_name></logical_name> | 2408 | <logical_name></logical_name> |
@@ -2468,7 +2468,7 @@ | @@ -2468,7 +2468,7 @@ | ||
2468 | <normal_column> | 2468 | <normal_column> |
2469 | <id>35</id> | 2469 | <id>35</id> |
2470 | <referenced_column>55</referenced_column> | 2470 | <referenced_column>55</referenced_column> |
2471 | - <relation>6</relation> | 2471 | + <relation>3</relation> |
2472 | <description></description> | 2472 | <description></description> |
2473 | <unique_key_name></unique_key_name> | 2473 | <unique_key_name></unique_key_name> |
2474 | <logical_name></logical_name> | 2474 | <logical_name></logical_name> |
@@ -2837,7 +2837,7 @@ | @@ -2837,7 +2837,7 @@ | ||
2837 | </sequence> | 2837 | </sequence> |
2838 | </normal_column> | 2838 | </normal_column> |
2839 | <normal_column> | 2839 | <normal_column> |
2840 | - <word_id>37</word_id> | 2840 | + <word_id>41</word_id> |
2841 | <id>45</id> | 2841 | <id>45</id> |
2842 | <description></description> | 2842 | <description></description> |
2843 | <unique_key_name></unique_key_name> | 2843 | <unique_key_name></unique_key_name> |
@@ -3144,7 +3144,7 @@ | @@ -3144,7 +3144,7 @@ | ||
3144 | </sequence> | 3144 | </sequence> |
3145 | </normal_column> | 3145 | </normal_column> |
3146 | <normal_column> | 3146 | <normal_column> |
3147 | - <word_id>41</word_id> | 3147 | + <word_id>36</word_id> |
3148 | <id>51</id> | 3148 | <id>51</id> |
3149 | <description></description> | 3149 | <description></description> |
3150 | <unique_key_name></unique_key_name> | 3150 | <unique_key_name></unique_key_name> |
@@ -4304,6 +4304,34 @@ | @@ -4304,6 +4304,34 @@ | ||
4304 | <value></value> | 4304 | <value></value> |
4305 | </column_data> | 4305 | </column_data> |
4306 | </data> | 4306 | </data> |
4307 | + <data> | ||
4308 | + <column_data> | ||
4309 | + <column_id>5</column_id> | ||
4310 | + <value>3</value> | ||
4311 | + </column_data> | ||
4312 | + <column_data> | ||
4313 | + <column_id>6</column_id> | ||
4314 | + <value>Diário</value> | ||
4315 | + </column_data> | ||
4316 | + <column_data> | ||
4317 | + <column_id>7</column_id> | ||
4318 | + <value></value> | ||
4319 | + </column_data> | ||
4320 | + </data> | ||
4321 | + <data> | ||
4322 | + <column_data> | ||
4323 | + <column_id>5</column_id> | ||
4324 | + <value>4</value> | ||
4325 | + </column_data> | ||
4326 | + <column_data> | ||
4327 | + <column_id>6</column_id> | ||
4328 | + <value>Horário</value> | ||
4329 | + </column_data> | ||
4330 | + <column_data> | ||
4331 | + <column_id>7</column_id> | ||
4332 | + <value></value> | ||
4333 | + </column_data> | ||
4334 | + </data> | ||
4307 | </direct_test_data> | 4335 | </direct_test_data> |
4308 | <repeat_test_data> | 4336 | <repeat_test_data> |
4309 | <test_data_num>0</test_data_num> | 4337 | <test_data_num>0</test_data_num> |
ferramentas/metaestat/dicionario1.js
@@ -58,13 +58,34 @@ it:"" | @@ -58,13 +58,34 @@ it:"" | ||
58 | }], | 58 | }], |
59 | "9":[ | 59 | "9":[ |
60 | { | 60 | { |
61 | -pt:"", | 61 | +pt:"Salvar", |
62 | en:"", | 62 | en:"", |
63 | es:"", | 63 | es:"", |
64 | it:"" | 64 | it:"" |
65 | }], | 65 | }], |
66 | "10":[ | 66 | "10":[ |
67 | { | 67 | { |
68 | +pt:"Utilize um dos métodos abaixo para gerar as classes que serão utilizadas para representar os dados no cartograma", | ||
69 | +en:"", | ||
70 | +es:"", | ||
71 | +it:"" | ||
72 | +}], | ||
73 | +"11":[ | ||
74 | +{ | ||
75 | +pt:"Divisão em quartis", | ||
76 | +en:"", | ||
77 | +es:"", | ||
78 | +it:"" | ||
79 | +}], | ||
80 | +"12":[ | ||
81 | +{ | ||
82 | +pt:"5 intervalos iguais", | ||
83 | +en:"", | ||
84 | +es:"", | ||
85 | +it:"" | ||
86 | +}], | ||
87 | +"13":[ | ||
88 | +{ | ||
68 | pt:"", | 89 | pt:"", |
69 | en:"", | 90 | en:"", |
70 | es:"", | 91 | es:"", |
ferramentas/metaestat/index.js
1 | /* | 1 | /* |
2 | T i*tle: Cartogramas estatísticos | 2 | T i*tle: Cartogramas estatísticos |
3 | - | 3 | + |
4 | Arquivo: | 4 | Arquivo: |
5 | - | 5 | + |
6 | i3geo/ferramentas/metaestat/index.js | 6 | i3geo/ferramentas/metaestat/index.js |
7 | - | 7 | + |
8 | Licenca: | 8 | Licenca: |
9 | - | 9 | + |
10 | GPL2 | 10 | GPL2 |
11 | - | 11 | + |
12 | i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | 12 | i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet |
13 | - | 13 | + |
14 | Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | 14 | Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil |
15 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br | 15 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br |
16 | - | 16 | + |
17 | Este programa é software livre; você pode redistribuí-lo | 17 | Este programa é software livre; você pode redistribuí-lo |
18 | e/ou modificá-lo sob os termos da Licença Pública Geral | 18 | e/ou modificá-lo sob os termos da Licença Pública Geral |
19 | GNU conforme publicada pela Free Software Foundation; | 19 | GNU conforme publicada pela Free Software Foundation; |
20 | - | 20 | + |
21 | Este programa é distribuído na expectativa de que seja útil, | 21 | Este programa é distribuído na expectativa de que seja útil, |
22 | porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | 22 | porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita |
23 | de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | 23 | de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. |
@@ -32,7 +32,7 @@ if(typeof(i3GEOF) === 'undefined'){ | @@ -32,7 +32,7 @@ if(typeof(i3GEOF) === 'undefined'){ | ||
32 | } | 32 | } |
33 | /* | 33 | /* |
34 | C l*asse: i3GEOF.metaestat | 34 | C l*asse: i3GEOF.metaestat |
35 | - | 35 | + |
36 | Gerencia os componentes do módulo de geração de cartogramas estatísticos | 36 | Gerencia os componentes do módulo de geração de cartogramas estatísticos |
37 | */ | 37 | */ |
38 | i3GEOF.metaestat = { | 38 | i3GEOF.metaestat = { |
@@ -222,7 +222,7 @@ i3GEOF.metaestat = { | @@ -222,7 +222,7 @@ i3GEOF.metaestat = { | ||
222 | } | 222 | } |
223 | }, | 223 | }, |
224 | comboTipoClassificacaoOnchange: function(){ | 224 | comboTipoClassificacaoOnchange: function(){ |
225 | - | 225 | + |
226 | }, | 226 | }, |
227 | comboRegiao: function(id_medida_variavel){ | 227 | comboRegiao: function(id_medida_variavel){ |
228 | i3GEOF.metaestat.comum.aguarde($i("i3geoCartoRegioesMedidasVariavel")); | 228 | i3GEOF.metaestat.comum.aguarde($i("i3geoCartoRegioesMedidasVariavel")); |
@@ -400,6 +400,7 @@ i3GEOF.metaestat = { | @@ -400,6 +400,7 @@ i3GEOF.metaestat = { | ||
400 | } | 400 | } |
401 | }, | 401 | }, |
402 | editor: { | 402 | editor: { |
403 | + //TODO incluir botao para remover registros | ||
403 | inicia: function(){ | 404 | inicia: function(){ |
404 | YAHOO.namespace("admin.container"); | 405 | YAHOO.namespace("admin.container"); |
405 | if(typeof(i3GEOF.metaestat.dicionario1) === 'undefined'){ | 406 | if(typeof(i3GEOF.metaestat.dicionario1) === 'undefined'){ |
@@ -506,7 +507,7 @@ i3GEOF.metaestat = { | @@ -506,7 +507,7 @@ i3GEOF.metaestat = { | ||
506 | i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t2"); | 507 | i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t2"); |
507 | // Enome e o id do input onde o usuario escolheu o nome da nova variavel | 508 | // Enome e o id do input onde o usuario escolheu o nome da nova variavel |
508 | i3GEOF.metaestat.editor.t2(true,$i("Enomemedida").value); | 509 | i3GEOF.metaestat.editor.t2(true,$i("Enomemedida").value); |
509 | - //TODO adicionar os parametros de tempo que ja existem na tabela | 510 | + //TODO inserir fontes e links |
510 | }; | 511 | }; |
511 | i3GEOadmin.variaveis.editar("medidaVariavel",""); | 512 | i3GEOadmin.variaveis.editar("medidaVariavel",""); |
512 | //passa o codigo da variavel | 513 | //passa o codigo da variavel |
@@ -522,6 +523,10 @@ i3GEOF.metaestat = { | @@ -522,6 +523,10 @@ i3GEOF.metaestat = { | ||
522 | $i("Ecolunavalor").value = "valor_num"; | 523 | $i("Ecolunavalor").value = "valor_num"; |
523 | //id que liga com o geo | 524 | //id que liga com o geo |
524 | $i("Ecolunaidgeo").value = "codigoregiao"; | 525 | $i("Ecolunaidgeo").value = "codigoregiao"; |
526 | + //unidade de medida | ||
527 | + $i("Ecodigo_unidade_medida").value = 1; | ||
528 | + //periodo | ||
529 | + $i("Ecodigo_tipo_periodo").value = 0; | ||
525 | //impede a alteracao do filtro | 530 | //impede a alteracao do filtro |
526 | $i("Efiltro").disabled = "disabled"; | 531 | $i("Efiltro").disabled = "disabled"; |
527 | }, | 532 | }, |
@@ -538,6 +543,30 @@ i3GEOF.metaestat = { | @@ -538,6 +543,30 @@ i3GEOF.metaestat = { | ||
538 | i3GEOadmin.variaveis.editar("medidaVariavel",id_medida_variavel); | 543 | i3GEOadmin.variaveis.editar("medidaVariavel",id_medida_variavel); |
539 | } | 544 | } |
540 | }, | 545 | }, |
546 | + criaClassificacao: function(){ | ||
547 | + i3GEOadmin.variaveis.aposGravar = function(){ | ||
548 | + core_carregando("desativa"); | ||
549 | + //refaz o conteudo para mostrar a nova adicao | ||
550 | + i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t3"); | ||
551 | + // Enome e o id do input onde o usuario escolheu o nome da nova variavel | ||
552 | + i3GEOF.metaestat.editor.t3(true,$i("Enome").value); | ||
553 | + }; | ||
554 | + i3GEOadmin.variaveis.editar("classificacaoMedida",""); | ||
555 | + $i("Eid_medida_variavel").value = $i("i3geoCartoComboMedidaVariavelEditor").value; | ||
556 | + }, | ||
557 | + editaClassificacao: function(){ | ||
558 | + i3GEOadmin.variaveis.aposGravar = function(){ | ||
559 | + core_carregando("desativa"); | ||
560 | + //refaz o conteudo para mostrar a nova adicao | ||
561 | + i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t3"); | ||
562 | + // Enome e o id do input onde o usuario escolheu o nome da nova variavel | ||
563 | + i3GEOF.metaestat.editor.t3(true,$i("Enome").value); | ||
564 | + }; | ||
565 | + var id_classificacao = $i("i3geoCartoComboClassificacoesEditor").value; | ||
566 | + if(id_classificacao !== ""){ | ||
567 | + i3GEOadmin.variaveis.editar("classificacaoMedida",id_classificacao); | ||
568 | + } | ||
569 | + }, | ||
541 | removeEl:function(id){ | 570 | removeEl:function(id){ |
542 | var no = $i(id); | 571 | var no = $i(id); |
543 | if(no){ | 572 | if(no){ |
@@ -562,6 +591,12 @@ i3GEOF.metaestat = { | @@ -562,6 +591,12 @@ i3GEOF.metaestat = { | ||
562 | comboMedidaVariavelOnchange: function(combo){ | 591 | comboMedidaVariavelOnchange: function(combo){ |
563 | i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t3"); | 592 | i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t3"); |
564 | }, | 593 | }, |
594 | + quartis: function(){ | ||
595 | + //TODO | ||
596 | + }, | ||
597 | + intervalosIguais: function(){ | ||
598 | + | ||
599 | + }, | ||
565 | t0: function(){ | 600 | t0: function(){ |
566 | var ins = "<p class='paragrafo' >" + $trad(2,i3GEOF.metaestat.dicionario1) + | 601 | var ins = "<p class='paragrafo' >" + $trad(2,i3GEOF.metaestat.dicionario1) + |
567 | "<br><br><p><input id=i3GEOFmetaestatEditorBotao1 type='button' value='"+$trad(3,i3GEOF.metaestat.dicionario1)+"' />" + | 602 | "<br><br><p><input id=i3GEOFmetaestatEditorBotao1 type='button' value='"+$trad(3,i3GEOF.metaestat.dicionario1)+"' />" + |
@@ -622,18 +657,18 @@ i3GEOF.metaestat = { | @@ -622,18 +657,18 @@ i3GEOF.metaestat = { | ||
622 | i3GEO.util.proximoAnterior("i3GEOF.metaestat.editor.t1()","i3GEOF.metaestat.editor.t3()",ins,"i3GEOF.metaestat.editor.t2","i3GEOFmetaestatEditor",true); | 657 | i3GEO.util.proximoAnterior("i3GEOF.metaestat.editor.t1()","i3GEOF.metaestat.editor.t3()",ins,"i3GEOF.metaestat.editor.t2","i3GEOFmetaestatEditor",true); |
623 | new YAHOO.widget.Button( | 658 | new YAHOO.widget.Button( |
624 | "i3GEOFmetaestatEditorBotao4", | 659 | "i3GEOFmetaestatEditorBotao4", |
625 | - {onclick:{fn: i3GEOF.metaestat.editor.editaMedidaVariavel}} | 660 | + {onclick:{fn: i3GEOF.metaestat.editor.editaMedidaVariavel}} |
626 | ); | 661 | ); |
627 | $i("i3GEOFmetaestatEditorBotao4-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; | 662 | $i("i3GEOFmetaestatEditorBotao4-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; |
628 | new YAHOO.widget.Button( | 663 | new YAHOO.widget.Button( |
629 | "i3GEOFmetaestatEditorBotao4a", | 664 | "i3GEOFmetaestatEditorBotao4a", |
630 | - {onclick:{fn: i3GEOF.metaestat.editor.criaMedidaVariavel}} | 665 | + {onclick:{fn: i3GEOF.metaestat.editor.criaMedidaVariavel}} |
631 | ); | 666 | ); |
632 | $i("i3GEOFmetaestatEditorBotao4a-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; | 667 | $i("i3GEOFmetaestatEditorBotao4a-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; |
633 | if(textoSelecionado){ | 668 | if(textoSelecionado){ |
634 | i3GEOF.metaestat.editor.selComboPorTexto("i3geoCartoComboMedidaVariavelEditor",textoSelecionado); | 669 | i3GEOF.metaestat.editor.selComboPorTexto("i3geoCartoComboMedidaVariavelEditor",textoSelecionado); |
635 | } | 670 | } |
636 | - | 671 | + |
637 | }, | 672 | }, |
638 | codigo_variavel = $i("i3geoCartoComboVariavelEditor").value; | 673 | codigo_variavel = $i("i3geoCartoComboVariavelEditor").value; |
639 | if(codigo_variavel == ""){ | 674 | if(codigo_variavel == ""){ |
@@ -645,7 +680,7 @@ i3GEOF.metaestat = { | @@ -645,7 +680,7 @@ i3GEOF.metaestat = { | ||
645 | } | 680 | } |
646 | }, | 681 | }, |
647 | t3: function(remove,textoSelecionado){ | 682 | t3: function(remove,textoSelecionado){ |
648 | - //TODO escolha dos parametros de classificacao | 683 | + //TODO incluir opcao de upload de dados |
649 | if(remove == true){ | 684 | if(remove == true){ |
650 | //remove o conteudo anteriormente construido | 685 | //remove o conteudo anteriormente construido |
651 | i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t3"); | 686 | i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t3"); |
@@ -657,17 +692,55 @@ i3GEOF.metaestat = { | @@ -657,17 +692,55 @@ i3GEOF.metaestat = { | ||
657 | else{ | 692 | else{ |
658 | var temp = function(dados){ | 693 | var temp = function(dados){ |
659 | var ins = "<p class='paragrafo' >" + $trad(7,i3GEOF.metaestat.dicionario1) + "<br><br>" + | 694 | var ins = "<p class='paragrafo' >" + $trad(7,i3GEOF.metaestat.dicionario1) + "<br><br>" + |
660 | - "<span>" + i3GEOF.metaestat.principal.comboClassificacoesMedidaVariavel(dados,"i3geoCartoComboClassificacoesMedidaVariavelEditor","") + "</span>" + | ||
661 | - "<br><br><p><input id=i3GEOFmetaestatEditorBotao5 type='button' value='"+$trad(5,i3GEOF.metaestat.dicionario1)+"' /><br>"; | 695 | + "<span>" + i3GEOF.metaestat.principal.comboClassificacoesMedidaVariavel(dados,"i3geoCartoComboClassificacoesEditor","") + "</span>" + |
696 | + "<br><br><p><input id=i3GEOFmetaestatEditorBotao5 type='button' value='"+$trad(8,i3GEOF.metaestat.dicionario1)+"' />" + | ||
697 | + " <input id=i3GEOFmetaestatEditorBotao5a type='button' value='"+$trad(5,i3GEOF.metaestat.dicionario1)+"' /><br>"; | ||
662 | i3GEO.util.proximoAnterior("i3GEOF.metaestat.editor.t2()","i3GEOF.metaestat.editor.t4()",ins,"i3GEOF.metaestat.editor.t3","i3GEOFmetaestatEditor",true); | 698 | i3GEO.util.proximoAnterior("i3GEOF.metaestat.editor.t2()","i3GEOF.metaestat.editor.t4()",ins,"i3GEOF.metaestat.editor.t3","i3GEOFmetaestatEditor",true); |
663 | new YAHOO.widget.Button( | 699 | new YAHOO.widget.Button( |
664 | "i3GEOFmetaestatEditorBotao5", | 700 | "i3GEOFmetaestatEditorBotao5", |
665 | - {onclick:{fn: i3GEOF.metaestat.editor.criaClassificacao}} | 701 | + {onclick:{fn: i3GEOF.metaestat.editor.editaClassificacao}} |
666 | ); | 702 | ); |
667 | $i("i3GEOFmetaestatEditorBotao5-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; | 703 | $i("i3GEOFmetaestatEditorBotao5-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; |
704 | + new YAHOO.widget.Button( | ||
705 | + "i3GEOFmetaestatEditorBotao5a", | ||
706 | + {onclick:{fn: i3GEOF.metaestat.editor.criaClassificacao}} | ||
707 | + ); | ||
708 | + $i("i3GEOFmetaestatEditorBotao5a-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; | ||
709 | + | ||
668 | }; | 710 | }; |
669 | i3GEO.php.listaClassificacaoMedida($i("i3geoCartoComboMedidaVariavelEditor").value,temp); | 711 | i3GEO.php.listaClassificacaoMedida($i("i3geoCartoComboMedidaVariavelEditor").value,temp); |
670 | } | 712 | } |
713 | + }, | ||
714 | + t4: function(remove,textoSelecionado){ | ||
715 | + //TODO incluir as opcoes de escolha de cores e criacao de classes por quartil e intervalos iguais | ||
716 | + if(remove == true){ | ||
717 | + //remove o conteudo anteriormente construido | ||
718 | + i3GEOF.metaestat.editor.removeEl("i3GEOF.metaestat.editor.t4"); | ||
719 | + } | ||
720 | + if($i("i3geoCartoComboMedidaVariavelEditor").value === ""){ | ||
721 | + alert($trad(9,i3GEOF.metaestat.dicionario)); | ||
722 | + i3GEOF.metaestat.editor.t3(false); | ||
723 | + } | ||
724 | + else{ | ||
725 | + var temp = function(dados){ | ||
726 | + var ins = "<p class='paragrafo' >" + $trad(10,i3GEOF.metaestat.dicionario1) + "<br><br>" + | ||
727 | + "<span></span>" + | ||
728 | + "<br><br><p><input id=i3GEOFmetaestatEditorBotao6 type='button' value='"+$trad(11,i3GEOF.metaestat.dicionario1)+"' />" + | ||
729 | + " <input id=i3GEOFmetaestatEditorBotao7 type='button' value='"+$trad(12,i3GEOF.metaestat.dicionario1)+"' />"; | ||
730 | + i3GEO.util.proximoAnterior("i3GEOF.metaestat.editor.t3()","i3GEOF.metaestat.editor.t5()",ins,"i3GEOF.metaestat.editor.t4","i3GEOFmetaestatEditor",true); | ||
731 | + new YAHOO.widget.Button( | ||
732 | + "i3GEOFmetaestatEditorBotao6", | ||
733 | + {onclick:{fn: i3GEOF.metaestat.editor.quartis}} | ||
734 | + ); | ||
735 | + $i("i3GEOFmetaestatEditorBotao6-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; | ||
736 | + new YAHOO.widget.Button( | ||
737 | + "i3GEOFmetaestatEditorBotao7", | ||
738 | + {onclick:{fn: i3GEOF.metaestat.editor.intervalosIguais}} | ||
739 | + ); | ||
740 | + $i("i3GEOFmetaestatEditorBotao7-button").style.width = (i3GEOF.metaestat.LARGURA / 2) + "px"; | ||
741 | + }; | ||
742 | + i3GEO.php.listaClasseClassificacao($i("i3geoCartoComboClassificacoesEditor").value,temp); | ||
743 | + } | ||
671 | } | 744 | } |
672 | }, | 745 | }, |
673 | parametros: { | 746 | parametros: { |
@@ -985,7 +1058,7 @@ i3GEOF.metaestat = { | @@ -985,7 +1058,7 @@ i3GEOF.metaestat = { | ||
985 | return ins; | 1058 | return ins; |
986 | }, | 1059 | }, |
987 | comboClassificacoesMedidaVariavelOnchange: function(){ | 1060 | comboClassificacoesMedidaVariavelOnchange: function(){ |
988 | - | 1061 | + |
989 | } | 1062 | } |
990 | } | 1063 | } |
991 | }; | 1064 | }; |
992 | \ No newline at end of file | 1065 | \ No newline at end of file |