Open qdinar opened 3 years ago
Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.
Does OSM also provide a horizon polygon on the fly? Else that location elevation (which could also be retrieved from SRTM 1") alone will not be enough.
Does OSM also provide a horizon polygon on the fly? Else that location elevation (which could also be retrieved from SRTM 1") alone will not be enough.
i do not know. probably not. why do say it is not enough? maybe because there is not a ready published algorithm to calculate that horizon line? i tried to search "calculate horizon line from surface elevation" and i see there some appropriate results on first page of the google results, but they are texts with formulas, not schematic or programming language.
Think again. To compute your horizon you need your own elevation and that of the point forming the horizon. You don't know in advance which point that will be, so you have to sample the terrain map multiple times into every direction (azimuth) to find out.
and how long that job is, do you think? or how much flops or watts*hours or other units?
See the User Guide, chapter 7, for some approaches to artificial horizons from geodata.
Is your feature request related to a problem? Please describe. stellarium does not show sun set and rise time correctly taking elevation in account
Describe the solution you'd like there are 10m precise earth surface elevation map in openstreetmap bicycle map, probably it is allowed to use. it can be used to show sun and other object set and rise times.
Describe alternatives you've considered none
Additional context somebody may be interested in this type of calculation of sets and rises. for example, in islam, prayer time is with the visible sets and rises of sun, as i know.