Live data from Hacker News

Show HN: Google Maps Shadow Calculator

shadowcalculator.eu

1–10 of 29 posts

Re: Show HN: Google Maps Shadow Calculator

#2
As an outdoor photographer I’m constantly referring to an ephemeris[0] to check out the light situation at different times. This isn’t nearly as full featured as what I use but I love the idea of hacking something like this together with common APIs for a quick and dirty approximation.

Interesting work. Thank you.

[0]: https://app.photoephemeris.com/

Re: Show HN: Google Maps Shadow Calculator

#3
Very cool. Sorry for being "that guy" but I assume this doesn't take into account the earth surface curvature, just the relative sun position and then assumes a flat earth?

It probably not nearly significant enough on the scale of the use case described on the site, but a shadow on a sphere has a different shape than a shadow on a plane. Though that effect may cancel out depending on the map projection that was used.

Re: Show HN: Google Maps Shadow Calculator

#5
Very neat! An idea that often came up amongst coworkers while walking to a lunch spot during the hot summers was being able to get walking directions that preferred routes in shadow. We had our own routes we came up with that didn't add much time to the total trip but had a massive increase in shade versus almost none on the fastest route.

This reminds me a lot of that, though you would need good data on building heights and shapes as well as which side of the sidewalk you would walk on (if walking on both is even possible). Would love to see that get created some day.

Re: Show HN: Google Maps Shadow Calculator

#6
Awesome work! I'm using it to figure out the shadows cast by the Twin Towers (417 m. and 415 m., North and South towers, respectively) at different times of the day and different dates. They were truly gargantuan buildings.

http://shadowcalculator.eu/#/lat/40.71136008109719/lng/-74.0...

Re: Show HN: Google Maps Shadow Calculator

#7
so knowing the buliding height we could figure out which time and day the aerial picture was taken? And given time and day we could figure out how high the buildings are. Could this be used to generate large scale 3d building models automatically? Does anyone know whether this has been attempted?

Re: Show HN: Google Maps Shadow Calculator

#8
post #3

Very cool. Sorry for being "that guy" but I assume this doesn't take into account the earth surface curvature, just the relative sun position and then assumes a flat earth? It probably not nearly significant enough on the scale of the use case described on the site, but a shadow on a sphere has a different shape than a shadow on a plane. Though that effect may cancel out depending on the map projection that was used.

Assumes a flat surface, I've just tested it on a large crater [0].

[0] http://shadowcalculator.eu/#/lat/-23.928141910247348/lng/-68...

Re: Show HN: Google Maps Shadow Calculator

#9
I actually proposed something similiar to friends at google maps, that it be interesting for walking directions to advise based on which route would be most shadowed (say in the hot summer in a non humid climate where there's a huge difference between shadowed and non shadowed paths in terms of comfort.

Re: Show HN: Google Maps Shadow Calculator

#10
post #3

Very cool. Sorry for being "that guy" but I assume this doesn't take into account the earth surface curvature, just the relative sun position and then assumes a flat earth? It probably not nearly significant enough on the scale of the use case described on the site, but a shadow on a sphere has a different shape than a shadow on a plane. Though that effect may cancel out depending on the map projection that was used.

Yup, seems to treat Earth as flat, not really useful in my area (living in the valley, surrounded by high mountains from east and west - sunrise time does not mean you're going to see sun, if it's still hiding behind a mountain).
Post reply on HN