Commit ea41e01dfeaf79709d90b86a6ff097e6cd382e25
1 parent
8afdd650
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
classesphp/classe_analise.php
... | ... | @@ -1620,6 +1620,8 @@ class Analise |
1620 | 1620 | $nomeCentroides = nomeRandomico(); |
1621 | 1621 | $nomeshp = $this->diretorio."/".$nomeCentroides; |
1622 | 1622 | $shapes = retornaShapesSelecionados($this->layer,$this->arquivo,$this->mapa); |
1623 | + | |
1624 | + //$shapes = $shape[0]; | |
1623 | 1625 | foreach($shapes as $shape){ |
1624 | 1626 | $LineObj = ms_newLineObj(); |
1625 | 1627 | $LineObj->add($shape->getCentroid()); |
... | ... | @@ -1663,7 +1665,7 @@ class Analise |
1663 | 1665 | else |
1664 | 1666 | dbase_close($db); |
1665 | 1667 | //adiciona no mapa atual o novo tema |
1666 | - $novolayer = criaLayer($this->mapa,MS_LAYER_POINT,MS_DEFAULT,("Centr�ide (".$nomeCentroides.")"),$metaClasse="SIM"); | |
1668 | + $novolayer = criaLayer($this->mapa,MS_LAYER_POINT,MS_DEFAULT,("Centroide (".$nomeCentroides.")"),$metaClasse="SIM"); | |
1667 | 1669 | $novolayer->set("data",$nomeshp.".shp"); |
1668 | 1670 | $novolayer->setmetadata("DOWNLOAD","SIM"); |
1669 | 1671 | $novolayer->set("template","none.htm"); | ... | ... |