From 51618b02acb6f4ad4e2c29f37b061bc0f6421fc2 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 4 Aug 2016 14:45:18 -0300 Subject: [PATCH] remocão de arquivos desnecessarios --- ferramentas/congelamapa/openlayers.php | 2 +- ferramentas/congelamapa/openlayers3.php | 2 +- ferramentas/melhorcaminho/exec.php | 10 +++++----- init/remover.php | 5 +++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ferramentas/congelamapa/openlayers.php b/ferramentas/congelamapa/openlayers.php index 5a4a1e7..95e4017 100755 --- a/ferramentas/congelamapa/openlayers.php +++ b/ferramentas/congelamapa/openlayers.php @@ -95,4 +95,4 @@ for(i=0;i - + \ No newline at end of file diff --git a/ferramentas/congelamapa/openlayers3.php b/ferramentas/congelamapa/openlayers3.php index ea1183b..2a6b313 100755 --- a/ferramentas/congelamapa/openlayers3.php +++ b/ferramentas/congelamapa/openlayers3.php @@ -83,4 +83,4 @@ var v = mapa.getView(); v.fit([], mapa.getSize()); - + \ No newline at end of file diff --git a/ferramentas/melhorcaminho/exec.php b/ferramentas/melhorcaminho/exec.php index 57cd4fc..945034f 100755 --- a/ferramentas/melhorcaminho/exec.php +++ b/ferramentas/melhorcaminho/exec.php @@ -10,7 +10,7 @@ switch (strtoupper($funcao)) $mapa = ms_newMapObj($map_file); $layer = $mapa->getlayerbyname($tema); $shapes = retornaShapesSelecionados($layer,$map_file,$mapa); - + if(count($shapes) == 0){ $shapes = retornaShapesMapext($layer,$mapa); } @@ -26,13 +26,13 @@ switch (strtoupper($funcao)) $objLine = $shapes[0]->line(0); $pontoA = $objLine->point(0); $pontoB = $objLine->point($objLine->numpoints - 1); - } + } //quando poligono 2 if($layer->type == 2){ $objLine = $shapes[0]->line(0); $pontoA = $objLine->point(0); $pontoB = $shapes[0]->getCentroid(); - } + } $retorno = array( "ax"=>$pontoA->x, "ay"=>$pontoA->y, @@ -125,7 +125,7 @@ switch (strtoupper($funcao)) "stop_coord" => "[$ptb]" ) ); - $processos[] = $shp; + $processos[] = $shp; } //monta o array que sera utilizado para gerar o arquivo yaml que sera o input do programa python que faz o calculo $a = array( @@ -238,4 +238,4 @@ if (!connection_aborted()){ else{ exit(); } -?> +?> \ No newline at end of file diff --git a/init/remover.php b/init/remover.php index 122d35b..24b57be 100755 --- a/init/remover.php +++ b/init/remover.php @@ -12,6 +12,7 @@ Remove a tela inicial de apresentação do i3Geo substituindo-a pela Após remover, a tela inicial pode ser vista utilizando-se o endereço i3geo/init. Para definir qual a interface que será utilizada como default ao abrir o i3Geo edite o arquivo i3geo/ms_configura.php.

OK. Removido. Voce pode utilizar o init digitando i3geo/init no navegador"; ?> -- libgit2 0.21.2