<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Interesting Earth Air Based Map Places - RJM Programming - Thanks to The Earth from the Air by Yann Arthus-Bertrand (ISBN: 9780500544846) and HTTP://latitude.to</title>
<script type='text/javascript'>
var ourlat=0.0000;
var ourlong=0.0000;
var ourprefix="?title=Interesting%20Earth%20Air%20Based%20Map%20Places&label=['Lat',&value='Lon','Name']&onclick=y&options=%2czoomLevel%3a19&data=,[";
var prefixz=""; //"?title=Interesting%20Earth%20Air%20Based%20Map%20Places&label=['Lat',&value='Lon','Name']&onclick=y&options=%2czoomLevel%3a19&data=,[";
var prefixnonz=""; //"?title=Interesting%20Earth%20Air%20Based%20Map%20Places&label=['Lat',&value='Lon','Name']&onclick=y&options=%2czoomLevel%3a11&data=,[";
var suffix="~]";
var choice=0;
var osug='';
var lastplace='';
var basis="myarray";
var lastbasis=basis;
var myarray=[
"50.813702,-2.474597,Giant of Cerne Abbas",
"35.0815,-119.4035,Fault Line",
"75.57,-92.28,Ice",
"33.80039,-114.53823,Blythe Intaglios",
"50.81000,0.188000,Long Man of Wilmington",
"51.42525,-1.929903,Uffington White Horse",
"64.04,-18.15,Lakagigar Volcano",
"43.2686712,-2.9340118,Guggenheim Museum at Bilbao",
"64.18,-21.08,Pingvellir Fault",
"26.12,-14.05,Rivers",
"29.43,31.17,Oasis",
"-60.14,6.44,Ice",
"27.49,84.08,Paddy Fields",
"44.26,-110.39,Pathway",
"18.09,15.29,Desert",
"-21.01,55.33,Deep Ravine",
"-19.26,23.03,Okovango Delta",
"6.05,120.54,Sulu Archipelago",
"14.59,120.39,Mudslide",
"7.06,-5.45,Lake Kossou",
"-19.04,46.39,Mountain Source",
"-22.54,-43.14,Rio",
"34.06650,-4.97130,Fez Dyers",
"27.59,86.56,Mount Everest",
"47.40,-71.02,Autumn Forest",
"63.43,-22.58,Isle of Eldey",
"31.32,-8.03,Marrakesh",
"29.21,47.48,River Delta",
"-27.50,-56.01,Tea Plantation",
"33.50,-113.20,Basketball",
"63.50,-19.12,Volcano Island",
"37.54,20.39,Isle of Zante",
"39.46,21.36,Meteora Monastery",
"41.00,28.59,Hagia Sophia in Istanbul",
"0.17,-78.41,Fields near Quito",
"-23.32,-46.37,Sao Paulo",
"18.039585,-71.741486,Pedernales",
"29.26,45.24,Tank Graveyard",
"0.17,36.04,Lake Nakuru",
"-18.50,15.32,Lake Shore",
"-2.11,38.25,Tree of Life",
"4.16,73.28,Eye of Maldives",
"45.22,12.20,Malamocco",
"19.32,99.43,Thai Fields",
"46.42,-117.12,Fields",
"-16.30,151.44,Bora Bora",
"-3.03,-60.06,Amazon",
"36.19,-114.24,Lake Mead",
"-50.02,-72.07,Leona River",
"36.24,10.23,Olive Plantings",
"18.09,-15.29,Nouakchott",
"-0.2235,-90.3535,San Salvador in Galapagos",
"14.43,-17.26,Fish Market",
"48.34,2.43,Mainey",
"36.55,28.40,Marshland",
"26.24,-80.11,Suburbia",
"-16.17,123.20,Buccaneer Archipelago",
"48.34,-2.43,Cognac",
"44.39,-1.15,Nature Reserve",
"60.46,-150.12,Alaska",
"55.34,12.23,Copenhagen",
"-15.47,-47.55,Brasilia",
"-40.03,-71.04,Chimehuin River",
"30.20,35.26,Al-Dayr",
"-18.48,47.28,Model for Outer Space",
"30.26,-9.36,Agadir",
"51.17902,-1.826255,Stonehenge",
"29.97920,31.13420,Great Pyramid",
"51.50070,-0.12460,Big Ben",
"27.719497122,85.357165238,Stupa of Boudhanath",
"9.59,44.48,Terraced Fields",
"19.20,-99.08,Mexico City",
"-18.45,22.45,Kobus Lechwe Sightings",
"52.284665528,104.240999036,East Siberian Railway",
"31.333332,35.499998,Dead Sea",
"40.08556,22.35861,Mount Olympus",
"48.860854,2.335812,Louvre",
"39.65530,44.80340,Mount Ararat",
"21.422510,39.826168,Mecca",
"41.8874314503,12.4886930452,Colosseum",
"43.768639,11.255214,Uffizi",
"43.27,-4.34,Salt Marsh",
"-13.00,132.30,Kakadu",
"43.720663784,10.389831774,Leaning Tower of Pisa",
"55.23970,-6.33240,Carrick‑a‑Rede Rope Bridge",
"42.4857,-1.3857,Running of the Bulls",
"7.29060,80.63370,Kandy",
"46.69420,8.35750,Trift Bridge",
"-25.344490,131.035431,Uluru",
"33.57,-6.48,Swampy River",
"-25.15,153.10,Fraser Island",
"5.49,-4.02,North of Abidjan",
"28.43,-13.52,Corralejo",
"-37.48,-57.37,North of Mar del Plata",
"51.1586993652,-115.557947768,Banff Springs",
"62.107332904,-7.43416493,Gásadalur",
"39.055499778,-107.100666264,Crystal Mill",
"6.44,-3.29,Abengourou",
"43.882587,-103.454067,Mount Rushmore",
"-33.856159,151.215256,Opera House",
"-14.7166638,-75.1333328,Hummingbird",
"-40.40,-71.16,Traful Mountains",
"15.04,-91.12,Farms",
"63.56,-20.57,Pjorsa River",
"27.04,78.53,Brickyard",
"-16.55,146.03,Great Barrier Reef",
"16.30,-85.55,Bahia Island",
"-18.57,47.31,Village in Rice Fields",
"6.00,-62.52,Sand Banks",
"-34.05,18.19,Duiker Island",
"34.02,-118.16,Interchange",
"18.54,-3.33,Arouane",
"40.35,-74.03,Verrazono-Narrows Bridge",
"23.21,90.31,South of Dacca",
"5.06,-6.34,Ashes of Tree",
"52.27,158.12,Mutnovsky Volcano",
"32.11,-110.53,Rheris Valley Village",
"14.28,-4.12,Niger River Village",
"45.25,12.19,Lagoon of Venice",
"40.45,-73.59,Chrysler Building",
"29.43,35.33,Dogon Village",
"-8.34,115.13,Rice Fields",
"8.12,98.35,Kok Pannyyu",
"35.09,25.35,Greek Fields",
"49.39,61.11,Boat",
"15.08,120.21,Pinnatubo Volcano",
"37.58,29.19,Pamukkale",
"33.57,-116.42,Wind Farm",
"-12.41,132.53,Uranium Mine",
"63.54,-22.25,Blue Lagoon",
"42.08,20.22,Kukas",
"32.33,-6.36,Massira Dam Fields",
"6.52,126.03,Gold Mine",
"26.21,72.45,Village House",
"-26.42,15.14,Boat",
"-1.52,36.17,Lake Magadi",
"16.58,7.59,Agadez",
"25.27,-80.53,Everglades",
"-20.57,164.41,Voh",
"26.55,75.49,Cotton Drying",
"-27.15,-54.03,Confluence",
"-46.36,-70.56,Perito Merino Glacier",
"-20.17,148.59,Sand Bank",
"27.175015,78.042155,Taj Mahal",
"-67.00,-139.00,Icebergs",
"35.42,139.46,Tokyo",
"-13.793361,-76.309155,Candelabra",
"8.53,-5.49,Fields near Kadioha",
"40.43190,116.57040,Great Wall of China",
"-7.60790,110.20380,Borobudur",
"13.41250,103.86700,Angkor Wat",
"0.00000000000001,0.000000000000001,Equator meets UTC"
]; // in degrees.mmss if up to 4 in abscissa, else via the net in decimal degrees
var myarrayplace = [];
var myarrayplacer = [];
var myarraylat = [];
var myarraylatr = [];
var myarraylong = [];
var myarraylongr = [];
function loadarray() {
var ih='00';
if (prefixz == "") {
prefixz=(document.getElementById('mymap').src.split('data=,[')[0] + 'data=,[').replace('%3a11&','%3a19&');
prefixnonz=(document.getElementById('mymap').src.split('data=,[')[0] + 'data=,[').replace('%3a19&','%3a11&');
for (var iii=0; iii<myarray.length; iii++) {
myarrayplace.push(myarray[iii]);
myarrayplacer.push(myarray[iii]);
myarraylat.push(myarray[iii]);
myarraylatr.push(myarray[iii]);
myarraylong.push(myarray[iii]);
myarraylongr.push(myarray[iii]);
}
myarrayplace.sort(function(a, b){return ((a.split(',')[2] == b.split(',')[2]) ? 0 : ((a.split(',')[2] > b.split(',')[2]) ? 1 : -1))});
myarrayplacer.sort(function(a, b){return ((b.split(',')[2] == a.split(',')[2]) ? 0 : ((b.split(',')[2] > a.split(',')[2]) ? 1 : -1))});
myarraylat.sort(function(a, b){return eval(b.split(',')[0]) - eval(a.split(',')[0])});
myarraylatr.sort(function(a, b){return eval(a.split(',')[0]) - eval(b.split(',')[0])});
myarraylong.sort(function(a, b){return eval(a.split(',')[1]) - eval(b.split(',')[1])});
myarraylongr.sort(function(a, b){return eval(b.split(',')[1]) - eval(a.split(',')[1])});
if (document.URL.toLowerCase().indexOf('asort=') != -1) {
basis='myarrayplace';
}
if (document.URL.toLowerCase().indexOf('zsort=') != -1) {
basis='myarrayplacer';
}
if (document.URL.toLowerCase().indexOf('nsort=') != -1) {
basis='myarraylat';
}
if (document.URL.toLowerCase().indexOf('ssort=') != -1) {
basis='myarraylatr';
}
if (document.URL.toLowerCase().indexOf('wsort=') != -1) {
basis='myarraylong';
}
if (document.URL.toLowerCase().indexOf('esort=') != -1) {
basis='myarraylongr';
}
document.getElementById('myarray').style.backgroundColor='white';
document.getElementById(basis).style.backgroundColor='pink';
} else {
document.getElementById(lastbasis).style.backgroundColor='white';
document.getElementById(basis).style.backgroundColor='pink';
}
document.getElementById('myselect').innerHTML="";
for (var ii=0; ii<eval(basis + ".length"); ii++) {
if ((">" + eval(basis + "[" + ii + "].split(',')[2]") + "<").indexOf('>' + lastplace + '<') != -1) {
ih='' + ii;
document.getElementById('myselect').innerHTML+="<option value='" + ii + "' selected>" + eval(basis + "[" + ii + "].split(',')[2]") + "</option>";
} else {
document.getElementById('myselect').innerHTML+="<option value='" + ii + "'>" + eval(basis + "[" + ii + "].split(',')[2]") + "</option>";
}
}
makechoice(ih);
lastbasis=basis;
}
function getdeg(ins) {
//alert('0: ' + ins);
return '' + ins.split('.')[0];
}
function getmin(ins) {
//alert(ins);
ourprefix=prefixnonz;
if (ins.indexOf('.') == -1) return '.0000';
if (ins.split('.')[1].length > 4) {
ourprefix=prefixz;
return '.' + ins.split('.')[1]; // decimal degrees off the web
}
//alert('2: ' + ins + " ... " + ('0000' + Math.floor(Math.floor(eval(ins.split('.')[1].substring(0,2)) / 60 * 10000) + Math.floor(eval(ins.split('.')[1].substring(2)) / 36))).slice(-4));
var secs=(ins + ' ').split('.')[1].substring(2).trim();
//alert(Math.floor(eval(ins.split('.')[1].substring(0,2)) / 60 * 10000) + Math.floor(eval(ins.split('.')[1].substring(2)) / 36));
//alert(Math.floor(eval(ins.split('.')[1].substring(2)) / 36));
//alert(secs + ' vs ' + '.' + ('0000' + eval(Math.round(Math.floor(eval(ins.split('.')[1].substring(0,2)) / 60 * 10000) + Math.round(eval(ins.split('.')[1].substring(2)) / 36)))).slice(-4));
if (secs != '') return '.' + ('0000' + eval(Math.round(Math.floor(eval(ins.split('.')[1].substring(0,2)) / 60 * 10000) + Math.round(eval(ins.split('.')[1].substring(2)) / 36)))).slice(-4);
//alert('.' + ('0000' + Math.round(eval(ins.split('.')[1].substring(0,2)) / 60 * 10000)).slice(-4));
return '.' + ('0000' + Math.round(eval(ins.split('.')[1].substring(0,2)) / 60 * 10000)).slice(-4);
}
function getsec(ins) {
return '';
}
function look() {
if (('' + osug) == '00' && document.URL.indexOf('rand') != -1 && document.URL.indexOf('slideshow') != -1) {
setTimeout(mcz, 5000);
}
}
function mcz() {
makechoice('00');
//setTimeout(mcz, 5000);
}
function makechoice(sug) {
if (osug == '') osug=sug;
if (('' + sug) == '00' && document.URL.indexOf('rand') != -1) {
choice=Math.floor(Math.random() * myarray.length);
document.getElementById('myselect').value=('' + choice);
} else if (('' + sug) != '') {
choice=eval(sug);
document.getElementById('myselect').value=('' + choice);
} else {
choice=Math.floor(Math.random() * myarray.length);
document.getElementById('myselect').value=('' + choice);
}
var zerogetmin=getmin(eval(basis + "[" + choice + "].split(',')[0]"));
document.getElementById('mymap').style.display='block';
lastplace=eval(basis + "[" + choice + "].split(',')[2]");
document.getElementById('mymap').src=ourprefix.replace('&label=',encodeURIComponent(' ... ' + eval(basis + "[" + choice + "].split(',')[2]")) + '&label=') + getdeg(eval(basis + "[" + choice + "].split(',')[0]")) + zerogetmin + getsec(eval(basis + "[" + choice + "].split(',')[0]")) + ',' + getdeg(eval(basis + "[" + choice + "].split(',')[1]")) + getmin(eval(basis + "[" + choice + "].split(',')[1]")) + getsec(eval(basis + "[" + choice + "].split(',')[1]")) + ',~' + encodeURIComponent(lastplace) + suffix;
}
</script>
</head>
<body onload=' loadarray(); ' style='background-color:yellow;'>
<iframe onload='look();' style='display:none;width:100%;height:450px;' id='mymap' src="//www.rjmprogramming.com.au/PHP/Map/map.php?title=Interesting%20Earth%20Air%20Based%20Map%20Places&label=['Lat',&value='Lon','Name']&onclick=y&options=%2czoomLevel%3a19&data=,[50.49,-2.29,Giant%20of%20Cerne%20Abbas]" title='Interesting Earth Air Based Map Place ... goes here'></iframe><br>
<h1>Interesting Earth Air Based Map Places <select title='Select your own place to show' id='myselect' onclick=" osug='0'; " onchange=" makechoice(('' + this.value)); "></select> <br><input id=myarrayplace type=button onclick=" basis='myarrayplace'; loadarray(); " value="Place Sort"></input> <input id=myarrayplacer type=button onclick=" basis='myarrayplacer'; loadarray(); " value="Place Reverse Sort"></input> <input id=myarraylat type=button onclick=" basis='myarraylat'; loadarray(); " value="North to South Sort"></input> <input id=myarraylatr type=button onclick=" basis='myarraylatr'; loadarray(); " value="South to North Sort"></input> <input id=myarraylong type=button onclick=" basis='myarraylong'; loadarray(); " value="West to East Sort"></input> <input id=myarraylongr type=button onclick=" basis='myarraylongr'; loadarray(); " value="East to West Sort"></input> <input id=myarray style='background-color:pink;' type=button onclick=" basis='myarray'; loadarray(); " value="Original Order"></input></h1>
<h3>RJM Programming <a style="cursor:pointer;text-decoration:underline;" title="Random Slideshow mode of use" onclick="location.href=('' + document.URL).split('#')[0].split('?')[0] + '?randslideshow=y';">-</a> January<a style="cursor:pointer;text-decoration:underline;" title="Initial Random Choice mode of use" onclick="location.href=('' + document.URL).split('#')[0].split('?')[0] + '?rand=y';">,</a> 2018</h3>
<h3>Thanks, predominantly, to <i>The Earth from the Air</i> by Yann Arthus-Bertrand (ISBN: 9780500544846) and <a target=_blank title='Latitude To' href='HTTP://latitude.to'>Latitude To</a></h3>
</body>
</html>