Google
Official Google Earth Download Site

Google Earth Community System Reliability: HIGH

Earth >> Dynamic Data Layers

Jump to first unread post. Pages: 1 | 2 | 3 | 4 | >> (show all)
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Solar position calculator
      #55523 - 07/29/05 05:58 AM

View in Google Earth (8138 downloads)


My first bit of php code is used to calculate the current position of the sun.
I beleive the calculations are accurate....

Paul.


Post Extras: Print Post   Remind Me!   Report this Post  
ink_polaroidAdministrator
Sysop


Reged: 01/01/05
Posts: 1868
Loc: SF Bay Area, CA
Re: Solar position calculator [Re: PaulBuxton]
      #55692 - 07/29/05 09:29 AM

Hey, very nice. Your calculations seem to be pretty accurate.

If you want to make them dead-on-balls-accurate (technical phrase), google for VSOP87...


Post Extras: Print Post   Remind Me!   Report this Post  
bkdelong
Explorer


Reged: 07/29/05
Posts: 99
Loc: Salem, MA, USA
Re: Solar position calculator [Re: PaulBuxton]
      #55845 - 07/29/05 01:01 PM

Anyone think about doing the Moon or other planets? Granted you can't get them into individual globes, but it would b nifty to see where in the sky they are.

Can KML's dynamically change icons? Perhaps in addition to Lunar position, you could have a different icon for each phase.

--------------------
--
B.K. DeLong (K3GRN)
bkdelong@pobox.com
+1.617.797.8471

http://www.wkdelong.org Son.
http://www.haloworldwide.com
Work.
http://www.bostonredcross.org Volunteer.
http://www.brain-stream.com Play.
http://www.the-leaky-cauldron.org Potter.


PGP Fingerprint:
38D4 D4D4 5819 8667 DFD5 A62D AF61 15FF 297D 67FE

FOAF:
http://foaf.brain-stream.org


Post Extras: Print Post   Remind Me!   Report this Post  
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Re: Solar position calculator [Re: bkdelong]
      #55873 - 07/29/05 01:39 PM

I think that anything other than the sun or moon is probably better handled by dedicated astronomy apps. I have considered looking at doing the moon, althought it is a fair bit more complex than the sun (which I suspect I may have simplified a bit).

I haven't tried changing icons dynamically, but as it is simply a tag in the placemark I don't see any reason wjy it can't update dynamically. If anyone can present the required equaitons in a form I can understand (it has been a long time since I did any real maths) I will be willing to give it a crack.

The biggest problem I ran into with doing the sun was that all the pages on the web expected you to be wanting the position relative to where you are rather than it's positoin on the globe, I suspect the moon will be just as painful :-)

Paul.


Post Extras: Print Post   Remind Me!   Report this Post  
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Re: Solar position calculator [Re: ink_polaroid]
      #55879 - 07/29/05 01:47 PM

Balls on accurate eh? That sounds like it comes from the same tehcnical manual as 'fubar'd and 'totally shaffted'

I wish I had found that library when I started this, the number of pages I found with differing formulas for the equation of time I thought that perhaps noone was sure :-). Although to be fair as that looks to be a C library it would kind of defeat my learning php as I spend all day using C.

Mine might not be perfectly accurate, but it seems good enought to me. :-)

Paul.


Post Extras: Print Post   Remind Me!   Report this Post  
Tiresias
Tourist


Reged: 08/04/05
Posts: 4
Re: Solar position calculator [Re: PaulBuxton]
      #61542 - 08/04/05 11:47 AM


Hi - love your sun!

nb it goes well with the following day/night overlay:

http://bbs.keyhole.com/ubb/showthreaded.php/Cat/0/Number/40629/page/12

Would it be possible to post a version where the sun icon is not at ground level, but set to a suitable altitude? It looks really cool when i try it with a static version of your icon...


Post Extras: Print Post   Remind Me!   Report this Post  
barryhunter
Guide


Reged: 07/30/05
Posts: 596
Loc: Wales, Europe
Re: Solar position calculator [Re: Tiresias]
      #61676 - 08/04/05 01:26 PM

