Commit 51618b02acb6f4ad4e2c29f37b061bc0f6421fc2

Authored by Edmar Moretti
1 parent 2c3a6d40
Exists in master

remocão de arquivos desnecessarios

ferramentas/congelamapa/openlayers.php
... ... @@ -95,4 +95,4 @@ for(i=0;i<ncontroles;i++){
95 95 mapa.addControl(controles[i]);
96 96 }
97 97 </script>
98 98 -</body>
  99 +</body>
99 100 \ No newline at end of file
... ...
ferramentas/congelamapa/openlayers3.php
... ... @@ -83,4 +83,4 @@ var v = mapa.getView();
83 83 v.fit([<?php echo $mapext; ?>], mapa.getSize());
84 84  
85 85 </script>
86 86 -</body>
  87 +</body>
87 88 \ No newline at end of file
... ...
ferramentas/melhorcaminho/exec.php
... ... @@ -10,7 +10,7 @@ switch (strtoupper($funcao))
10 10 $mapa = ms_newMapObj($map_file);
11 11 $layer = $mapa->getlayerbyname($tema);
12 12 $shapes = retornaShapesSelecionados($layer,$map_file,$mapa);
13   -
  13 +
14 14 if(count($shapes) == 0){
15 15 $shapes = retornaShapesMapext($layer,$mapa);
16 16 }
... ... @@ -26,13 +26,13 @@ switch (strtoupper($funcao))
26 26 $objLine = $shapes[0]->line(0);
27 27 $pontoA = $objLine->point(0);
28 28 $pontoB = $objLine->point($objLine->numpoints - 1);
29   - }
  29 + }
30 30 //quando poligono 2
31 31 if($layer->type == 2){
32 32 $objLine = $shapes[0]->line(0);
33 33 $pontoA = $objLine->point(0);
34 34 $pontoB = $shapes[0]->getCentroid();
35   - }
  35 + }
36 36 $retorno = array(
37 37 "ax"=>$pontoA->x,
38 38 "ay"=>$pontoA->y,
... ... @@ -125,7 +125,7 @@ switch (strtoupper($funcao))
125 125 "stop_coord" => "[$ptb]"
126 126 )
127 127 );
128   - $processos[] = $shp;
  128 + $processos[] = $shp;
129 129 }
130 130 //monta o array que sera utilizado para gerar o arquivo yaml que sera o input do programa python que faz o calculo
131 131 $a = array(
... ... @@ -238,4 +238,4 @@ if (!connection_aborted()){
238 238 else{
239 239 exit();
240 240 }
241   -?>
  241 +?>
242 242 \ No newline at end of file
... ...
init/remover.php
... ... @@ -12,6 +12,7 @@ Remove a tela inicial de apresenta&amp;ccedil;&amp;atilde;o do i3Geo substituindo-a pela
12 12 Ap&oacute;s remover, a tela inicial pode ser vista utilizando-se o endere&ccedil;o i3geo/init. Para definir qual a interface que
13 13 ser&aacute; utilizada como default ao abrir o i3Geo edite o arquivo i3geo/ms_configura.php.<br><br>
14 14 <?php
  15 +exit;
15 16 $locaplic = dirname(__FILE__)."/..";
16 17 include_once(dirname(__FILE__)."/../admin/php/admin.php");
17 18 include_once(dirname(__FILE__)."/../admin/php/conexao.php");
... ... @@ -36,8 +37,8 @@ if(file_exists(&quot;../index.htm&quot;) || file_exists(&quot;../index.html&quot;)){
36 37 }
37 38 copy("_index.htm","../index.htm");
38 39 copy("_index.html","../index.html");
39   -chmod("../index.htm",0774);
40   -chmod("../index.html",0774);
  40 +chmod("../index.htm",0777);
  41 +chmod("../index.html",0777);
41 42 echo "<br><b>OK. Removido. Voce pode utilizar o init digitando i3geo/init no navegador";
42 43 ?>
43 44 </div>
... ...