PDA

View Full Version : Earth City Lights discussion



GEHFileBot
10-08-2005, 12:26 PM
This is a discussion thread for the following file:<br><br><b><a href=http://www.googleearthhacks.com/dlfile851/Earth-City-Lights.htm>Earth City Lights</a></b><br><br>An overlay of a NASA image of city lights at night - i got it lined up pretty perfect.<br />
<br />
T.<br><br><img src=http://www.googleearthhacks.com/images/new/796105earths_city_lights.jpg>

phoenixavatar2
10-27-2005, 04:51 AM
All I see is a white globe with a dark blue circle at the north pole and a line at 180 degrees

araT
10-27-2005, 04:57 AM
you dont see white dots over the larger cities?

T.

phoenixavatar2
10-27-2005, 05:43 AM
no, all I see is a white globe, brightness depending on the opacity. Changed a few settings, turned AF off and on, OpenGL and DirectX, detail area, even restarted computer, all I see is the globe. I checked the link and fiddled with the settings, nothing works. Pity, I love Earth at night, used to have it as my background.

araT
10-27-2005, 06:48 AM
Hmm, thats very odd indeed.. its working perfectly for me here..

I'll make you a locally stored version, see if that works

T.

araT
10-27-2005, 06:55 AM
Here you go :) Try this ;)

T.

phoenixavatar2
10-27-2005, 10:22 PM
That one worked, thanks!
pretty... heh

araT
10-28-2005, 01:12 PM
Glad you like it! :D I had it set as my wallpaper for a while there too.. nasa have some amazing pictures; another one of our users used nasa's winter blue marble shot to make a file called Snowy World (http://www.googleearthhacks.com/dlfile9717/Snowy-World.htm) - its quite amazing too :)

T.

Roadsweeper
10-28-2005, 07:37 PM
i just downloaded both snowy world and night life. Both are FANNNTTAAASSSIICC

blurry
11-12-2005, 03:41 PM
why is my google only display dah place with a box saying loading.. nuthin actually happen but i only can see a red box displayed loading... sumbody can explain it to me??

Captain Hornblower
11-12-2005, 05:00 PM
Have you downloaded the file provided in the first post here or in araTs post #6?

The first doesn't work anymore, the second works....

Shoot first...
11-27-2005, 03:13 PM
Here you go :) Try this ;)

T.
I just downloaded your overlay and it works a treat. Many thanks. :teeth:

fly-a-lot
12-06-2005, 01:54 PM
Excellent job, I really love it!

araT, did you do this nice piece of work?

I'm asking because I'm wondering if the higher resolution pictures can be used for Google Earth, too. You know, it would be soooo nice to combine the full power of Google earth with the full power of the earth by night pictures. :spin:

The highest resolution of the earth by night pics I downloaded somewhere is 16384x8192 (a tiff file, size is a bit more than 40 MB). Would it be possible to use that baby or is it too much work? Sorry for my ignorance, but I assume you originally started with such a picture and probably applied some kind of transformation to get whatever google earth needs for input.

In case you are interested: copyright should be no problem IMHO, the file(s) are publicly available for download. I don't think there were any restrictions.

fly-a-lot
12-06-2005, 07:03 PM
16384x8192 (a tiff file, size is a bit more than 40 MB)
Just realized that the file size is probably the problem since it can't be loaded incrementally. As I said before, I didn't think about Google Earth's internals up to now. But I guess it's too much work to set up a set of files (or whatever) - if it's possible at all.
:whine:

cowtreky
12-06-2005, 10:05 PM
All I see is a white globe with a dark blue circle at the north pole and a line at 180 degrees

Strange, I had exactly the same problem with the original file posted. araT version of the file thru just fine.

Question araT, their are a couple of other files that would not mind setting as either screen saver or start page. How do I go about saving any of these files on my system rather than as a kml for google earth?

fly-a-lot
12-07-2005, 01:11 PM
I created a more detailed version of the Earth's City Lights:
http://www.googleearthhacks.com/dlfile12469/More-detailed-Earth-by-Night.htm

That baby shows more details than the data used here. However, a 10 MB file needs to be downloaded and displayed - so better be patient.

fly-a-lot
12-08-2005, 07:12 AM
Well, sorry guys, that version of the city lights hasn't been approved:
Denial Reason: 10.3MB is too big for our average user to download, plus the quality isnt that much greater - sorry.

