<!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>
<style>
.yellow {
appearance:none;
-moz-appearance:none;
-webkit-appearance:none;
background-color: yellow;
}
</style>
<script type='text/javascript'>
// https://www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=My%20World%20Survey&width=556&aregeographicals=y&areplaces=y&height=347&country=Place&popularity=Popularity&data=%20[23,34,~Eiffel%20Tower~,230],[24,45,~Big%20Ben~,256],[26,67,~Great%20Pyramids~,600]
// https://www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=My%20World%20Survey&aregeographicals=y&width=556&height=347&country=Places&popularity=Popularity&data=%20[23|24|~qwerty%201~,24]%20,%20[44|35|~qwerty%202~,24]
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 mygeourl="//www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=Interesting%20Earth%20Air%20Based%20Map%20Places&aregeographicals=http.Cerne_Abbas%2Chttp.Cerne_Abbas&areplaces=https://www.rjmprogramming.com.au/PHP/GeoChart/mapc64b.png&width=600&height=400&country=Places&popularity=&data=[50.813702|-2.474597|~Giant of Cerne Abbas~,2]";
var myarray=[
"50.813702,-2.474597,Giant of Cerne Abbas",
"-29.530000,137.46555555555555556,Marree Man",
"3.158000,101.712000,Petronas Towers",
"25.03361111111,121.56500000000,Taipei 101",
"25.19713888888888886,55.2741111111111111,Burj Khalifa",
"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",
"69.39,18.57,Tromsø",
"4.16,73.28,Eye of Maldives",
"45.22,12.20,Malamocco",
"19.32,99.43,Thai Fields",
"55.45,37.37,St. Basil`s Cathedral",
"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",
"16.766600000,-3.002600000,Timbuktu",
"-5.052200000,151.32920000,Ulawun",
"63.6330000,-19.600000,Eyjafjallajökull",
"40.781200000000,-73.96650000000000,New York",
"22.308046000000000, 113.9184800000000,Hong Kong",
"-17.9553800000000,122.2392200000000,Broome",
"-14.664500000000,145.46510000000,Lizard Island"
]; // in degrees.mmss if up to 4 in abscissa, else via the net in decimal degrees
var people=["", " 🙏", " 1️⃣", " 2️⃣", " 3️⃣", " 4️⃣", " 5️⃣", " 6️⃣", " 7️⃣", " 8️⃣", " 9️⃣"];
var othersare='';
var lsbitsuffix='';
var otheremail=location.search.split('userref=')[1] ? decodeURIComponent(location.search.split('userref=')[1].split('&')[0]) : ' ';
var myarrayuser = [];
var ihjg=0;
for (ihjg=0; ihjg<myarray.length; ihjg++) {
myarrayuser.push('');
}
var userbit=decodeURIComponent(('' + localStorage.getItem('interestingplacesusers')).replace(/^null$/g,'')).replace(/\+/g,' ');
var lsbit=decodeURIComponent(('' + localStorage.getItem('yourinterestingplaces')).replace(/^null$/g,'')).replace(/\+/g,' ');
var otherplaces=location.search.split('others=')[1] ? plusls(decodeURIComponent(location.search.split('others=')[1].split('&')[0])) : plusls('');
if (otheremail.trim() != '' && otherplaces.trim() != '') {
if ((',' + userbit + ',').toLowerCase().indexOf(',' + otheremail.toLowerCase().trim() + ',') == -1) {
if (userbit.trim() == '') {
userbit+'' + otheremail.trim();
othersare="<select style=display:inline-block; title=Collaborators onchange=justfor(this); id=sjustfor><option value=''>... or ...</option><option value=' '>You 🙏</option><option value='" + otheremail.trim() + "'>" + emojiappend(otheremail.trim()) + "</option></select>";
localStorage.setItem('interestingplacesusers', encodeURIComponent(userbit));
lsbitsuffix=' ';
} else {
userbit+=',' + otheremail.trim();
othersare="<select style=display:inline-block; title=Collaborators onchange=justfor(this); id=sjustfor><option value=''>... or ...</option><option value=' '>You 🙏</option><option value='" + otheremail.trim() + "'>" + emojiappend(otheremail.trim()) + "</OPTION></select>";
for (ihjg=0; ihjg<(',' + userbit + ',').toLowerCase().split(',' + otheremail.toLowerCase().trim() + ',')[0].split(',').length; ihjg++) {
othersare=othersare.replace("</OPTION>", "</option><option value='" + userbit.split(',')[ihjg].trim() + "'>" + emojiappend(userbit.split(',')[ihjg].trim()) + "</OPTION>");
lsbitsuffix+=' ';
}
lsbitsuffix+=' ';
localStorage.setItem('interestingplacesusers', encodeURIComponent(userbit));
}
} else {
for (ihjg=0; ihjg<(',' + userbit + ',').toLowerCase().split(',' + otheremail.toLowerCase().trim() + ',')[0].split(',').length; ihjg++) {
lsbitsuffix+=' ';
}
lsbitsuffix+=' ';
}
}
if (lsbit.trim() != '' || (othersare == '' && userbit.trim() != '')) {
othersare="<select style=display:inline-block; title=Collaborators onchange=justfor(this); id=sjustfor><option value=''>... or ...</option><option value=' '>You 🙏</option></select>";
if (userbit.trim() != '') {
for (ihjg=0; ihjg<userbit.split(',').length; ihjg++) {
othersare=othersare.replace("</select>", "<option value='" + userbit.split(',')[ihjg].trim() + "'>" + emojiappend(userbit.split(',')[ihjg].trim()) + "</option></select>");
}
}
}
var myarrayplace = [];
var myarrayplacer = [];
var myarraylat = [];
var myarraylatr = [];
var myarraylong = [];
var myarraylongr = [];
function justfor(whatfor) {
var myss=[], newo='', inewo=0;
var mys=document.getElementById('myselect');
if (whatfor.value != '') {
var pr='';
if (whatfor.value == ' ') {
pr=people[1];
document.getElementById('es').innerHTML=pr;
mysih=mys.innerHTML;
myss=mysih.split(document.getElementById('es').innerHTML + '</');
if (myss.length > 1) {
for (inewo=1; inewo<myss.length; inewo++) {
newo='<option ' + myss[eval(-1 + inewo)].split('<option ')[eval(-1 + myss[eval(-1 + inewo)].split('<option ').length)] + pr + '</' + myss[inewo].split('>')[0] + '>';
whatfor.innerHTML+=newo;
}
}
} else {
pr=emojiappend(whatfor.value);
document.getElementById('es').innerHTML=pr;
if (whatfor.value.replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
if (eval('' + whatfor.value) <= eval('' + myarray.length)) {
makechoice(('' + whatfor.value));
} else if (pr.indexOf(' &') == 0) {
mysih=mys.innerHTML;
myss=mysih.split(document.getElementById('es').innerHTML + '</');
if (myss.length > 1) {
for (inewo=1; inewo<myss.length; inewo++) {
newo='<option ' + myss[eval(-1 + inewo)].split('<option ')[eval(-1 + myss[eval(-1 + inewo)].split('<option ').length)] + pr + '</' + myss[inewo].split('>')[0] + '>';
whatfor.innerHTML+=newo;
}
}
}
} else if (pr.indexOf(' &') == 0) {
mysih=mys.innerHTML;
myss=mysih.split(document.getElementById('es').innerHTML + '</');
if (myss.length > 1) {
for (inewo=1; inewo<myss.length; inewo++) {
newo='<option ' + myss[eval(-1 + inewo)].split('<option ')[eval(-1 + myss[eval(-1 + inewo)].split('<option ').length)] + pr + '</' + myss[inewo].split('>')[0] + '>';
whatfor.innerHTML+=newo;
}
}
}
}
}
}
function emojiappend(inem) {
var izero=0, xxs=userbit.split(',');
for (var ixxs=0; ixxs<xxs.length; ixxs++) {
if (xxs[ixxs].toLowerCase().indexOf(inem.toLowerCase()) != -1) {
izero++;
}
}
if (izero != 0) { izero++; }
return people[izero];
}
function nsew(invalis) {
var valarr=[];
// Coordinates 33°51′54″S 151°12′34″ECoordinates: 33°51′54″S 151°12′34″E
valarr=invalis.replace(/\+/g,'').replace(/n/g,'').replace(/N/g,'').replace(/s/g,'').replace(/S/g,'').replace(/e/g,'').replace(/E/g,'').replace(/w/g,'').replace(/W/g,'').split(' ');
if (eval('' + valarr.length) >= 3) {
invalis=invalis.replace('' + valarr[0] + ' ' + valarr[1] + ' ' + valarr[2], '' + valarr[0] + '.' + ('' + eval(eval('' + valarr[0]) + eval(eval('' + valarr[1]) / 60.0) + eval(eval('' + valarr[2]) / 3600.0) ) ).split('.')[1]);
}
if (invalis.indexOf('.') == -1) { invalis+='.'; }
if (invalis.toUpperCase().indexOf('S') != -1) {
return '-' + invalis.replace(/\ /g,'').replace(/\+/g,'').replace(/n/g,'').replace(/N/g,'').replace(/s/g,'').replace(/S/g,'').replace(/e/g,'').replace(/E/g,'').replace(/w/g,'').replace(/W/g,'') + '0000';
}
if (invalis.toUpperCase().indexOf('W') != -1) {
return '-' + invalis.replace(/\ /g,'').replace(/\+/g,'').replace(/n/g,'').replace(/N/g,'').replace(/s/g,'').replace(/S/g,'').replace(/e/g,'').replace(/E/g,'').replace(/w/g,'').replace(/W/g,'') + '0000';
}
return '' + invalis.replace(/\ /g,'').replace(/\+/g,'').replace(/n/g,'').replace(/N/g,'').replace(/s/g,'').replace(/S/g,'').replace(/e/g,'').replace(/E/g,'').replace(/w/g,'').replace(/W/g,'') + '0000';
}
function askit() {
var llentry='', lls=['3','4','5'], argsuff='?others=', adelims='', elseenter='', backtohere=document.URL.split('?')[0].split('#')[0];
if (lsbit.trim() != '') { elseenter=', else enter "Email/SMS To, Email/SMS From" sharing set'; }
while (eval('' + lls.length) >= 3) {
llentry=prompt('Please enter Latitude,Longitude,Placename (where 2 decimal places represents value to degrees.minutes else decimal degrees for more decimal places) else other entries register Your previous entries and a -- clears localStorage entries' + elseenter + '.','');
if (llentry == null) { llentry='';
} else if (llentry == '--') {
localStorage.removeItem('yourinterestingplaces');
} else {
if (llentry.indexOf("′") != -1 && llentry.indexOf('″') != -1 && llentry.indexOf("°") != -1) {
llentry=llentry.replace('Coordinates: ','').replace('Coordinates:','').replace('Coordinates ','').replace('Coordinates','').replace('″e '," e,").replace('″n '," n,").replace('″s '," s,").replace('″w '," w,").replace('″E '," E,").replace('″N '," N,").replace('″S '," S,").replace('″W '," W,").replace('″E'," E,").replace('″N'," N,").replace('″S'," S,").replace('″W'," W,").replace("°"," ").replace("°"," ").replace("′"," ").replace("′"," ").replace('″'," ").replace('″'," ");
}
llentry=llentry.replace("°","").replace("°","").replace(' , ',',').replace(' , ',',').replace(', ',',').replace(', ',',').replace(' ,',',').replace(' ,',',');
}
if (llentry.indexOf(',') != -1) {
lls=llentry.split(',');
if (eval('' + lls.length) >= 3) {
//alert("-1:" + llentry.replace((llentry.split(',')[0] + ',' + llentry.split(',')[1] + ','), '').replace(/\"/g,'').replace(/\'/g,''));
argsuff+=encodeURIComponent(adelims + '"' + nsew(llentry.replace(/\"/g,'').replace(/\'/g,'').split(',')[0]) + ',' + nsew(llentry.replace(/\"/g,'').replace(/\'/g,'').split(',')[1]) + ',' + llentry.replace((llentry.split(',')[0] + ',' + llentry.split(',')[1] + ','), '').replace(/\"/g,'').replace(/\'/g,'').replace(/\,/g,';') + '"');
//alert('0:' + argsuff); // 0:?others=%22-33.8523%2C.udfid%2CBridge%22
adelims=',';
} else if (eval('' + lls.length) >= 2) {
if (lls[0].indexOf('@') != -1) {
backtohere+='?userref=' + encodeURIComponent(lls[1]) + '&others=' + encodeURIComponent(lsbit);
document.getElementById('es').href='mailto:' + lls[0] + '?subject=Sharing%20My%20Interesting%20Places&body=' + encodeURIComponent(backtohere);
document.getElementById('es').click();
} else {
backtohere+='?userref=' + encodeURIComponent(lls[1]) + '&others=' + encodeURIComponent(lsbit);
document.getElementById('es').href='sms:' + lls[0] + '&body=' + encodeURIComponent(backtohere);
document.getElementById('es').click();
}
}
} else {
lls=['3'];
}
}
if (argsuff != '?others=') {
//alert(argsuff);
location.href=document.URL.split('#')[0].split('?')[0] + argsuff;
}
}
function anal(sfi) {
var retval=' ';
var minusone=-1;
var usb=userbit.split(',');
if (sfi.trim() != '') {
while (sfi.slice(minusone).substring(0,1) == ' ') {
if (usb.length > eval(-1 + Math.abs(minusone))) {
retval=usb[eval(-1 + Math.abs(minusone))];
}
minusone--;
}
minusone++;
}
return retval;
}
function plusls(inps) {
var swapper=0, prevls='';
var updneeded=false;
var sofaris='', lssofaris='', csvare=[], jk;
//var lsbit=decodeURIComponent(('' + localStorage.getItem('yourinterestingplaces')).replace(/^null$/g,'')).replace(/\+/g,' ');
var origv=lsbit;
var itotal=0;
//var otheremail=location.search.split('userref=')[1] ? decodeURIComponent(location.search.split('userref=')[1].split('&')[0]) : ' ';
if (inps != '') {
//alert('inps=' + inps);
if ((inps + ' ').substring(0,1) == '"') {
//csvare=(inps + ",").substring(1).split('","');
csvare=(inps + ",").substring(1).replace(/\"/g,'').split(',');
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
} else if ((inps + ' ').substring(0,1) == "'") {
csvare=(inps + ",").substring(1).replace(/\'/g,'').split(",");
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
} else {
csvare=inps.split(',');
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
}
//alert("csvare.length=" + csvare.length);
if (csvare.length >= 3) {
itotal+=eval(eval(eval('' + csvare.length) - eval(eval('' + csvare.length) % 3)) / 3);
swapper=eval(-1 * itotal);
if (swapper < 0) { swapper++; }
//alert('swapper = ' + swapper + ' csvare.length=' + csvare.length + ' itotal=' + itotal);
}
}
if (lsbit != '') {
//alert('lsbit=' +lsbit);
if ((lsbit + ' ').substring(0,1) == '"') {
//csvare=(lsbit + ",").substring(1).split('","');
csvare=(lsbit + ",").substring(1).replace(/\"/g,'').split(',');
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
} else if ((lsbit + ' ').substring(0,1) == "'") {
csvare=(lsbit + ",").substring(1).replace(/\'/g,'').split(",");
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
} else {
csvare=lsbit.split(',');
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
}
if (csvare.length >= 3) {
itotal+=eval(eval(eval('' + csvare.length) - eval(eval('' + csvare.length) % 3)) / 3);
swapper=eval(-1 * itotal);
//alert('swapper=' + swapper + ' csvare.length=' + csvare.length + ' itotal=' + itotal + ' lsbit=' + lsbit);
if (swapper < 0) { swapper++; }
for (var ikj=0; ikj<csvare.length; ikj+=3) {
sofaris=csvare[ikj].replace(/\"/g,'').replace(/\'/g,'');
if (eval(1 + ikj) < csvare.length) {
sofaris+=',' + csvare[eval(1 + ikj)].replace(/\"/g,'').replace(/\'/g,'');
}
if (eval(2 + ikj) < csvare.length) {
sofaris+=',' + csvare[eval(2 + ikj)].replace(/\"/g,'').replace(/\'/g,'');
if (swapper >= 0) {
myarray.push(myarray[swapper]);
myarray[swapper]=sofaris.trim() + people[' '.length];
myarrayuser[swapper]=anal(sofaris); //' ';
swapper++;
} else if (swapper < 0) {
myarray.push(myarray[Math.abs(swapper)]);
myarray[Math.abs(swapper)]=sofaris.trim() + people[' '.length];
myarrayuser[swapper]=anal(sofaris); //' ';
swapper++;
} else {
myarray.push(sofaris.trim() + people[' '.length]);
myarrayuser[swapper]=anal(sofaris); //' ';
}
}
}
}
}
if (inps != '') {
//alert('inps=' + inps);
if ((inps + ' ').substring(0,1) == '"') {
//csvare=(inps + ",").substring(1).split('","');
csvare=(inps + ",").substring(1).replace(/\"/g,'').split(',');
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
} else if ((inps + ' ').substring(0,1) == "'") {
csvare=(inps + ",").substring(1).replace(/\'/g,'').split(",");
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
} else {
csvare=inps.split(',');
if (csvare[eval(-1 + csvare.length)].trim() == '') { csvare.pop(); }
}
//alert("csvare.length=" + csvare.length);
if (csvare.length >= 3) {
for (var ikj=0; ikj<csvare.length; ikj+=3) {
lssofaris='';
sofaris=csvare[ikj].replace(/\"/g,'').replace(/\'/g,'');
if (eval(1 + ikj) < csvare.length) {
if (lsbit.indexOf(sofaris) == -1 || lsbit.indexOf(csvare[eval(1 + ikj)].replace(/\"/g,'').replace(/\'/g,'')) == -1) {
lssofaris+='"' + csvare[ikj].replace(/\"/g,'').replace(/\'/g,'') + ',' + csvare[eval(1 + ikj)].replace(/\"/g,'').replace(/\'/g,'');
//} else {
//alert('huh');
}
sofaris+=',' + csvare[eval(1 + ikj)].replace(/\"/g,'').replace(/\'/g,'');
}
if (eval(2 + ikj) < csvare.length) {
sofaris+=',' + csvare[eval(2 + ikj)].replace(/\"/g,'').replace(/\'/g,'').trim() + people[lsbitsuffix.length];
//alert("sofaris=" + sofaris);
if (lssofaris != '') {
lssofaris+=',' + csvare[eval(2 + ikj)].replace(/\"/g,'').replace(/\'/g,'').trim() + people[lsbitsuffix.length] + '"';
if (lsbit == '') {
lsbit=lssofaris;
} else {
prevls=lsbit;
lsbit=lssofaris + ',' + prevls;
}
updneeded=true;
}
if (swapper >= 0) {
myarray.push(myarray[swapper]);
myarray[swapper]=sofaris;
myarrayuser[swapper]=otheremail;
swapper++;
} else if (swapper < 0) {
myarray.push(myarray[Math.abs(swapper)]);
myarray[Math.abs(swapper)]=sofaris;
myarrayuser[Math.abs(swapper)]=otheremail;
swapper++;
} else {
myarray.push(sofaris);
myarrayuser.push(' ');
}
}
}
if (updneeded) {
if (origv != '') { localStorage.removeItem('yourinterestingplaces'); }
//alert(lsbit);
localStorage.setItem('yourinterestingplaces', encodeURIComponent(lsbit));
}
}
}
return inps;
}
function styleopt(inoptih) {
var oneblank=' ', plusst='';
if (1 == 2) {
while (inoptih.indexOf(oneblank + '</option>') != -1) {
plusst='yellow';
oneblank+=' ';
}
if (plusst != '') { return inoptih.replace('<option ', '<option class=' + plusst + ' '); }
}
return inoptih;
}
function loadarray() {
var ih='00';
document.getElementById('anddiv').innerHTML=othersare;
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]);
if (myarrayuser.length <= iii) {
myarrayuser.push('');
}
}
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+=styleopt("<option value='" + ii + "' selected>" + eval(basis + "[" + ii + "].split(',')[2]") + "</option>");
} else {
document.getElementById('myselect').innerHTML+=styleopt("<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';
document.getElementById('mygeo').style.display='block';
lastplace=eval(basis + "[" + choice + "].split(',')[2]").split(' ')[0];
document.getElementById('mymap').src=(ourprefix.replace('&label=',encodeURIComponent(' ... ' + eval(basis + "[" + choice + "].split(',')[2]").split(' ')[0]) + '&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); //.replace(encodeURIComponent('Interesting Earth Air Based Map Places ... '),'');
//console.log(document.getElementById('mymap').src);
if (lastplace != '') {
mygeourl=mygeourl.replace(',2]',',1]').replace(',2]',',1]');
var agb=mygeourl.split('&aregeographicals=')[1].split('&')[0];
mygeourl=mygeourl.replace(agb,'http.' + lastplace.replace(/\ /g,'_').replace(/\%20/g,'_').replace('Giant_of_Cerne_Abbas','Cerne_Abbas') + ',http.Cerne_Abbas');
var dis=document.getElementById('data').value.replace(',2]',',1]').replace(',2]',',1]');
agb=mygeourl.split('&data=')[0];
mygeourl=agb + '&data=' + '[' + 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) + '~,2],' + dis;
document.getElementById('aregeographicals').value='http.' + lastplace.replace(/\ /g,'_').replace(/\%20/g,'_').replace('Giant_of_Cerne_Abbas','Cerne_Abbas') + ',http.Cerne_Abbas';
document.getElementById('data').value='[' + 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) + '~,2],' + dis;
document.getElementById('mysubmit').click();
}
}
function assessl(ofo) {
if (mygeourl.length < 800) {
document.getElementById('mygeo').src=mygeourl;
return false;
} else {
return true;
}
}
// 33.8523° S, 151.2108° E,Bridge
</script>
</head>
<body onload=" if (document.URL.indexOf('ask=') != -1) { askit(); } loadarray(); " style='background-color:yellow;'>
<table style='width:100%;'><tr><td style='width:48%;'>
<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>
</td><td style='width:48%;'>
<iframe style='display:none;width:100%;height:450px;' id='mygeo' name='mygeo' src="//www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=Interesting%20Earth%20Air%20Based%20Map%20Places&aregeographicals=http.Cerne_Abbas%2Chttp.Cerne_Abbas&areplaces=https://www.rjmprogramming.com.au/PHP/GeoChart/mapc64b.png&width=600&height=400&country=Places&popularity=&data=[50.813702|-2.474597|~Giant of Cerne Abbas~,2]" title='Interesting Earth Air Based Map Place ... context'></iframe><br>
</td></tr>
</table>
<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> or, perhaps, <a style='text-decoration:underline;cursor:pointer;' onclick='askit();'>You 🙏</a> <div id=anddiv style=display:inline-block;></div></h3>
<form onsubmit='return assessl(this);' target=mygeo style='display:none;' method='POST' action='//www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php'>
<input type=hidden name=title id=title value='Interesting Earth Air Based Map Places'></input>
<input type=hidden name=aplaces id=aplaces value='https://www.rjmprogramming.com.au/PHP/GeoChart/mapc64b.png'></input>
<input type=hidden name=aregeographicals id=aregeographicals value='http.Cerne_Abbas,http.Cerne_Abbas'></input>
<input type=hidden name=width id=width value='600'></input>
<input type=hidden name=height id=height value='400'></input>
<input type=hidden name=country id=country value='Places'></input>
<input type=hidden name=popularity id=popularity value=''></input>
<input type=hidden name=data id=data value='[50.813702|-2.474597|~Giant of Cerne Abbas~,2]'></input>
<input type=hidden name='wouldlikeyoutoseekpermission' value='y'></input>
<input type=submit value=Submit style='display:none;' id=mysubmit></input>
</form>
<a id=es href='mailto:' style='display:none;'>Email/SMS</a>
</body>
</html>