Commit 8ffa9ae43bfe7df9059c721c7813a036e0f1ea04
1 parent
aa6471d6
Exists in
master
and in
7 other branches
Ao subir um shape file, o arquivo agora é editável
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
ferramentas/upload/upload.php
... | ... | @@ -75,6 +75,7 @@ if (isset($_FILES['fileshp']['name'])) |
75 | 75 | if ($tipo == 1){$novolayer->set("type",MS_LAYER_POINT);} // ponto |
76 | 76 | if ($tipo == 3){$novolayer->set("type",MS_LAYER_LINE);} |
77 | 77 | if ($tipo == 5){$novolayer->set("type",MS_LAYER_POLYGON);} |
78 | + $novolayer->setmetadata("TEMALOCAL","SIM"); | |
78 | 79 | //if (($tipo != 3) and ($tipo != 8 )){$novolayer->set("type",0);} |
79 | 80 | $novolayer->setfilter(""); |
80 | 81 | $classe = $novolayer->getclass(0); | ... | ... |