Revision 6486
i3geo/classesphp/classe_mapa.php | ||
---|---|---|
2117 | 2117 |
} |
2118 | 2118 |
$layer = criaLayer($this->mapa,$tipo,MS_DEFAULT,basename($arq),"SIM"); |
2119 | 2119 |
$layer->set("data",$arq); |
2120 |
//verifica se existe o arquivo PRJ |
|
2121 |
if(file_exists(str_replace(".shp","",$arq).".prj")){ |
|
2122 |
$layer->setprojection("AUTO"); |
|
2123 |
} |
|
2120 | 2124 |
$layer->set("name",basename($arq)); |
2121 | 2125 |
$layer->setmetadata("DOWNLOAD","nao"); |
2122 | 2126 |
$layer->setmetadata("TEMALOCAL","NAO"); |
Also available in: Unified diff