Commit 91f5b27853521bcde3c626182c3cd2911251c57e

Authored by Edmar Moretti
1 parent 921fd0fa

-

classesphp/classe_mapa.php
... ... @@ -2057,8 +2057,7 @@ class Mapa
2057 2057 else
2058 2058 {$shape = $s->getshape(0);}
2059 2059 */
2060   - //$shape = $s->getshape(0);
2061   - $shape = $s->getshape(new resultObj(0));
  2060 + $shape = $s->getshape(0);
2062 2061 $t = $shape->type;
2063 2062 $tipo = MS_LAYER_POLYGON;
2064 2063 if ($t == 0)
... ...
ferramentas/melhorcaminho/exec.php
... ... @@ -101,7 +101,7 @@ switch (strtoupper($funcao))
101 101 $cor = $estilo->color;
102 102 $cor->setRGB(255,0,0);
103 103 }
104   - if(file_exists($pathresult."/".$prefixo."_xxxcartesian_straight_line_cost.shp")){
  104 + if(file_exists($pathresult."/".$prefixo."_cartesian_straight_line_cost.shp")){
105 105 //cartesian_straight_line_cost
106 106 $retorno = $m->adicionaTemaSHP($pathresult."/".$prefixo."_cartesian_straight_line_cost.shp");
107 107 $layer = $m->mapa->getlayerbyname($prefixo."_cartesian_straight_line_cost.shp");
... ...