Also sorry, since I disagree about the quality. The better quality was actually the reason for me to set it up. :slant:

Anyway, for those of you who like choice, don't have a problem to download a 10 MB file and are patient enough to live with a little startup delay when starting Earth by Night, here is a detailed description how to do it yourself.
Unfortunately I can't upload a kmz file for you containing the image since a maximum file size of just 2MB is allowed. So you need to do some manual work:

step 1:
download file http://veimages.gsfc.nasa.gov//1438/land_ocean_ice_lights_8192.tif (the 10 MB file) and save it to C:\land_ocean_ice_lights_8192.tif (for your convenience, will be removed later)

step 2:
load the attached "More detailed Earth by Night.kml" file with Google Earth. It assumes you downloaded the image file in step 1 to c:\

step 3:
Be a bit patient! After some activity on your hard disk and some time Google Earth needs for calculations you should see the Earth by Night.
In case you got a problem:
a: thanks to the guys who decided you shouldn't have the choice to conveniently download this.
b: right click on "More detailed Earth by Night" in Google Earth, select "edit..." , find for the box with the filename and click on "Browse" next to it. Make sure to choose the file you downloaded in step 1.
c: in case all this didn't help, consider to increase Goggle Earth's cache size (memory cache). My memory cache is 90 MB. But a smaller amount will probably be sufficient. Anyway, increase the cache size drastically to make sure this wasn't the problem.
Good luck!

step 4: (cleanup)
Now you got everything you need. Let's start to clean up our mess.
4a: Create a kmz file containing the image, too:
In Google Earth right click on "More detailed Earth by Night" and select "Save As...". Select file type "Kmz (*.kmz)" near the bottom of the dialog and save the file to c:\ (keep it close to the tif file you downloaded in step 1, both files will be deleted later).
4b: To make sure we don't mess anything up, right click on "More detailed Earth by Night" in Google Earth and select "Rename". Rename it to "Earth Night first step" or something like that.
4c: Now load the kmz file you created in step 4a. In Google Earth select "Open..." in the "File" menu. Then find the kmz-file you created in step 4a with the file dialog.
Your new Earth by Night is ready now. We just need to get rid of our temporary stuff:
4d: In Google Earth on "Earth Night first step" (or whatever name you chose in step 4b) and select "delete"
4e: delete the tif and kmz files (from step 1 and step 4a) in c:\

That's it. Congratulations!

fly-a-lot
12-08-2005, 12:29 PM
A small revision of my mini Howto above (sorry, looks like I can't edit that post)

Forget about step 4b and 4d, just ignore them:


4b: To make sure we don't mess anything up, right click on "More detailed Earth by Night" in Google Earth and select "Rename". Rename it to "Earth Night first step" or something like that.
[...]
4d: In Google Earth on "Earth Night first step" (or whatever name you chose in step 4b) and select "delete"

This doesn't work any more as expected with the newest version of Google Earth (to which I just upgraded). But never mind, it's not really neccessary any more. My older Google Earth had the habit that it didn't include the images in the kmz files with a probability of 20-30%. However, that doesn't seem to be the case any more. Just saved the kmz file about 20 times and the image was always included. Hurray!

fly-a-lot
12-08-2005, 12:38 PM
Strange, I had exactly the same problem with the original file posted. araT version of the file thru just fine.
Well, there seems to be a problem with image handling in the newer Google Earth versions. I just upgraded to the newest version about an hour ago and start to run into problems using gif files. Everything white now. Since I'm sure that worked yesterday this problem is most likely related to some Google Earth functions. So eventually that problem will disappear after a few more upgrades...

fly-a-lot
12-14-2005, 10:59 AM
Question araT, their are a couple of other files that would not mind setting as either screen saver or start page. How do I go about saving any of these files on my system rather than as a kml for google earth?

Well, I'm not araT, but maybe I'm able to help out.

There are basically 2 possibilities to use overlay images within Google Earth:
1. some address (URL) given from where the image should be loaded
2. image included in kmz file

The first case is quite simple. In My Places ot Temporary Places right click on whatever you are interested in, choose "Edit..." and take a look at "Image URL or Filename". If it starts with http:// (no idea if ftp:// works, too) you know where to get the file. Copy the address into your browser and save the file locally.

In the second case you need to know that a kmz file is really zip file. So if you like to extract an image from there, get the kmz file and unzip it with an appropriate tool (Winzip, Filzip, whatever). You will find a kml file and a folder called images...