Ideas wanted - views from space
I've been playing around with making maps of the coastlines as seen
from points above the earth's surface and was wondering what to do with
them.
I've produced a whole set as seen from points around above the equator
at 10 deg intervals. Further ideas are welcome. For example, it
occurs to me that with numerous views from different angles and heights
we could make individual frames for a film of an alien flypast. Could
the map be added onto the same html page as a Google API map ?
You can see a view from a semi-random viewpoint but with fixed 35786km
height using the code below.
<script language="Javascript">
now = new Date();
secs = now.getSeconds();
longitude = ( secs * 6 ) - 180;
var rnumb = "";
var latitude = "";
rnumb += Math.floor(Math.random()*120);
latitude = rnumb - 60;
fname =
"dad-test15.php?&vlat="+latitude+"&vlong="+longitude+"&vheight=35786";
document.write("<img border=\"0\"
src=\"http://galleywood.mx5.org.uk:5000/php/"+fname+"\" width=\"200\"
height=\"218\">");
document.write("<br>View from 35786km above<br> Long:"+longitude+"
Lat:"+latitude+"<br>");
</script>
More coast being added daily<br>
Geostationary <a
href="http://www.satsig.net/maps/satellite-maps.htm">
satellite maps</a> at all 10 deg longitude positions.
The process is a bit slow as it takes about 7 seconds of CPU time to
work out where all the lines go as each map is drawn into the gif image
output file.
My satsig API is very simple, it is done by adding the lat, long and
height to the end of the url name, like so
http://galleywood.mx5.org.uk:5000/php/dad-test15.php?&vlat=-34&vlong=101&vheight=35786
with lat negative to the south and longitude negative to the west. All
it does is return a gif image. It come with no warranty of any
accuracy or availability etc.
Best regards, Eric.
0 Comments:
Yorum Gönder
<< Home