From 8ffa9ae43bfe7df9059c721c7813a036e0f1ea04 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Fri, 14 Aug 2009 13:45:49 +0000 Subject: [PATCH] Ao subir um shape file, o arquivo agora é editável --- ferramentas/upload/upload.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/ferramentas/upload/upload.php b/ferramentas/upload/upload.php index 3dac098..c6419f1 100644 --- a/ferramentas/upload/upload.php +++ b/ferramentas/upload/upload.php @@ -75,6 +75,7 @@ if (isset($_FILES['fileshp']['name'])) if ($tipo == 1){$novolayer->set("type",MS_LAYER_POINT);} // ponto if ($tipo == 3){$novolayer->set("type",MS_LAYER_LINE);} if ($tipo == 5){$novolayer->set("type",MS_LAYER_POLYGON);} + $novolayer->setmetadata("TEMALOCAL","SIM"); //if (($tipo != 3) and ($tipo != 8 )){$novolayer->set("type",0);} $novolayer->setfilter(""); $classe = $novolayer->getclass(0); -- libgit2 0.21.2