I agree, it works really well at high altitude! Esp with the overlay mentioned in the last post

Just a pity that GE hides the placemark when its on the other side of the earth (basically when zoomed out, as soon as it would be on the other side of the earth to what you can see, (but still is visible beucase so far off the ground!) the icon is hidden )

Anyway thanks for posting this! Barry

--------------------

- www.nearby.org.uk - www.geograph.org.uk - www.trigtools.co.uk -


Post Extras: Print Post   Remind Me!   Report this Post  
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Re: Solar position calculator [Re: Tiresias]
      #62186 - 08/05/05 02:10 AM

I will have a look at doing it.
Although I am off on holiday tomorrow for a week, so it will not be for while.

This place http://www.die.net/earth/ has a great sunlight/cloud cover map, but the guy seems to be concerned with bandwidth so I have't distributed a kml for it.


Paul.


Post Extras: Print Post   Remind Me!   Report this Post  
Tiresias
Tourist


Reged: 08/04/05
Posts: 4
Re: Solar position calculator [Re: barryhunter]
      #62876 - 08/05/05 06:45 PM


The fact that the curvature of the earth cuts out the view of objects that should in fact be visible because of their altitude also affects the geostationary satellites i have, though they still look great...

(nb: get them here:
http://bbs.keyhole.com/ubb/showthreaded.php/Cat/0/Number/60045/an/0/page/11#60045)

Maybe this is something that should be raised for the development guys, however you do that...


Post Extras: Print Post   Remind Me!   Report this Post  
chocky
Tourist


Reged: 07/13/05
Posts: 19
Re: Solar position calculator [Re: Tiresias]
      #72776 - 08/17/05 12:58 AM

Here's a nice little app for your desktop that combines two satellite images to create a dynamic wallpaper showing the areas on Earth where the sun shines.

Earthwatcher


Post Extras: Print Post   Remind Me!   Report this Post  
ninjaroger2
Tourist


Reged: 07/13/05
Posts: 3
Re: Solar position calculator [Re: PaulBuxton]
      #100187 - 09/06/05 06:24 AM

Looks good.

Now do the moon.

Thanks.


Post Extras: Print Post   Remind Me!   Report this Post  
derekins
Tourist


Reged: 09/01/05
Posts: 7
Re: Solar position calculator [Re: PaulBuxton]
      #101285 - 09/06/05 07:27 PM

Is there a way to change the altitude from 0 meters? If someone could explain to me how. The sun is going to cause all sorts of fires at that altitude!!!

Thanks!


Post Extras: Print Post   Remind Me!   Report this Post  
Crogon
Tourist


Reged: 09/11/05
Posts: 14
Re: Solar position calculator [Re: derekins]
      #109121 - 09/12/05 07:14 AM

The altitude is set within his little php applet. I would like to request that it be set to at least 3600000 (the same height as the satellites). Would be greatly appreciated. Maybe as an alternate kml?

any chance you would release the php code? Then maybe we could copy the function. I know i'd like to build one to do the moon with phases.

--------------------
There are 10 kinds of people in this world. Those who understand binary, and those who don't.


Post Extras: Print Post   Remind Me!   Report this Post  
Grimmie
Tourist


Reged: 08/24/05
Posts: 221
Re: Solar position calculator [Re: ninjaroger2]
      #119270 - 09/19/05 07:30 PM

Moon, Moon, Moon!

Post Extras: Print Post   Remind Me!   Report this Post  
xChipperx
First Post


Reged: 10/20/05
Posts: 1
Re: Solar position calculator [Re: PaulBuxton]
      #165100 - 10/20/05 04:10 PM

can you do a little quick fix maybe and set the altitude to it's max

Post Extras: Print Post   Remind Me!   Report this Post  
IanUK
Tourist


Reged: 08/24/05
Posts: 1160
Loc: Aylesbury, England, GMT+0
Re: Solar position calculator [Re: ninjaroger2]
      #187840 - 11/08/05 02:18 AM

This overlay is awesome!! It's updating about every 5 seconds and I'm mezmorised by watching the sun go across the earth, I can't believe how fast it goes!

Edited by IanUK (11/08/05 02:21 AM)


Post Extras: Print Post   Remind Me!   Report this Post  
pmaxfield2
Explorer


Reged: 10/29/04
Posts: 293
Loc: Portland, OR, USA
Re: Solar position calculator [Re: PaulBuxton]
      #188298 - 11/08/05 07:26 AM

I wonder how hard it would be to make a trace line as well? It would be interesting to see a year's worth of the sun's path....

--------------------
My 3D Warehouse & network link
My Panoramio
Google Maps Overlay
Globe Glider


Post Extras: Print Post   Remind Me!   Report this Post  
pmaxfield2
Explorer


Reged: 10/29/04
Posts: 293
Loc: Portland, OR, USA
Re: Solar position calculator [Re: pmaxfield2]
      #189467 - 11/08/05 11:30 PM

View in Google Earth (319 downloads)


Here's a shot at a year's worth of the solar path. I cheated a bit; each ring is 5 days' motion, but now I realize the spiral is incorrect then. Anyway, it's a first try.


--------------------
My 3D Warehouse & network link
My Panoramio
Google Maps Overlay
Globe Glider


Post Extras: Print Post   Remind Me!   Report this Post  
typhoid
Tourist


Reged: 10/31/05
Posts: 29
Loc: Perth, Western Australia
Re: Solar position calculator [Re: PaulBuxton]
      #192532 - 11/11/05 12:28 AM

Quote:

My first bit of php code is used to calculate the current position of the sun.




Nice!

--------------------
Roam if you want to
Without anything but the love we feel


Post Extras: Print Post   Remind Me!   Report this Post  
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Re: Solar position calculator [Re: PaulBuxton]
      #198374 - 11/15/05 01:24 AM

Ok.
I will try and get height added this week. I have been rather busy with other things.

Paul.


Post Extras: Print Post   Remind Me!   Report this Post  
FrankB
Tourist


Reged: 08/03/05
Posts: 113
Re: Solar position calculator [Re: Crogon]
      #200254 - 11/16/05 12:46 PM

If you place the sun high above the surface, the whole point of this layer is lost. It is ment to show which spot on the surface the sun is currently directly above. With just a small change of the suns altitude this spot will change with your viewing angle, and at 36,000 km it will be totally useless. It will look more realistic, but the purpose of the layer is lost.

Edit: I can se that the altitude has been changed in the updated placemark. Too bad, I thougt it was a great feature. Totally useless now.

Edited by FrankB (11/16/05 12:53 PM)


Post Extras: Print Post   Remind Me!   Report this Post  
sparqi
Tourist


Reged: 07/30/05
Posts: 8
Re: Solar position calculator [Re: FrankB]
      #200269 - 11/16/05 01:07 PM

I tried setting height to 0m. This works until the next update, then it reverts to a defined height.

One idea I had was to draw a connecting line to ground. This also gets reset on update.

...dtw


Post Extras: Print Post   Remind Me!   Report this Post  
FrankB
Tourist


Reged: 08/03/05
Posts: 113
Re: Solar position calculator [Re: sparqi]
      #200281 - 11/16/05 01:14 PM

I just noticed that you can change the height in the parameter of the call to the php-file: Select Edit and set HEIGHT=0 in the URL.

Thanks a lot for making it controllable this way.


Post Extras: Print Post   Remind Me!   Report this Post  
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Re: Solar position calculator [Re: FrankB]
      #200883 - 11/17/05 01:06 AM

No worries.
I personally prefer it at ground level, but quite a few people had asked for the height to be adjustable. So I thought I would add the functionality.

Paul.


Post Extras: Print Post   Remind Me!   Report this Post  
PaulBuxton
Tourist


Reged: 07/25/05
Posts: 16
Re: Solar position calculator [Re: sparqi]
      #200895 - 11/17/05 01:28 AM

If you edit the height parameter the it should be ok.
E.g.
Change
http://www.gelp.net\files\sun.php?ISKML=1&HEIGHT=2000000
to
http://www.gelp.net\files\sun.php?ISKML=1&HEIGHT=0


Post Extras: Print Post   Remind Me!   Report this Post  
CyBeR7
Tourist


Reged: 08/21/05
Posts: 62
Loc: Riachos, Portugal
Re: Solar position calculator [Re: PaulBuxton]
      #245852 - 12/24/05 06:08 PM

Hi! I don't know what happened because i'm using this link http://www.gelp.net\files\sun.php?ISKML=1&HEIGHT=2000000 and my sun just felt down to ground level a couple of days ago. Is this problem occourring to others too?
answer plz. Great app and it's a pitty that its not running well

2006/01/19 - Thanks for fixing the file

Edited by CyBeR7 (01/18/06 04:28 PM)


Post Extras: Print Post   Remind Me!   Report this Post  
sunposition
Tourist


Reged: 01/18/06
Posts: 21
Loc: Fuengirola, Malaga, Spain
Re: Solar position calculator [Re: Tiresias]
      #278772 - 01/18/06 01:23 PM

SunPosition Online, from sunposition.net, 100% spot on. Uses Magnetic declination so if you select 'True north' the calculations are ajusted for compasses, you can also select from a 'True north' calculation. To get access to all 48,000 odd locations you will need to sign up, non members get 'limited' access to just over 8,000 locations. Sun's azimuth, altitude, and shadow factor calculated at 15 minute intervals 'Members' for your date or date range, you even get a graph. Members can calculate for their own latitude and longitude locations, save locations to their favourites menu for quick access. The application makes calculations for the magnetic declination for every location. There is no easier or more an accurate way of getting these calculations 'as far as I know or can find' than SunPosition by http://sunposition.net/

Hope this helps

--------------------
SunPosition - Calculate the sun's position online.
Over 48,000 preset locations.
Web: http://www.sunposition.net

Edited by sunposition (05/01/06 07:48 AM)


Post Extras: Print Post   Remind Me!   Report this Post  
FrankB
Tourist


Reged: 08/03/05
Posts: 113
IT DOESN'T WORK ANYMORE !!! [Re: PaulBuxton]
      #727993 - 12/22/06 09:00 AM

Please fix it.

Post Extras: Print Post   Remind Me!   Report this Post  
norbre
First Post


Reged: 05/05/07
Posts: 1
Re: Solar position calculator [Re: PaulBuxton]
      #883927 - 05/05/07 02:25 AM

it is not working anymore.. somebody knows a working version of Solar Calculation in Google Earth?

Post Extras: Print Post   Remind Me!   Report this Post  
AVERMAN
Tourist


Reged: 04/24/07
Posts: 28
Loc: Sydney, Australia
Re: Solar position calculator [Re: norbre]
      #884155 - 05/05/07 07:39 AM

This thing looks cool. Pity it doesnt work no more.

--------------------




Post Extras: Print Post   Remind Me!   Report this Post  
danescombeModerator
Master Guide


Reged: 11/07/05
Posts: 10171
Loc: UK
Re: Solar position calculator [Re: AVERMAN]
      #1053991 - 11/16/07 04:33 PM

New Solar position calculator available HERE

Edited by danescombe (11/16/07 04:43 PM)


Post Extras: Print Post   Remind Me!   Report this Post  
Kaligus
Tourist


Reged: 01/26/08
Posts: 2
Re: Solar position calculator [Re: danescombe]
      #1101749 - 01/26/08 02:51 AM

Does anyone know if the lunar position ever came about?

Post Extras: Print Post   Remind Me!   Report this Post  
Pages: 1 | 2 | 3 | 4 | >> (show all)




Extra information
0 registered and 5 anonymous users are browsing this forum.

Moderator:  Hill, Jumble, Kempster, mcshea98, jeffryv, dulce, esterrett, NormB, Frank_McVey, BeadieJay, TheLedge, Cyclonic, no_stranger, LuciaM, tekgergedan, Noisette, danescombe, Michal_Drewniak, mutex, marinerfan, Delta102, bebop, MarkAubin 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating: *****
Topic views: 33197

Rate this topic

Jump to