Saltar para o conteúdo

Usuário:Rei-artur/projectos/geocoordenadas

Origem: Wikipédia, a enciclopédia livre.


código dados
PTMun adm2st
PTFreg city,city()
PTMilitar castle,manor-house,world cultur,monument,monastery,archaeologic,government,fortress,historical c,world herita,palace,pyramid,archipelago
PTReligioso religious bu,temple,synagogue,mosque
PTEstadio stadium
PTEdificio education,tower,city hall,gastronomy,theater,nuclear powe,hotel,hydroelectri,power plant,library,jail,nuclear faci,hall,cultural cen,habour,court,event center,cinema,boat lift,casino
PTParque cemetery,zoo,theme park,wildlife san,forest,world natura,natural monu,botanic gard,oase


$type=$row[4];
if ($row[4]=="") {$type="without";}
if ($row[4]=="adm1st") {$type="without";}
if ($row[4]=="adm2nd") {$type="without";}
#if (substr($row[4], 0, 4)=="city") {$type="city";}
if (substr($row[4], 0, 4)=="moun") {$type="mountain";}
if ($row[4]=="volcano") {$type="mountain";}
if ($row[4]=="tunnel") {$type="street";}
if ($row[4]=="shopping") {$type="economy";}
if ($row[4]=="company") {$type="economy";}


$ersetze=",cemetery,zoo,theme park,wildlife san,forest,world natura,natural monu,botanic gard,oase";
if (strrpos($ersetze, $row[4])>0) {$type="park";}

$ersetze=",education,tower,city hall,gastronomy,theater,nuclear powe,hotel,hydroelectri,power plant,library,jail,nuclear faci,hall,cultural cen,habour,court,event center,cinema,boat lift,casino";
if (strrpos($ersetze, $row[4])>0) {$type="building";}

$ersetze=",reservoir,bay,strait,lake,waterfall,sea,water well,canal,geysers,canyon,river,ocean,geyser";
if (strrpos($ersetze, $row[4])>0) {$type="waterbody";}

$ersetze=",castle,manor-house,world cultur,monument,monastery,archaeologic,government,fortress,historical c,world herita,palace,pyramid,archipelago";
if (strrpos($ersetze, $row[4])>0) {$type="castle";}

$ersetze=",religious bu,temple,synagogue,mosque";
if (strrpos($ersetze, $row[4])>0) {$type="church";}

$ersetze=",mining,military,science,glacier,quarter,impact crate,dam,cape,cave,peninsula,festival,valley,concentratio,lock,cablecar";
if (strrpos($ersetze, $row[4])>0) {$type="landmark";}