140
edits
Line 126: | Line 126: | ||
[[File:ISS_notifier_2021-05-19.png|400px]] | [[File:ISS_notifier_2021-05-19.png|400px]] | ||
Processing TLE files and orbital data was sidestepped by relying on [http://open-notify.org/Open-Notify-API/ISS-Location-Now/ open-notify.org] and processing [https://json.org/ JSON] data. The distance (on earth) to the city center of Weimar (at 50.979444, 11.329722) calculated using the euclidian distance as a metric. To simplify the math it is assumed that the world is flat and the [https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84 WGS 84] reference system is ignored. This is ok for small distances where the curvature of the earth does not result in too much of an error. | |||
Lessons learned: | |||
* sometimes you can find an API for exactly the data you need | |||
* occasionally ignoring the material reality is feasible on very narrow bounds | |||
* school math turned out to be useful | |||
== references == | == references == | ||
* [https://en.wikipedia.org/wiki/International_Space_Station wikipedia: International Space Station] | * [https://en.wikipedia.org/wiki/International_Space_Station wikipedia: International Space Station] | ||
* [https://en.wikipedia.org/wiki/Two-line_element_set wikipedia: two-line element set (TLE)] | * [https://en.wikipedia.org/wiki/Two-line_element_set wikipedia: two-line element set (TLE)] |
edits