Commit 9504a00adc9537555f8f83444897375a65c20347
1 parent
5b2896c5
Exists in
master
and in
7 other branches
Correção na função identifica e complementação do manual de administração (inclu…
…são de restrição por grupo)
Showing
6 changed files
with
135 additions
and
156 deletions
Show diff stats
classesphp/classe_atributos.php
| @@ -41,46 +41,46 @@ class Atributos | @@ -41,46 +41,46 @@ class Atributos | ||
| 41 | { | 41 | { |
| 42 | /* | 42 | /* |
| 43 | Variavel: $mapa | 43 | Variavel: $mapa |
| 44 | - | 44 | + |
| 45 | Objeto mapa | 45 | Objeto mapa |
| 46 | */ | 46 | */ |
| 47 | public $mapa; | 47 | public $mapa; |
| 48 | /* | 48 | /* |
| 49 | Variavel: $arquivo | 49 | Variavel: $arquivo |
| 50 | - | 50 | + |
| 51 | Arquivo map file | 51 | Arquivo map file |
| 52 | */ | 52 | */ |
| 53 | protected $arquivo; | 53 | protected $arquivo; |
| 54 | /* | 54 | /* |
| 55 | Variavel: $layer | 55 | Variavel: $layer |
| 56 | - | 56 | + |
| 57 | Objeto layer | 57 | Objeto layer |
| 58 | */ | 58 | */ |
| 59 | protected $layer; | 59 | protected $layer; |
| 60 | /* | 60 | /* |
| 61 | Variavel: $nome | 61 | Variavel: $nome |
| 62 | - | 62 | + |
| 63 | Nome do layer | 63 | Nome do layer |
| 64 | */ | 64 | */ |
| 65 | protected $nome; | 65 | protected $nome; |
| 66 | /* | 66 | /* |
| 67 | Variavel: $qyfile | 67 | Variavel: $qyfile |
| 68 | - | 68 | + |
| 69 | Nome do arquivo de seleção (.qy) | 69 | Nome do arquivo de seleção (.qy) |
| 70 | */ | 70 | */ |
| 71 | public $qyfile; | 71 | public $qyfile; |
| 72 | /* | 72 | /* |
| 73 | Variavel: $projO | 73 | Variavel: $projO |
| 74 | - | 74 | + |
| 75 | Objeto projection original do mapa. Obtido apenas na interface Googlemaps | 75 | Objeto projection original do mapa. Obtido apenas na interface Googlemaps |
| 76 | */ | 76 | */ |
| 77 | public $projO; | 77 | public $projO; |
| 78 | /* | 78 | /* |
| 79 | Variavel: $v | 79 | Variavel: $v |
| 80 | - | 80 | + |
| 81 | Versão atual do Mapserver (primeiro dígito) | 81 | Versão atual do Mapserver (primeiro dígito) |
| 82 | */ | 82 | */ |
| 83 | - public $v; | 83 | + public $v; |
| 84 | /* | 84 | /* |
| 85 | Function: __construct | 85 | Function: __construct |
| 86 | 86 | ||
| @@ -126,15 +126,15 @@ $ext - (opcional) extensão geográfica que será aplicada ao | @@ -126,15 +126,15 @@ $ext - (opcional) extensão geográfica que será aplicada ao | ||
| 126 | if($this->mapa->getmetadata("interface") == "googlemaps"){ | 126 | if($this->mapa->getmetadata("interface") == "googlemaps"){ |
| 127 | $this->projO = $this->mapa->getProjection(); | 127 | $this->projO = $this->mapa->getProjection(); |
| 128 | $this->mapa->setProjection("init=epsg:4618,a=6378137,b=6378137"); | 128 | $this->mapa->setProjection("init=epsg:4618,a=6378137,b=6378137"); |
| 129 | - } | 129 | + } |
| 130 | } | 130 | } |
| 131 | } | 131 | } |
| 132 | /* | 132 | /* |
| 133 | function: salva | 133 | function: salva |
| 134 | 134 | ||
| 135 | Salva o mapfile atual | 135 | Salva o mapfile atual |
| 136 | - | ||
| 137 | -*/ | 136 | + |
| 137 | +*/ | ||
| 138 | function salva() | 138 | function salva() |
| 139 | { | 139 | { |
| 140 | if (connection_aborted()){exit();} | 140 | if (connection_aborted()){exit();} |
| @@ -171,7 +171,7 @@ xmin ymin xmax ymax separados por espaço. | @@ -171,7 +171,7 @@ xmin ymin xmax ymax separados por espaço. | ||
| 171 | $projInObj = ms_newprojectionobj($prjTema); | 171 | $projInObj = ms_newprojectionobj($prjTema); |
| 172 | $projOutObj = ms_newprojectionobj($prjMapa); | 172 | $projOutObj = ms_newprojectionobj($prjMapa); |
| 173 | $ret->project($projInObj, $projOutObj); | 173 | $ret->project($projInObj, $projOutObj); |
| 174 | - } | 174 | + } |
| 175 | } | 175 | } |
| 176 | $ext = $ret->minx." ".$ret->miny." ".$ret->maxx." ".$ret->maxy; | 176 | $ext = $ret->minx." ".$ret->miny." ".$ret->maxx." ".$ret->maxy; |
| 177 | if (($shape->type == MS_SHP_POINT) || ($shape->type == 0)) | 177 | if (($shape->type == MS_SHP_POINT) || ($shape->type == 0)) |
| @@ -207,7 +207,7 @@ $registro - Índice do registro que será consultado. | @@ -207,7 +207,7 @@ $registro - Índice do registro que será consultado. | ||
| 207 | if($this->v == 6){ | 207 | if($this->v == 6){ |
| 208 | $this->layer->open(); | 208 | $this->layer->open(); |
| 209 | $shape = $this->layer->getShape(new resultObj($registro)); | 209 | $shape = $this->layer->getShape(new resultObj($registro)); |
| 210 | - } | 210 | + } |
| 211 | else{ | 211 | else{ |
| 212 | if (@$this->layer->open() == MS_SUCCESS) | 212 | if (@$this->layer->open() == MS_SUCCESS) |
| 213 | { | 213 | { |
| @@ -218,7 +218,7 @@ $registro - Índice do registro que será consultado. | @@ -218,7 +218,7 @@ $registro - Índice do registro que será consultado. | ||
| 218 | $shape = $this->layer->getfeature($registro,-1); | 218 | $shape = $this->layer->getfeature($registro,-1); |
| 219 | $fechou = $this->layer->close(); | 219 | $fechou = $this->layer->close(); |
| 220 | } | 220 | } |
| 221 | - } | 221 | + } |
| 222 | } | 222 | } |
| 223 | $ext = $this->extensaoShape($shape); | 223 | $ext = $this->extensaoShape($shape); |
| 224 | return($ext); | 224 | return($ext); |
| @@ -274,7 +274,7 @@ $tipo - Tipo de busca brasil|null | @@ -274,7 +274,7 @@ $tipo - Tipo de busca brasil|null | ||
| 274 | $this->layer->setfilter(""); | 274 | $this->layer->setfilter(""); |
| 275 | //le o arquivo de query se existir e checa se existe seleção para o tema | 275 | //le o arquivo de query se existir e checa se existe seleção para o tema |
| 276 | $items = pegaItens($this->layer,$this->mapa); | 276 | $items = pegaItens($this->layer,$this->mapa); |
| 277 | - | 277 | + |
| 278 | $shapes = retornaShapesSelecionados($this->layer,$this->arquivo,$this->mapa); | 278 | $shapes = retornaShapesSelecionados($this->layer,$this->arquivo,$this->mapa); |
| 279 | if(count($shapes) == 0){ | 279 | if(count($shapes) == 0){ |
| 280 | $shapes = retornaShapesMapext($this->layer,$this->mapa); | 280 | $shapes = retornaShapesMapext($this->layer,$this->mapa); |
| @@ -348,12 +348,12 @@ $dadosDaClasse - sim|nao Indica se serão obtidos os dados que descrevem a | @@ -348,12 +348,12 @@ $dadosDaClasse - sim|nao Indica se serão obtidos os dados que descrevem a | ||
| 348 | if($this->layer->getmetadata("itensdesc") != ""){ | 348 | if($this->layer->getmetadata("itensdesc") != ""){ |
| 349 | $alias = array(); | 349 | $alias = array(); |
| 350 | $aliasdesc = explode(",",$this->layer->getmetadata("itensdesc")); | 350 | $aliasdesc = explode(",",$this->layer->getmetadata("itensdesc")); |
| 351 | - $aliasitens = explode(",",$this->layer->getmetadata("itens")); | 351 | + $aliasitens = explode(",",$this->layer->getmetadata("itens")); |
| 352 | $aliasc = array_combine($aliasitens,$aliasdesc); | 352 | $aliasc = array_combine($aliasitens,$aliasdesc); |
| 353 | if(strtoupper($this->layer->getmetadata("convcaracter")) == "NAO") | 353 | if(strtoupper($this->layer->getmetadata("convcaracter")) == "NAO") |
| 354 | {$convC = false;} | 354 | {$convC = false;} |
| 355 | else | 355 | else |
| 356 | - {$convC = true;} | 356 | + {$convC = true;} |
| 357 | foreach($items as $i){ | 357 | foreach($items as $i){ |
| 358 | if($aliasc[$i]){ | 358 | if($aliasc[$i]){ |
| 359 | if($convC) | 359 | if($convC) |
| @@ -377,14 +377,14 @@ $dadosDaClasse - sim|nao Indica se serão obtidos os dados que descrevem a | @@ -377,14 +377,14 @@ $dadosDaClasse - sim|nao Indica se serão obtidos os dados que descrevem a | ||
| 377 | if(strtoupper($this->layer->getmetadata("convcaracter")) == "NAO") | 377 | if(strtoupper($this->layer->getmetadata("convcaracter")) == "NAO") |
| 378 | {$convC = false;} | 378 | {$convC = false;} |
| 379 | else | 379 | else |
| 380 | - {$convC = true;} | 380 | + {$convC = true;} |
| 381 | if ($tipolista == "selecionados") | 381 | if ($tipolista == "selecionados") |
| 382 | { | 382 | { |
| 383 | $chk = "CHECKED"; | 383 | $chk = "CHECKED"; |
| 384 | if ($fim != "") | 384 | if ($fim != "") |
| 385 | { | 385 | { |
| 386 | if (($res_count >= $fim) && ($fim < $res_count)) | 386 | if (($res_count >= $fim) && ($fim < $res_count)) |
| 387 | - {$res_count = $fim;} | 387 | + {$res_count = $fim;} |
| 388 | } | 388 | } |
| 389 | for ($i = $inicio; $i < $res_count; ++$i) | 389 | for ($i = $inicio; $i < $res_count; ++$i) |
| 390 | { | 390 | { |
| @@ -408,7 +408,7 @@ $dadosDaClasse - sim|nao Indica se ser&atilde;o obtidos os dados que descrevem a | @@ -408,7 +408,7 @@ $dadosDaClasse - sim|nao Indica se ser&atilde;o obtidos os dados que descrevem a | ||
| 408 | } | 408 | } |
| 409 | $registros[] = array("indice"=>$indx,"valores"=>$valitem,"status"=>$chk,"classe"=>$classe); | 409 | $registros[] = array("indice"=>$indx,"valores"=>$valitem,"status"=>$chk,"classe"=>$classe); |
| 410 | } | 410 | } |
| 411 | - $resultadoFinal[] = array("registros"=>$registros); | 411 | + $resultadoFinal[] = array("registros"=>$registros); |
| 412 | } | 412 | } |
| 413 | if ($tipolista == "tudo") | 413 | if ($tipolista == "tudo") |
| 414 | { | 414 | { |
| @@ -425,7 +425,7 @@ $dadosDaClasse - sim|nao Indica se ser&atilde;o obtidos os dados que descrevem a | @@ -425,7 +425,7 @@ $dadosDaClasse - sim|nao Indica se ser&atilde;o obtidos os dados que descrevem a | ||
| 425 | if ($fim != "") | 425 | if ($fim != "") |
| 426 | { | 426 | { |
| 427 | if (($res_count >= $fim) && ($fim < $res_count)) | 427 | if (($res_count >= $fim) && ($fim < $res_count)) |
| 428 | - {$res_count = $fim;} | 428 | + {$res_count = $fim;} |
| 429 | } | 429 | } |
| 430 | $sopen = $this->layer->open(); | 430 | $sopen = $this->layer->open(); |
| 431 | if($sopen == MS_FAILURE){return "erro";} | 431 | if($sopen == MS_FAILURE){return "erro";} |
| @@ -439,10 +439,10 @@ $dadosDaClasse - sim|nao Indica se ser&atilde;o obtidos os dados que descrevem a | @@ -439,10 +439,10 @@ $dadosDaClasse - sim|nao Indica se ser&atilde;o obtidos os dados que descrevem a | ||
| 439 | else{ | 439 | else{ |
| 440 | $result = $this->layer->getResult($i); | 440 | $result = $this->layer->getResult($i); |
| 441 | $indx = $result->shapeindex; | 441 | $indx = $result->shapeindex; |
| 442 | - $shape = $this->layer->getfeature($indx,-1); | ||
| 443 | - } | 442 | + $shape = $this->layer->getfeature($indx,-1); |
| 443 | + } | ||
| 444 | foreach ($items as $item) | 444 | foreach ($items as $item) |
| 445 | - { | 445 | + { |
| 446 | $valori = ""; | 446 | $valori = ""; |
| 447 | if(@$shape->values[$item]) | 447 | if(@$shape->values[$item]) |
| 448 | { | 448 | { |
| @@ -528,7 +528,7 @@ $onde - Tipo de abrang&ecirc;ncia espacial (brasil ou mapa) | @@ -528,7 +528,7 @@ $onde - Tipo de abrang&ecirc;ncia espacial (brasil ou mapa) | ||
| 528 | if(strtoupper($l->getmetadata("convcaracter")) == "NAO") | 528 | if(strtoupper($l->getmetadata("convcaracter")) == "NAO") |
| 529 | {$convC = false;} | 529 | {$convC = false;} |
| 530 | else | 530 | else |
| 531 | - {$convC = true;} | 531 | + {$convC = true;} |
| 532 | $filtro = $l->getfilterstring(); | 532 | $filtro = $l->getfilterstring(); |
| 533 | if ($filtro != ""){$l->setfilter("");} | 533 | if ($filtro != ""){$l->setfilter("");} |
| 534 | $buscas = "ÁÃÓÕÔáàãâóòôõúûíéêç"; | 534 | $buscas = "ÁÃÓÕÔáàãâóòôõúûíéêç"; |
| @@ -649,7 +649,7 @@ $onde - Tipo de abrang&ecirc;ncia espacial (brasil ou mapa) | @@ -649,7 +649,7 @@ $onde - Tipo de abrang&ecirc;ncia espacial (brasil ou mapa) | ||
| 649 | $ret = $this->extensaoShape($shape,$l); | 649 | $ret = $this->extensaoShape($shape,$l); |
| 650 | if (($prjTema != "") && ($prjMapa != $prjTema)) | 650 | if (($prjTema != "") && ($prjMapa != $prjTema)) |
| 651 | {$ret->project($projInObj, $projOutObj);} | 651 | {$ret->project($projInObj, $projOutObj);} |
| 652 | - $novoreg["box"] = $ret; | 652 | + $novoreg["box"] = $ret; |
| 653 | $novoreg["valores"] = $r; | 653 | $novoreg["valores"] = $r; |
| 654 | $encontrado = "nao"; | 654 | $encontrado = "nao"; |
| 655 | $fr[] = $novoreg; | 655 | $fr[] = $novoreg; |
| @@ -687,7 +687,7 @@ Include: | @@ -687,7 +687,7 @@ Include: | ||
| 687 | $shapes = retornaShapesSelecionados($this->layer,$this->arquivo,$this->mapa); | 687 | $shapes = retornaShapesSelecionados($this->layer,$this->arquivo,$this->mapa); |
| 688 | if(count($shapes) == 0){ | 688 | if(count($shapes) == 0){ |
| 689 | $shapes = retornaShapesMapext($this->layer,$this->mapa); | 689 | $shapes = retornaShapesMapext($this->layer,$this->mapa); |
| 690 | - } | 690 | + } |
| 691 | //pega os valores | 691 | //pega os valores |
| 692 | foreach($shapes as $shape) | 692 | foreach($shapes as $shape) |
| 693 | { | 693 | { |
| @@ -715,7 +715,7 @@ Include: | @@ -715,7 +715,7 @@ Include: | ||
| 715 | //faz os calculos | 715 | //faz os calculos |
| 716 | if(file_exists($this->locaplic."/classe_estatistica.php")) | 716 | if(file_exists($this->locaplic."/classe_estatistica.php")) |
| 717 | include_once($this->locaplic."/classe_estatistica.php"); | 717 | include_once($this->locaplic."/classe_estatistica.php"); |
| 718 | - else | 718 | + else |
| 719 | include_once("classe_estatistica.php"); | 719 | include_once("classe_estatistica.php"); |
| 720 | $estat = new estatistica(); | 720 | $estat = new estatistica(); |
| 721 | $resultado = $estat->calcula($valoresn); | 721 | $resultado = $estat->calcula($valoresn); |
| @@ -873,34 +873,36 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -873,34 +873,36 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 873 | */ | 873 | */ |
| 874 | function identifica2($opcao,$xy,$resolucao,$ext="",$listaDeTemas="",$wkt="nao") | 874 | function identifica2($opcao,$xy,$resolucao,$ext="",$listaDeTemas="",$wkt="nao") |
| 875 | { | 875 | { |
| 876 | - if($listaDeTemas != "") | ||
| 877 | - { | ||
| 878 | - $listaDeTemas = str_replace(" ",",",$listaDeTemas); | ||
| 879 | - $temas = explode(",",$listaDeTemas); | ||
| 880 | - } | ||
| 881 | - else | ||
| 882 | - {$temas = $this->mapa->getalllayernames();} | ||
| 883 | - foreach ($temas as $tem) | ||
| 884 | - { | ||
| 885 | - $vermultilayer = new vermultilayer(); | ||
| 886 | - $vermultilayer->verifica($this->arquivo,$tem); | ||
| 887 | - if ($vermultilayer->resultado == 1) // o tema e multi layer | 876 | + if ($opcao != "tema"){ |
| 877 | + if($listaDeTemas != "") | ||
| 888 | { | 878 | { |
| 889 | - foreach (($vermultilayer->temasvisiveis) as $tv) | ||
| 890 | - { | ||
| 891 | - $l = $this->mapa->getlayerbyname($tv); | ||
| 892 | - if ($l->getmetadata("identifica") != "nao") | ||
| 893 | - {$listatemas[] = $tv;} | ||
| 894 | - } | 879 | + $listaDeTemas = str_replace(" ",",",$listaDeTemas); |
| 880 | + $temas = explode(",",$listaDeTemas); | ||
| 895 | } | 881 | } |
| 896 | else | 882 | else |
| 883 | + {$temas = $this->mapa->getalllayernames();} | ||
| 884 | + foreach ($temas as $tem) | ||
| 897 | { | 885 | { |
| 898 | - $l = $this->mapa->getlayerbyname($tem); | ||
| 899 | - if (($l->getmetadata("escondido") == "") && ($l->getmetadata("identifica") != "nao")) | ||
| 900 | - {$listatemas[] = $tem;} | 886 | + $vermultilayer = new vermultilayer(); |
| 887 | + $vermultilayer->verifica($this->arquivo,$tem); | ||
| 888 | + if ($vermultilayer->resultado == 1) // o tema e multi layer | ||
| 889 | + { | ||
| 890 | + foreach (($vermultilayer->temasvisiveis) as $tv) | ||
| 891 | + { | ||
| 892 | + $l = $this->mapa->getlayerbyname($tv); | ||
| 893 | + if ($l->getmetadata("identifica") != "nao") | ||
| 894 | + {$listatemas[] = $tv;} | ||
| 895 | + } | ||
| 896 | + } | ||
| 897 | + else | ||
| 898 | + { | ||
| 899 | + $l = $this->mapa->getlayerbyname($tem); | ||
| 900 | + if (($l->getmetadata("escondido") == "") && ($l->getmetadata("identifica") != "nao")) | ||
| 901 | + {$listatemas[] = $tem;} | ||
| 902 | + } | ||
| 901 | } | 903 | } |
| 904 | + $listatemas = array_unique($listatemas); | ||
| 902 | } | 905 | } |
| 903 | - $listatemas = array_unique($listatemas); | ||
| 904 | $xyarray = explode(",",$xy); | 906 | $xyarray = explode(",",$xy); |
| 905 | $resultados = array(); | 907 | $resultados = array(); |
| 906 | //pesquisa um tema | 908 | //pesquisa um tema |
| @@ -1086,7 +1088,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1086,7 +1088,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1086 | 1088 | ||
| 1087 | $item - Item único que será identificado. | 1089 | $item - Item único que será identificado. |
| 1088 | 1090 | ||
| 1089 | - $tiporetorno - Tipo de retorno dos dados. Se for vazio, o retorno é formatado como string, se for shape, retorna o objeto shape | 1091 | + $tiporetorno - Tipo de retorno dos dados. Se for vazio, o retorno é formatado como string, se for shape, retorna o objeto shape |
| 1090 | */ | 1092 | */ |
| 1091 | function identificaQBP($tema,$x,$y,$map_file,$resolucao,$item="",$tiporetorno="") | 1093 | function identificaQBP($tema,$x,$y,$map_file,$resolucao,$item="",$tiporetorno="") |
| 1092 | { | 1094 | { |
| @@ -1131,7 +1133,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1131,7 +1133,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1131 | if(strtoupper($f) == "TEXT/PLAIN") | 1133 | if(strtoupper($f) == "TEXT/PLAIN") |
| 1132 | {$formatoinfo = "text/plain";} | 1134 | {$formatoinfo = "text/plain";} |
| 1133 | } | 1135 | } |
| 1134 | - | 1136 | + |
| 1135 | } | 1137 | } |
| 1136 | $srs = $layer->getmetadata("wms_srs"); | 1138 | $srs = $layer->getmetadata("wms_srs"); |
| 1137 | $srss = explode(" ",$srs); | 1139 | $srss = explode(" ",$srs); |
| @@ -1160,7 +1162,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1160,7 +1162,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1160 | $resposta = str_ireplace(">","zzzzzzzzzz",$resposta); | 1162 | $resposta = str_ireplace(">","zzzzzzzzzz",$resposta); |
| 1161 | } | 1163 | } |
| 1162 | $resultado[] = $resposta; | 1164 | $resultado[] = $resposta; |
| 1163 | - return $resultado; | 1165 | + return $resultado; |
| 1164 | } | 1166 | } |
| 1165 | if(($layer->connectiontype != MS_WMS) && ($layer->type == MS_LAYER_RASTER)) | 1167 | if(($layer->connectiontype != MS_WMS) && ($layer->type == MS_LAYER_RASTER)) |
| 1166 | { | 1168 | { |
| @@ -1223,7 +1225,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1223,7 +1225,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1223 | { | 1225 | { |
| 1224 | $valori = array(); | 1226 | $valori = array(); |
| 1225 | $shape = $layer->getShape($layer->getResult($i)); | 1227 | $shape = $layer->getShape($layer->getResult($i)); |
| 1226 | - | 1228 | + |
| 1227 | if ($tiporetorno == "shape") | 1229 | if ($tiporetorno == "shape") |
| 1228 | { | 1230 | { |
| 1229 | $layer->close(); | 1231 | $layer->close(); |
| @@ -1321,7 +1323,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1321,7 +1323,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1321 | if(strtoupper($layer->getmetadata("convcaracter")) == "NAO") | 1323 | if(strtoupper($layer->getmetadata("convcaracter")) == "NAO") |
| 1322 | {$convC = false;} | 1324 | {$convC = false;} |
| 1323 | else | 1325 | else |
| 1324 | - {$convC = true;} | 1326 | + {$convC = true;} |
| 1325 | // | 1327 | // |
| 1326 | //operação especial para o caso de wms | 1328 | //operação especial para o caso de wms |
| 1327 | // | 1329 | // |
| @@ -1345,7 +1347,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1345,7 +1347,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1345 | { | 1347 | { |
| 1346 | if(strtoupper($f) == "TEXT/PLAIN") | 1348 | if(strtoupper($f) == "TEXT/PLAIN") |
| 1347 | {$formatoinfo = "text/plain";} | 1349 | {$formatoinfo = "text/plain";} |
| 1348 | - } | 1350 | + } |
| 1349 | } | 1351 | } |
| 1350 | else | 1352 | else |
| 1351 | { | 1353 | { |
| @@ -1359,7 +1361,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1359,7 +1361,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1359 | $res = str_replace("INFOFORMAT","INFO_FORMAT",$res); | 1361 | $res = str_replace("INFOFORMAT","INFO_FORMAT",$res); |
| 1360 | $res2 = $layer->getWMSFeatureInfoURL($ptimg->x, $ptimg->y, 1,"MIME"); | 1362 | $res2 = $layer->getWMSFeatureInfoURL($ptimg->x, $ptimg->y, 1,"MIME"); |
| 1361 | $res2 = str_replace("INFOFORMAT","INFO_FORMAT",$res2); | 1363 | $res2 = str_replace("INFOFORMAT","INFO_FORMAT",$res2); |
| 1362 | - | 1364 | + |
| 1363 | $resposta = file($res); | 1365 | $resposta = file($res); |
| 1364 | $n = array(); | 1366 | $n = array(); |
| 1365 | if(strtoupper($formatoinfo) == "TEXT/HTML") | 1367 | if(strtoupper($formatoinfo) == "TEXT/HTML") |
| @@ -1388,7 +1390,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1388,7 +1390,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1388 | $resposta = file($res); | 1390 | $resposta = file($res); |
| 1389 | $cabecalho = str_replace('" "','"|"',$resposta[0]); | 1391 | $cabecalho = str_replace('" "','"|"',$resposta[0]); |
| 1390 | $cabecalho = explode("|",$cabecalho); | 1392 | $cabecalho = explode("|",$cabecalho); |
| 1391 | - | 1393 | + |
| 1392 | $linha = str_replace('" "','"|"',$resposta[1]); | 1394 | $linha = str_replace('" "','"|"',$resposta[1]); |
| 1393 | $linha = explode("|",$linha); | 1395 | $linha = explode("|",$linha); |
| 1394 | for($i=0;$i < count($cabecalho);++$i) | 1396 | for($i=0;$i < count($cabecalho);++$i) |
| @@ -1417,22 +1419,22 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1417,22 +1419,22 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1417 | {$itens = $itensLayer;} | 1419 | {$itens = $itensLayer;} |
| 1418 | else | 1420 | else |
| 1419 | {$itens = explode(",",$itens);} | 1421 | {$itens = explode(",",$itens);} |
| 1420 | - | 1422 | + |
| 1421 | if($itensdesc == "") | 1423 | if($itensdesc == "") |
| 1422 | {$itensdesc = $itensLayer;}//array_fill(0, $nitens-1,'');} | 1424 | {$itensdesc = $itensLayer;}//array_fill(0, $nitens-1,'');} |
| 1423 | else | 1425 | else |
| 1424 | {$itensdesc = explode(",",$itensdesc);} | 1426 | {$itensdesc = explode(",",$itensdesc);} |
| 1425 | - | 1427 | + |
| 1426 | if($lks == "") | 1428 | if($lks == "") |
| 1427 | {$lks = array_fill(0, $nitens-1,'');} | 1429 | {$lks = array_fill(0, $nitens-1,'');} |
| 1428 | else | 1430 | else |
| 1429 | {$lks = explode(",",$lks);} | 1431 | {$lks = explode(",",$lks);} |
| 1430 | - | 1432 | + |
| 1431 | if($itemimg == "") | 1433 | if($itemimg == "") |
| 1432 | {$itemimg = array_fill(0, $nitens-1,'');} | 1434 | {$itemimg = array_fill(0, $nitens-1,'');} |
| 1433 | else | 1435 | else |
| 1434 | - {$itemimg = explode(",",$itemimg);} | ||
| 1435 | - | 1436 | + {$itemimg = explode(",",$itemimg);} |
| 1437 | + | ||
| 1436 | if($locimg == "") | 1438 | if($locimg == "") |
| 1437 | {$locimg = array_fill(0, $nitens-1,'');} | 1439 | {$locimg = array_fill(0, $nitens-1,'');} |
| 1438 | else | 1440 | else |
| @@ -1465,7 +1467,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1465,7 +1467,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1465 | $wkt = "nao"; | 1467 | $wkt = "nao"; |
| 1466 | $layer->set("toleranceunits",MS_PIXELS); | 1468 | $layer->set("toleranceunits",MS_PIXELS); |
| 1467 | $layer->set("tolerance",$resolucao); | 1469 | $layer->set("tolerance",$resolucao); |
| 1468 | - $ident = @$layer->queryByPoint($pt, 0, 0); //0.01); | 1470 | + $ident = @$layer->queryByPoint($pt, 0, 0); //0.01); |
| 1469 | } | 1471 | } |
| 1470 | if (($layer->type == MS_LAYER_POINT) || ($layer->type == MS_LAYER_LINE) || ($layer->type == MS_LAYER_CHART)) | 1472 | if (($layer->type == MS_LAYER_POINT) || ($layer->type == MS_LAYER_LINE) || ($layer->type == MS_LAYER_CHART)) |
| 1471 | { | 1473 | { |
| @@ -1487,7 +1489,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1487,7 +1489,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1487 | if(strtoupper($layer->getmetadata("convcaracter")) == "NAO") | 1489 | if(strtoupper($layer->getmetadata("convcaracter")) == "NAO") |
| 1488 | {$convC = false;} | 1490 | {$convC = false;} |
| 1489 | else | 1491 | else |
| 1490 | - {$convC = true;} | 1492 | + {$convC = true;} |
| 1491 | if($sopen == MS_FAILURE){return "erro";} | 1493 | if($sopen == MS_FAILURE){return "erro";} |
| 1492 | for ($i = 0; $i < $res_count; ++$i) | 1494 | for ($i = 0; $i < $res_count; ++$i) |
| 1493 | { | 1495 | { |
| @@ -1497,7 +1499,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1497,7 +1499,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1497 | else{ | 1499 | else{ |
| 1498 | $result = $layer->getResult($i); | 1500 | $result = $layer->getResult($i); |
| 1499 | $shp_index = $result->shapeindex; | 1501 | $shp_index = $result->shapeindex; |
| 1500 | - $shape = $layer->getfeature($shp_index,-1); | 1502 | + $shape = $layer->getfeature($shp_index,-1); |
| 1501 | } | 1503 | } |
| 1502 | $conta = 0; | 1504 | $conta = 0; |
| 1503 | //var_dump($itens);exit; | 1505 | //var_dump($itens);exit; |
| @@ -1537,7 +1539,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1537,7 +1539,7 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1537 | {$img = "<img src='".$locimg[$conta]."//".$shape->values[$itemimg[$conta]]."' //>";} | 1539 | {$img = "<img src='".$locimg[$conta]."//".$shape->values[$itemimg[$conta]]."' //>";} |
| 1538 | else | 1540 | else |
| 1539 | if($itemimg[$conta] != "") | 1541 | if($itemimg[$conta] != "") |
| 1540 | - {$img = "<img src='".$shape->values[$itemimg[$conta]]."' //>";} | 1542 | + {$img = "<img src='".$shape->values[$itemimg[$conta]]."' //>";} |
| 1541 | //indica se o item é tbm uma etiqueta | 1543 | //indica se o item é tbm uma etiqueta |
| 1542 | $etiqueta = "nao"; | 1544 | $etiqueta = "nao"; |
| 1543 | if(in_array($it,$tips)) | 1545 | if(in_array($it,$tips)) |
| @@ -1572,15 +1574,15 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | @@ -1572,15 +1574,15 @@ $wkt - (opcional) {boolean} inclui ou n&atilde;o o valor do wkt da geometria | ||
| 1572 | } | 1574 | } |
| 1573 | /* | 1575 | /* |
| 1574 | Function: converte | 1576 | Function: converte |
| 1575 | - | 1577 | + |
| 1576 | Converte uma string de ISO-8859-1 para UTF-8 | 1578 | Converte uma string de ISO-8859-1 para UTF-8 |
| 1577 | - | 1579 | + |
| 1578 | Parametro: | 1580 | Parametro: |
| 1579 | - | 1581 | + |
| 1580 | $texto - string que será convertida | 1582 | $texto - string que será convertida |
| 1581 | - | 1583 | + |
| 1582 | Return: | 1584 | Return: |
| 1583 | - | 1585 | + |
| 1584 | {string} | 1586 | {string} |
| 1585 | */ | 1587 | */ |
| 1586 | function converte($texto) | 1588 | function converte($texto) |
documentacao/manual-admin-i3geo-4_7-pt.odt
No preview for this file type
ogc.htm
| 1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> | 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html> | 2 | <html> |
| 3 | <head> | 3 | <head> |
| 4 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | 4 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| 5 | <title>WMS</title> | 5 | <title>WMS</title> |
| 6 | -<meta name="description" content="OGC"> | ||
| 7 | -<meta name="keywords" content="WMS OGC mapa sig gis webmapping geo geoprocessamento interativo meio ambiente MMA cartografia geografia"> | 6 | +<meta name="description" content="OGC"> |
| 7 | +<meta name="keywords" content="WMS OGC mapa sig gis webmapping geo geoprocessamento interativo meio ambiente MMA cartografia geografia"> | ||
| 8 | <meta name="robots" content="index,follow"> | 8 | <meta name="robots" content="index,follow"> |
| 9 | <script type="text/javascript" src="classesjs/i3geo.js"></script> | 9 | <script type="text/javascript" src="classesjs/i3geo.js"></script> |
| 10 | <style> | 10 | <style> |
| 11 | -P | 11 | +P |
| 12 | {padding-top:12px;COLOR: #2F4632;text-align: left;font-size: 12px;font-family: Verdana, Arial, Helvetica, sans-serif;} | 12 | {padding-top:12px;COLOR: #2F4632;text-align: left;font-size: 12px;font-family: Verdana, Arial, Helvetica, sans-serif;} |
| 13 | #arvoreTemas | 13 | #arvoreTemas |
| 14 | {width:280px;} | 14 | {width:280px;} |
| @@ -86,7 +86,7 @@ function ogc_endereco(tema) | @@ -86,7 +86,7 @@ function ogc_endereco(tema) | ||
| 86 | ins += "<p>"+servico | 86 | ins += "<p>"+servico |
| 87 | 87 | ||
| 88 | ins += "<p>Bookmark: <span id=bm ></span>" | 88 | ins += "<p>Bookmark: <span id=bm ></span>" |
| 89 | - ins += "<p><iframe src='http://www.facebook.com/plugins/like.php?href="+servico+"&layout=button_count&show_faces=false&width=100&action=like&colorscheme=light&height=21' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:100px; height:21px;' allowTransparency='true'></iframe>"; | 89 | + ins += "<p><iframe src='http://www.facebook.com/plugins/like.php?href="+servico+"&layout=button_count&show_faces=false&width=100&action=like&colorscheme=light&height=21' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:100px; height:21px;' allowTransparency='true'></iframe>"; |
| 90 | ins += "<p><a target=blank href='"+servico+"&SRS=EPSG:4618&WIDTH=500&HEIGHT=500&BBOX=-76.5125927,-39.3925675209,-29.5851853,9.49014852081&FORMAT=image/png&service=wms&version=1.1.0&request=getmap&layers="+tema+"' />testar</a>" | 90 | ins += "<p><a target=blank href='"+servico+"&SRS=EPSG:4618&WIDTH=500&HEIGHT=500&BBOX=-76.5125927,-39.3925675209,-29.5851853,9.49014852081&FORMAT=image/png&service=wms&version=1.1.0&request=getmap&layers="+tema+"' />testar</a>" |
| 91 | ins += "<p><a target=blank href='ogc.php?temas="+tema+"&format=application/openlayers&bbox=-76.5125927,-39.3925675209,-29.5851853,9.49014852081' />visualizar</a>" | 91 | ins += "<p><a target=blank href='ogc.php?temas="+tema+"&format=application/openlayers&bbox=-76.5125927,-39.3925675209,-29.5851853,9.49014852081' />visualizar</a>" |
| 92 | 92 |
pacotes/cswclient/csw.html
| 1 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html> | 2 | <html> |
| 3 | <head> | 3 | <head> |
| 4 | <title>Buscar metadados na INDE</title> | 4 | <title>Buscar metadados na INDE</title> |
| 5 | -<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> | 5 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| 6 | 6 | ||
| 7 | <link rel="stylesheet" type="text/css" href="lib/css/cswclient.css"/> | 7 | <link rel="stylesheet" type="text/css" href="lib/css/cswclient.css"/> |
| 8 | 8 | ||
| @@ -16,10 +16,10 @@ | @@ -16,10 +16,10 @@ | ||
| 16 | <div class="csw-main"> | 16 | <div class="csw-main"> |
| 17 | <div class="csw-content"> | 17 | <div class="csw-content"> |
| 18 | <div class="captioneddiv"> | 18 | <div class="captioneddiv"> |
| 19 | - <form name="theForm" method="POST" action="javascript:void(csw_client.getRecords())"> | 19 | + <form name="theForm" method="post" action="javascript:void(csw_client.getRecords())"> |
| 20 | <select name="queryable"> | 20 | <select name="queryable"> |
| 21 | <option value="anytext">Qualquer lugar</option> | 21 | <option value="anytext">Qualquer lugar</option> |
| 22 | - <option value="title">Título</option> | 22 | + <option value="title">Título</option> |
| 23 | <option value="subject">Descrição</option> | 23 | <option value="subject">Descrição</option> |
| 24 | </select> | 24 | </select> |
| 25 | <select name="operator"> | 25 | <select name="operator"> |
| @@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
| 28 | </select> | 28 | </select> |
| 29 | <input type="text" name="query" value="" size="24"/> | 29 | <input type="text" name="query" value="" size="24"/> |
| 30 | <p/> | 30 | <p/> |
| 31 | - Região (xmin ymin xmax ymax): <input disabled type="text" name="bbox" value="180 90 -180 -90" size="24"/> | 31 | + Região (xmin ymin xmax ymax): <input disabled type="text" name="bbox" value="180 90 -180 -90" size="24"/> |
| 32 | <p/> | 32 | <p/> |
| 33 | <span id="csw-hosts"></span> | 33 | <span id="csw-hosts"></span> |
| 34 | <select id="schema" name="schema"> | 34 | <select id="schema" name="schema"> |
| @@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
| 51 | <input type="button" value="pesquisar" onClick="javascript:void(csw_client.clearResposta());void(csw_client.getRecords())"/> | 51 | <input type="button" value="pesquisar" onClick="javascript:void(csw_client.clearResposta());void(csw_client.getRecords())"/> |
| 52 | </form> | 52 | </form> |
| 53 | </div> | 53 | </div> |
| 54 | - | 54 | + |
| 55 | <div id="results-container"> | 55 | <div id="results-container"> |
| 56 | <div class="csw-main2" id="results"> | 56 | <div class="csw-main2" id="results"> |
| 57 | <div class="csw-contents"> | 57 | <div class="csw-contents"> |
| @@ -59,12 +59,12 @@ | @@ -59,12 +59,12 @@ | ||
| 59 | </div> | 59 | </div> |
| 60 | </div> | 60 | </div> |
| 61 | </div> | 61 | </div> |
| 62 | - | 62 | + |
| 63 | </div> | 63 | </div> |
| 64 | </div><!-- main --> | 64 | </div><!-- main --> |
| 65 | - </div><!-- query-container --> | 65 | + </div><!-- query-container --> |
| 66 | <p/> | 66 | <p/> |
| 67 | - <!-- | 67 | + <!-- |
| 68 | <div id="popup"> | 68 | <div id="popup"> |
| 69 | <div class="close"> | 69 | <div class="close"> |
| 70 | <a href="javascript:void(csw_client.hideDiv(document.getElementById('popup')))">[close]</a> | 70 | <a href="javascript:void(csw_client.hideDiv(document.getElementById('popup')))">[close]</a> |
| @@ -74,18 +74,18 @@ | @@ -74,18 +74,18 @@ | ||
| 74 | <div id="metadata"></div> | 74 | <div id="metadata"></div> |
| 75 | </div> | 75 | </div> |
| 76 | </div> | 76 | </div> |
| 77 | - </div>popup --> | 77 | + </div>popup --> |
| 78 | <div id="overlay" style="visibility:hidden"></div> | 78 | <div id="overlay" style="visibility:hidden"></div> |
| 79 | <script type="text/javascript"> | 79 | <script type="text/javascript"> |
| 80 | //var cswhost = "http://geomatics.nlr.nl/excat/csw";//default host | 80 | //var cswhost = "http://geomatics.nlr.nl/excat/csw";//default host |
| 81 | - //var host = "http://myhost.nlr.nl/cswclient/"; // path to proxy directory if different from path to csw.html | 81 | + //var host = "http://myhost.nlr.nl/cswclient/"; // path to proxy directory if different from path to csw.html |
| 82 | //var csw_client = new CSWClient(cswhost, host); // if not using default settings | 82 | //var csw_client = new CSWClient(cswhost, host); // if not using default settings |
| 83 | - //var csw_client = new CSWClient("http://geonovum.nitg.tno.nl/geonetwork/srv/en/csw"); | 83 | + //var csw_client = new CSWClient("http://geonovum.nitg.tno.nl/geonetwork/srv/en/csw"); |
| 84 | var csw_client = new CSWClient("http://www.metadados.inde.gov.br/geonetwork/srv/br/csw"); | 84 | var csw_client = new CSWClient("http://www.metadados.inde.gov.br/geonetwork/srv/br/csw"); |
| 85 | //var csw_client = new CSWClient("http://localhost:8080/geonetwork/srv/en/csw"); | 85 | //var csw_client = new CSWClient("http://localhost:8080/geonetwork/srv/en/csw"); |
| 86 | csw_client.writeClient("csw-wrapper"); | 86 | csw_client.writeClient("csw-wrapper"); |
| 87 | //csw_client.useProxy(false); // default=true | 87 | //csw_client.useProxy(false); // default=true |
| 88 | </script> | 88 | </script> |
| 89 | - | 89 | + |
| 90 | </body> | 90 | </body> |
| 91 | </html> | 91 | </html> |
principal.htm
| 1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html> | 2 | <html> |
| 3 | <head> | 3 | <head> |
| 4 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | 4 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| @@ -28,13 +28,13 @@ body,td | @@ -28,13 +28,13 @@ body,td | ||
| 28 | <div style="width:700px;text-align:left;" > | 28 | <div style="width:700px;text-align:left;" > |
| 29 | <table style="padding:2px"> | 29 | <table style="padding:2px"> |
| 30 | <tr> | 30 | <tr> |
| 31 | - <td></td> | 31 | + <td></td> |
| 32 | <td> | 32 | <td> |
| 33 | <b>Documentação e sites relacionados</b> | 33 | <b>Documentação e sites relacionados</b> |
| 34 | </td> | 34 | </td> |
| 35 | </tr> | 35 | </tr> |
| 36 | <tr> | 36 | <tr> |
| 37 | - <td></td> | 37 | + <td></td> |
| 38 | <td> | 38 | <td> |
| 39 | <a href="guia_de_migracao.txt" target="_blank" > | 39 | <a href="guia_de_migracao.txt" target="_blank" > |
| 40 | Guia de migração para a versão mais recente (para desenvolvedores) | 40 | Guia de migração para a versão mais recente (para desenvolvedores) |
| @@ -42,7 +42,7 @@ body,td | @@ -42,7 +42,7 @@ body,td | ||
| 42 | </td> | 42 | </td> |
| 43 | </tr> | 43 | </tr> |
| 44 | <tr> | 44 | <tr> |
| 45 | - <td></td> | 45 | + <td></td> |
| 46 | <td> | 46 | <td> |
| 47 | <a href="documentacao" target="_blank" > | 47 | <a href="documentacao" target="_blank" > |
| 48 | Documentação dos códigos | 48 | Documentação dos códigos |
| @@ -51,7 +51,7 @@ body,td | @@ -51,7 +51,7 @@ body,td | ||
| 51 | </td> | 51 | </td> |
| 52 | </tr> | 52 | </tr> |
| 53 | <tr> | 53 | <tr> |
| 54 | - <td></td> | 54 | + <td></td> |
| 55 | <td> | 55 | <td> |
| 56 | <a href="http://pt.wikibooks.org/wiki/I3geo" target="_blank" > | 56 | <a href="http://pt.wikibooks.org/wiki/I3geo" target="_blank" > |
| 57 | Wikibook | 57 | Wikibook |
| @@ -59,7 +59,7 @@ body,td | @@ -59,7 +59,7 @@ body,td | ||
| 59 | </td> | 59 | </td> |
| 60 | </tr> | 60 | </tr> |
| 61 | <tr> | 61 | <tr> |
| 62 | - <td></td> | 62 | + <td></td> |
| 63 | <td> | 63 | <td> |
| 64 | <a href="http://www.softwarepublico.gov.br/spb/ver-comunidade?community_id=1444332" target="_blank" > | 64 | <a href="http://www.softwarepublico.gov.br/spb/ver-comunidade?community_id=1444332" target="_blank" > |
| 65 | Portal do software público brasileiro | 65 | Portal do software público brasileiro |
| @@ -68,7 +68,7 @@ body,td | @@ -68,7 +68,7 @@ body,td | ||
| 68 | </td> | 68 | </td> |
| 69 | </tr> | 69 | </tr> |
| 70 | <tr> | 70 | <tr> |
| 71 | - <td></td> | 71 | + <td></td> |
| 72 | <td> | 72 | <td> |
| 73 | <a href="http://www.ohloh.net/p/i3geo?ref=WidgetProjectThinBadge" target="_blank" > | 73 | <a href="http://www.ohloh.net/p/i3geo?ref=WidgetProjectThinBadge" target="_blank" > |
| 74 | Rede OHLOH | 74 | Rede OHLOH |
| @@ -77,13 +77,13 @@ body,td | @@ -77,13 +77,13 @@ body,td | ||
| 77 | </tr> | 77 | </tr> |
| 78 | 78 | ||
| 79 | <tr> | 79 | <tr> |
| 80 | - <td></td> | 80 | + <td></td> |
| 81 | <td> | 81 | <td> |
| 82 | <b>Aplicativos de administração</b> | 82 | <b>Aplicativos de administração</b> |
| 83 | </td> | 83 | </td> |
| 84 | </tr> | 84 | </tr> |
| 85 | <tr> | 85 | <tr> |
| 86 | - <td></td> | 86 | + <td></td> |
| 87 | <td> | 87 | <td> |
| 88 | <a href="admin" target="_blank" > | 88 | <a href="admin" target="_blank" > |
| 89 | Sistema de administração | 89 | Sistema de administração |
| @@ -92,7 +92,7 @@ body,td | @@ -92,7 +92,7 @@ body,td | ||
| 92 | </td> | 92 | </td> |
| 93 | </tr> | 93 | </tr> |
| 94 | <tr> | 94 | <tr> |
| 95 | - <td></td> | 95 | + <td></td> |
| 96 | <td> | 96 | <td> |
| 97 | <a href="testamapfile.php" target="_blank" > | 97 | <a href="testamapfile.php" target="_blank" > |
| 98 | Testa mapfile | 98 | Testa mapfile |
| @@ -101,7 +101,7 @@ body,td | @@ -101,7 +101,7 @@ body,td | ||
| 101 | </td> | 101 | </td> |
| 102 | </tr> | 102 | </tr> |
| 103 | <tr> | 103 | <tr> |
| 104 | - <td></td> | 104 | + <td></td> |
| 105 | <td> | 105 | <td> |
| 106 | <a href="testainstal.php" target="_blank" > | 106 | <a href="testainstal.php" target="_blank" > |
| 107 | Testa instalação do i3geo | 107 | Testa instalação do i3geo |
| @@ -110,23 +110,23 @@ body,td | @@ -110,23 +110,23 @@ body,td | ||
| 110 | </td> | 110 | </td> |
| 111 | </tr> | 111 | </tr> |
| 112 | <tr> | 112 | <tr> |
| 113 | - <td></td> | 113 | + <td></td> |
| 114 | <td> | 114 | <td> |
| 115 | <a href="geraminiatura.php" target="_blank" > | 115 | <a href="geraminiatura.php" target="_blank" > |
| 116 | Gerador de miniaturas | 116 | Gerador de miniaturas |
| 117 | </a> | 117 | </a> |
| 118 | - Aplicativo para geração de imagens em miniatura para "preview" de cada tema existente em i3geo/temas. esse programa deve ser utilizado apenas pelos administradores do i3geo. | 118 | + Aplicativo para geração de imagens em miniatura para "preview" de cada tema existente em i3geo/temas. esse programa deve ser utilizado apenas pelos administradores do i3geo. |
| 119 | </td> | 119 | </td> |
| 120 | </tr> | 120 | </tr> |
| 121 | 121 | ||
| 122 | <tr> | 122 | <tr> |
| 123 | - <td></td> | 123 | + <td></td> |
| 124 | <td> | 124 | <td> |
| 125 | <b>Interfaces de inicialização</b> | 125 | <b>Interfaces de inicialização</b> |
| 126 | </td> | 126 | </td> |
| 127 | </tr> | 127 | </tr> |
| 128 | <tr> | 128 | <tr> |
| 129 | - <td></td> | 129 | + <td></td> |
| 130 | <td> | 130 | <td> |
| 131 | <a href="mashups/index.html" target="_blank" > | 131 | <a href="mashups/index.html" target="_blank" > |
| 132 | Mashups | 132 | Mashups |
| @@ -134,7 +134,7 @@ body,td | @@ -134,7 +134,7 @@ body,td | ||
| 134 | </td> | 134 | </td> |
| 135 | </tr> | 135 | </tr> |
| 136 | <tr> | 136 | <tr> |
| 137 | - <td></td> | 137 | + <td></td> |
| 138 | <td> | 138 | <td> |
| 139 | <a href="ms_criamapa.php" target="_blank" > | 139 | <a href="ms_criamapa.php" target="_blank" > |
| 140 | Inicialização normal do i3geo | 140 | Inicialização normal do i3geo |
| @@ -142,7 +142,7 @@ body,td | @@ -142,7 +142,7 @@ body,td | ||
| 142 | </td> | 142 | </td> |
| 143 | </tr> | 143 | </tr> |
| 144 | <tr> | 144 | <tr> |
| 145 | - <td></td> | 145 | + <td></td> |
| 146 | <td> | 146 | <td> |
| 147 | <a href="atlas" target="_blank" > | 147 | <a href="atlas" target="_blank" > |
| 148 | Atlas | 148 | Atlas |
| @@ -151,7 +151,7 @@ body,td | @@ -151,7 +151,7 @@ body,td | ||
| 151 | </td> | 151 | </td> |
| 152 | </tr> | 152 | </tr> |
| 153 | <tr> | 153 | <tr> |
| 154 | - <td></td> | 154 | + <td></td> |
| 155 | <td> | 155 | <td> |
| 156 | <a href="ms_criamapa.php?interface=zerocalol.htm" target="_blank" > | 156 | <a href="ms_criamapa.php?interface=zerocalol.htm" target="_blank" > |
| 157 | Versão com menos recursos | 157 | Versão com menos recursos |
| @@ -160,7 +160,7 @@ body,td | @@ -160,7 +160,7 @@ body,td | ||
| 160 | </td> | 160 | </td> |
| 161 | </tr> | 161 | </tr> |
| 162 | <tr> | 162 | <tr> |
| 163 | - <td></td> | 163 | + <td></td> |
| 164 | <td> | 164 | <td> |
| 165 | <a href="ms_criamapa.php?interface=openlayers.htm" target="_blank" > | 165 | <a href="ms_criamapa.php?interface=openlayers.htm" target="_blank" > |
| 166 | Versão com o uso do software Openlayers | 166 | Versão com o uso do software Openlayers |
| @@ -169,7 +169,7 @@ body,td | @@ -169,7 +169,7 @@ body,td | ||
| 169 | </td> | 169 | </td> |
| 170 | </tr> | 170 | </tr> |
| 171 | <tr> | 171 | <tr> |
| 172 | - <td></td> | 172 | + <td></td> |
| 173 | <td> | 173 | <td> |
| 174 | <a href="interface/openlayers_t.htm" target="_blank" > | 174 | <a href="interface/openlayers_t.htm" target="_blank" > |
| 175 | Versão com o uso do software Openlayers para tablets | 175 | Versão com o uso do software Openlayers para tablets |
| @@ -178,7 +178,7 @@ body,td | @@ -178,7 +178,7 @@ body,td | ||
| 178 | </td> | 178 | </td> |
| 179 | </tr> | 179 | </tr> |
| 180 | <tr> | 180 | <tr> |
| 181 | - <td></td> | 181 | + <td></td> |
| 182 | <td> | 182 | <td> |
| 183 | <a href="ms_criamapa.php?interface=googlemaps.phtml" target="_blank" > | 183 | <a href="ms_criamapa.php?interface=googlemaps.phtml" target="_blank" > |
| 184 | Versão com o uso do software Google Maps | 184 | Versão com o uso do software Google Maps |
| @@ -187,7 +187,7 @@ body,td | @@ -187,7 +187,7 @@ body,td | ||
| 187 | </td> | 187 | </td> |
| 188 | </tr> | 188 | </tr> |
| 189 | <tr> | 189 | <tr> |
| 190 | - <td></td> | 190 | + <td></td> |
| 191 | <td> | 191 | <td> |
| 192 | <a href="ms_criamapa.php?interface=googleearth.phtml" target="_blank" > | 192 | <a href="ms_criamapa.php?interface=googleearth.phtml" target="_blank" > |
| 193 | Versão com o uso do software Google Earth (precisa de plugin) | 193 | Versão com o uso do software Google Earth (precisa de plugin) |
| @@ -196,7 +196,7 @@ body,td | @@ -196,7 +196,7 @@ body,td | ||
| 196 | </td> | 196 | </td> |
| 197 | </tr> | 197 | </tr> |
| 198 | <tr> | 198 | <tr> |
| 199 | - <td></td> | 199 | + <td></td> |
| 200 | <td> | 200 | <td> |
| 201 | <a href="mobile" target="_blank" > | 201 | <a href="mobile" target="_blank" > |
| 202 | Versão simplificada para dispositivos móveis | 202 | Versão simplificada para dispositivos móveis |
| @@ -205,13 +205,13 @@ body,td | @@ -205,13 +205,13 @@ body,td | ||
| 205 | </td> | 205 | </td> |
| 206 | </tr> | 206 | </tr> |
| 207 | <tr> | 207 | <tr> |
| 208 | - <td></td> | 208 | + <td></td> |
| 209 | <td> | 209 | <td> |
| 210 | <b>Aplicativos</b> | 210 | <b>Aplicativos</b> |
| 211 | </td> | 211 | </td> |
| 212 | </tr> | 212 | </tr> |
| 213 | <tr> | 213 | <tr> |
| 214 | - <td></td> | 214 | + <td></td> |
| 215 | <td> | 215 | <td> |
| 216 | <a href="pacotes/gvsig/gvsig2mapfile/upload.htm" target="_blank" > | 216 | <a href="pacotes/gvsig/gvsig2mapfile/upload.htm" target="_blank" > |
| 217 | gvsig2mapfile | 217 | gvsig2mapfile |
| @@ -220,7 +220,7 @@ body,td | @@ -220,7 +220,7 @@ body,td | ||
| 220 | </td> | 220 | </td> |
| 221 | </tr> | 221 | </tr> |
| 222 | <tr> | 222 | <tr> |
| 223 | - <td></td> | 223 | + <td></td> |
| 224 | <td> | 224 | <td> |
| 225 | <a href="twitter2geo.php" target="_blank" > | 225 | <a href="twitter2geo.php" target="_blank" > |
| 226 | Twitter2geo | 226 | Twitter2geo |
| @@ -229,7 +229,7 @@ body,td | @@ -229,7 +229,7 @@ body,td | ||
| 229 | </td> | 229 | </td> |
| 230 | </tr> | 230 | </tr> |
| 231 | <tr> | 231 | <tr> |
| 232 | - <td></td> | 232 | + <td></td> |
| 233 | <td> | 233 | <td> |
| 234 | <a href="pacotes/arvorehiper/index.php" target="_blank" > | 234 | <a href="pacotes/arvorehiper/index.php" target="_blank" > |
| 235 | Árvore hiperbólica | 235 | Árvore hiperbólica |
| @@ -238,7 +238,7 @@ body,td | @@ -238,7 +238,7 @@ body,td | ||
| 238 | </td> | 238 | </td> |
| 239 | </tr> | 239 | </tr> |
| 240 | <tr> | 240 | <tr> |
| 241 | - <td></td> | 241 | + <td></td> |
| 242 | <td> | 242 | <td> |
| 243 | <a href="datadownload.htm" target="_blank" > | 243 | <a href="datadownload.htm" target="_blank" > |
| 244 | Aplicativo para download de dados | 244 | Aplicativo para download de dados |
| @@ -247,7 +247,7 @@ body,td | @@ -247,7 +247,7 @@ body,td | ||
| 247 | </td> | 247 | </td> |
| 248 | </tr> | 248 | </tr> |
| 249 | <tr> | 249 | <tr> |
| 250 | - <td></td> | 250 | + <td></td> |
| 251 | <td> | 251 | <td> |
| 252 | <a href="wscliente.htm" target="_blank" > | 252 | <a href="wscliente.htm" target="_blank" > |
| 253 | Aplicativo para consulta a web services nos padrões OGC | 253 | Aplicativo para consulta a web services nos padrões OGC |
| @@ -256,7 +256,7 @@ body,td | @@ -256,7 +256,7 @@ body,td | ||
| 256 | </td> | 256 | </td> |
| 257 | </tr> | 257 | </tr> |
| 258 | <tr> | 258 | <tr> |
| 259 | - <td></td> | 259 | + <td></td> |
| 260 | <td> | 260 | <td> |
| 261 | <a href="geradordelinks.htm" target="_blank" > | 261 | <a href="geradordelinks.htm" target="_blank" > |
| 262 | Gerador de links | 262 | Gerador de links |
| @@ -266,7 +266,7 @@ body,td | @@ -266,7 +266,7 @@ body,td | ||
| 266 | </tr> | 266 | </tr> |
| 267 | 267 | ||
| 268 | <tr> | 268 | <tr> |
| 269 | - <td></td> | 269 | + <td></td> |
| 270 | <td> | 270 | <td> |
| 271 | <a href="ogc.htm" target="_blank" > | 271 | <a href="ogc.htm" target="_blank" > |
| 272 | Gerador de endereços de web services | 272 | Gerador de endereços de web services |
| @@ -275,7 +275,7 @@ body,td | @@ -275,7 +275,7 @@ body,td | ||
| 275 | </td> | 275 | </td> |
| 276 | </tr> | 276 | </tr> |
| 277 | <tr> | 277 | <tr> |
| 278 | - <td></td> | 278 | + <td></td> |
| 279 | <td> | 279 | <td> |
| 280 | <a href="ogc.php?ajuda=" target="_blank" > | 280 | <a href="ogc.php?ajuda=" target="_blank" > |
| 281 | Gerador web services | 281 | Gerador web services |
| @@ -284,7 +284,7 @@ body,td | @@ -284,7 +284,7 @@ body,td | ||
| 284 | </td> | 284 | </td> |
| 285 | </tr> | 285 | </tr> |
| 286 | <tr> | 286 | <tr> |
| 287 | - <td></td> | 287 | + <td></td> |
| 288 | <td> | 288 | <td> |
| 289 | <a href="ogc.php?lista=temas" target="_blank" > | 289 | <a href="ogc.php?lista=temas" target="_blank" > |
| 290 | Listagem compacta dos Web Services | 290 | Listagem compacta dos Web Services |
| @@ -293,7 +293,7 @@ body,td | @@ -293,7 +293,7 @@ body,td | ||
| 293 | </td> | 293 | </td> |
| 294 | </tr> | 294 | </tr> |
| 295 | <tr> | 295 | <tr> |
| 296 | - <td></td> | 296 | + <td></td> |
| 297 | <td> | 297 | <td> |
| 298 | <a href="kml.php" target="_blank" > | 298 | <a href="kml.php" target="_blank" > |
| 299 | Gerador kml | 299 | Gerador kml |
| @@ -303,13 +303,13 @@ body,td | @@ -303,13 +303,13 @@ body,td | ||
| 303 | </tr> | 303 | </tr> |
| 304 | 304 | ||
| 305 | <tr> | 305 | <tr> |
| 306 | - <td></td> | 306 | + <td></td> |
| 307 | <td> | 307 | <td> |
| 308 | <b>RSS</b> | 308 | <b>RSS</b> |
| 309 | </td> | 309 | </td> |
| 310 | </tr> | 310 | </tr> |
| 311 | <tr> | 311 | <tr> |
| 312 | - <td></td> | 312 | + <td></td> |
| 313 | <td> | 313 | <td> |
| 314 | <a href="admin/xmlservicoswms.php" target="_blank" > | 314 | <a href="admin/xmlservicoswms.php" target="_blank" > |
| 315 | RSS com a lista de WMS cadastrados | 315 | RSS com a lista de WMS cadastrados |
| @@ -317,7 +317,7 @@ body,td | @@ -317,7 +317,7 @@ body,td | ||
| 317 | </td> | 317 | </td> |
| 318 | </tr> | 318 | </tr> |
| 319 | <tr> | 319 | <tr> |
| 320 | - <td></td> | 320 | + <td></td> |
| 321 | <td> | 321 | <td> |
| 322 | <a href="admin/xmlkmlrss.php" target="_blank" > | 322 | <a href="admin/xmlkmlrss.php" target="_blank" > |
| 323 | RSS com a lista de KML cadastrados | 323 | RSS com a lista de KML cadastrados |
| @@ -325,7 +325,7 @@ body,td | @@ -325,7 +325,7 @@ body,td | ||
| 325 | </td> | 325 | </td> |
| 326 | </tr> | 326 | </tr> |
| 327 | <tr> | 327 | <tr> |
| 328 | - <td></td> | 328 | + <td></td> |
| 329 | <td> | 329 | <td> |
| 330 | <a href="admin/rsstemasdownload.php" target="_blank" > | 330 | <a href="admin/rsstemasdownload.php" target="_blank" > |
| 331 | RSS com a lista de dados disponíveis para download | 331 | RSS com a lista de dados disponíveis para download |
| @@ -334,7 +334,7 @@ body,td | @@ -334,7 +334,7 @@ body,td | ||
| 334 | </td> | 334 | </td> |
| 335 | </tr> | 335 | </tr> |
| 336 | <tr> | 336 | <tr> |
| 337 | - <td></td> | 337 | + <td></td> |
| 338 | <td> | 338 | <td> |
| 339 | <a href="admin/rsstemaskml.php" target="_blank" > | 339 | <a href="admin/rsstemaskml.php" target="_blank" > |
| 340 | RSS com a lista de dados disponíveis em kml | 340 | RSS com a lista de dados disponíveis em kml |
| @@ -343,7 +343,7 @@ body,td | @@ -343,7 +343,7 @@ body,td | ||
| 343 | </td> | 343 | </td> |
| 344 | </tr> | 344 | </tr> |
| 345 | <tr> | 345 | <tr> |
| 346 | - <td></td> | 346 | + <td></td> |
| 347 | <td> | 347 | <td> |
| 348 | <a href="admin/rsstemasogc.php" target="_blank" > | 348 | <a href="admin/rsstemasogc.php" target="_blank" > |
| 349 | RSS com a lista de dados disponíveis em WMS | 349 | RSS com a lista de dados disponíveis em WMS |
| @@ -352,7 +352,7 @@ body,td | @@ -352,7 +352,7 @@ body,td | ||
| 352 | </td> | 352 | </td> |
| 353 | </tr> | 353 | </tr> |
| 354 | <tr> | 354 | <tr> |
| 355 | - <td></td> | 355 | + <td></td> |
| 356 | <td> | 356 | <td> |
| 357 | <a href="admin/rssgrupos.php" target="_blank" >Grupos </a> | 357 | <a href="admin/rssgrupos.php" target="_blank" >Grupos </a> |
| 358 | <a href="admin/rsssubgrupos.php" target="_blank" >Sub-grupos </a> | 358 | <a href="admin/rsssubgrupos.php" target="_blank" >Sub-grupos </a> |
| @@ -364,7 +364,7 @@ body,td | @@ -364,7 +364,7 @@ body,td | ||
| 364 | <div id=gadgets ></div> | 364 | <div id=gadgets ></div> |
| 365 | <table> | 365 | <table> |
| 366 | <tr> | 366 | <tr> |
| 367 | - <td></td> | 367 | + <td></td> |
| 368 | <td> | 368 | <td> |
| 369 | <b>Bilbiotecas:</b> | 369 | <b>Bilbiotecas:</b> |
| 370 | </td> | 370 | </td> |
| @@ -401,7 +401,7 @@ http://localhost/i3geo/principal.htm | @@ -401,7 +401,7 @@ http://localhost/i3geo/principal.htm | ||
| 401 | 401 | ||
| 402 | File: principal.htm | 402 | File: principal.htm |
| 403 | */ | 403 | */ |
| 404 | -//carrega a lista de gadgets registrados em | 404 | +//carrega a lista de gadgets registrados em |
| 405 | var ins = "<table><tr><td></td><td><b>Gadgets</b> (ferramentas do i3geo que também podem ser usadas de forma independente):</td></tr>" | 405 | var ins = "<table><tr><td></td><td><b>Gadgets</b> (ferramentas do i3geo que também podem ser usadas de forma independente):</td></tr>" |
| 406 | var obj = g_traducao_ajuda.ferramentas | 406 | var obj = g_traducao_ajuda.ferramentas |
| 407 | for(var k in obj){ | 407 | for(var k in obj){ |
temas/teste.map
| @@ -1,23 +0,0 @@ | @@ -1,23 +0,0 @@ | ||
| 1 | -MAP | ||
| 2 | - | ||
| 3 | - | ||
| 4 | -SYMBOLSET ../symbols/simbolos.sym | ||
| 5 | -FONTSET "../symbols/fontes.txt" | ||
| 6 | -LAYER | ||
| 7 | - NAME "teste" | ||
| 8 | - TYPE POINT | ||
| 9 | - STATUS DEFAULT | ||
| 10 | - CONNECTIONTYPE OGR | ||
| 11 | - CONNECTION "/var/www/i3geo/aplicmap/dados/teste.kml" | ||
| 12 | - DATA "Trovit" | ||
| 13 | - CLASS | ||
| 14 | - NAME "Meus lugares" | ||
| 15 | - STYLE | ||
| 16 | - COLOR 250 0 0 | ||
| 17 | - OUTLINECOLOR 255 255 255 | ||
| 18 | - SYMBOL 'ponto' | ||
| 19 | - SIZE 6 | ||
| 20 | - END | ||
| 21 | - END | ||
| 22 | -END | ||
| 23 | -END |