Commit 01fe6b0215eb10f09632830810ac559777c59604
1 parent
75cffbc9
Exists in
master
and in
7 other branches
correção na conversão de metros para ha no cálculo de área
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ferramentas/tabela/relatorio.php
@@ -246,7 +246,7 @@ function calculaarea($geo) | @@ -246,7 +246,7 @@ function calculaarea($geo) | ||
246 | $s = $shape->towkt(); | 246 | $s = $shape->towkt(); |
247 | $shape = ms_shapeObjFromWkt($s); | 247 | $shape = ms_shapeObjFromWkt($s); |
248 | $area = $shape->getArea(); | 248 | $area = $shape->getArea(); |
249 | - return $area; | 249 | + return $area / 10000; |
250 | } | 250 | } |
251 | } | 251 | } |
252 | /* | 252 | /* |