Commit 79f8f53db733ded1b912d858cb41fe3cd11ebe19

Authored by Edmar Moretti
1 parent a452357d

--no commit message

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
classesphp/classe_analise.php
@@ -668,7 +668,7 @@ function distanciaptpt($temaorigem,$temadestino,$temaoverlay,$locaplic) @@ -668,7 +668,7 @@ function distanciaptpt($temaorigem,$temadestino,$temaoverlay,$locaplic)
668 if (count($shapesdestino)==0){return "erro";} 668 if (count($shapesdestino)==0){return "erro";}
669 $novoshpf = ms_newShapefileObj($nomeshp, MS_SHP_ARC); 669 $novoshpf = ms_newShapefileObj($nomeshp, MS_SHP_ARC);
670 // cria o dbf 670 // cria o dbf
671 - $def[] = array("dist_m","N","10"); 671 + $def[] = array("dist_m","N","10","2");
672 $db = xbase_create($nomeshp.".dbf", $def); 672 $db = xbase_create($nomeshp.".dbf", $def);
673 //acrescenta os pontos no novo shapefile 673 //acrescenta os pontos no novo shapefile
674 $dbname = $nomeshp.".dbf"; 674 $dbname = $nomeshp.".dbf";