How to calculate distance from the International Space Station given coordinates?











up vote
2
down vote

favorite
1












How would one calculate how far away a point is (latitude/longitude) from the international space station given its latitude/longitude/altitude? The distance would be direct as if drawing a straight line from the two points, even if on the other side of the Earth.










share|cite|improve this question




















  • 5




    Maybe convert your location and the location of ISS into rectangular coordinates?
    – peterwhy
    Aug 31 '15 at 20:55










  • If you want it to be very precise, you also need to know the radius of Earth at both points. IOW distance from the center of Earth rather than the altitude.
    – Jyrki Lahtonen
    Aug 31 '15 at 21:03















up vote
2
down vote

favorite
1












How would one calculate how far away a point is (latitude/longitude) from the international space station given its latitude/longitude/altitude? The distance would be direct as if drawing a straight line from the two points, even if on the other side of the Earth.










share|cite|improve this question




















  • 5




    Maybe convert your location and the location of ISS into rectangular coordinates?
    – peterwhy
    Aug 31 '15 at 20:55










  • If you want it to be very precise, you also need to know the radius of Earth at both points. IOW distance from the center of Earth rather than the altitude.
    – Jyrki Lahtonen
    Aug 31 '15 at 21:03













up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





How would one calculate how far away a point is (latitude/longitude) from the international space station given its latitude/longitude/altitude? The distance would be direct as if drawing a straight line from the two points, even if on the other side of the Earth.










share|cite|improve this question















How would one calculate how far away a point is (latitude/longitude) from the international space station given its latitude/longitude/altitude? The distance would be direct as if drawing a straight line from the two points, even if on the other side of the Earth.







geometry algorithms






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 31 '15 at 21:01









Rob Arthan

28.8k42866




28.8k42866










asked Aug 31 '15 at 20:40









Orbit

1111




1111








  • 5




    Maybe convert your location and the location of ISS into rectangular coordinates?
    – peterwhy
    Aug 31 '15 at 20:55










  • If you want it to be very precise, you also need to know the radius of Earth at both points. IOW distance from the center of Earth rather than the altitude.
    – Jyrki Lahtonen
    Aug 31 '15 at 21:03














  • 5




    Maybe convert your location and the location of ISS into rectangular coordinates?
    – peterwhy
    Aug 31 '15 at 20:55










  • If you want it to be very precise, you also need to know the radius of Earth at both points. IOW distance from the center of Earth rather than the altitude.
    – Jyrki Lahtonen
    Aug 31 '15 at 21:03








5




5




Maybe convert your location and the location of ISS into rectangular coordinates?
– peterwhy
Aug 31 '15 at 20:55




Maybe convert your location and the location of ISS into rectangular coordinates?
– peterwhy
Aug 31 '15 at 20:55












If you want it to be very precise, you also need to know the radius of Earth at both points. IOW distance from the center of Earth rather than the altitude.
– Jyrki Lahtonen
Aug 31 '15 at 21:03




If you want it to be very precise, you also need to know the radius of Earth at both points. IOW distance from the center of Earth rather than the altitude.
– Jyrki Lahtonen
Aug 31 '15 at 21:03










1 Answer
1






active

oldest

votes

















up vote
2
down vote













If $r$ is the distance from the Earth's centre, $phi$ is the longitude in radians (increasing from zero at Greenwich as one goes eastwards) and $theta$ is the
latitude in radians (increasing from zero at the Equator as one goes northwards), then
the $(x,y,z)$ coordinates are given by:



$$p(r,phi, theta) = r(cos phi cos theta, cos phi sin theta, sin phi)$$



Given two sets of coordinates $(r_k,phi_k, theta_k)$, the distance is given
by $|p(r_1,phi_1, theta_1)-p(r_2,phi_2, theta_2)|$.



In your case, we can take $r_1=R$, $r_2=R+A$, where $R$ is the radius of the Earth (I'm assuming a nice sphere, of course) and $A$ is the altitude of the
station above the surface of the Earth.






share|cite|improve this answer























  • in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
    – Orbit
    Aug 31 '15 at 22:10










  • $p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
    – copper.hat
    Aug 31 '15 at 22:29












  • That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
    – Orbit
    Aug 31 '15 at 22:35










  • I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
    – copper.hat
    Aug 31 '15 at 22:42













Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1416288%2fhow-to-calculate-distance-from-the-international-space-station-given-coordinates%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













If $r$ is the distance from the Earth's centre, $phi$ is the longitude in radians (increasing from zero at Greenwich as one goes eastwards) and $theta$ is the
latitude in radians (increasing from zero at the Equator as one goes northwards), then
the $(x,y,z)$ coordinates are given by:



$$p(r,phi, theta) = r(cos phi cos theta, cos phi sin theta, sin phi)$$



Given two sets of coordinates $(r_k,phi_k, theta_k)$, the distance is given
by $|p(r_1,phi_1, theta_1)-p(r_2,phi_2, theta_2)|$.



In your case, we can take $r_1=R$, $r_2=R+A$, where $R$ is the radius of the Earth (I'm assuming a nice sphere, of course) and $A$ is the altitude of the
station above the surface of the Earth.






share|cite|improve this answer























  • in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
    – Orbit
    Aug 31 '15 at 22:10










  • $p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
    – copper.hat
    Aug 31 '15 at 22:29












  • That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
    – Orbit
    Aug 31 '15 at 22:35










  • I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
    – copper.hat
    Aug 31 '15 at 22:42

















up vote
2
down vote













If $r$ is the distance from the Earth's centre, $phi$ is the longitude in radians (increasing from zero at Greenwich as one goes eastwards) and $theta$ is the
latitude in radians (increasing from zero at the Equator as one goes northwards), then
the $(x,y,z)$ coordinates are given by:



$$p(r,phi, theta) = r(cos phi cos theta, cos phi sin theta, sin phi)$$



Given two sets of coordinates $(r_k,phi_k, theta_k)$, the distance is given
by $|p(r_1,phi_1, theta_1)-p(r_2,phi_2, theta_2)|$.



In your case, we can take $r_1=R$, $r_2=R+A$, where $R$ is the radius of the Earth (I'm assuming a nice sphere, of course) and $A$ is the altitude of the
station above the surface of the Earth.






share|cite|improve this answer























  • in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
    – Orbit
    Aug 31 '15 at 22:10










  • $p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
    – copper.hat
    Aug 31 '15 at 22:29












  • That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
    – Orbit
    Aug 31 '15 at 22:35










  • I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
    – copper.hat
    Aug 31 '15 at 22:42















up vote
2
down vote










up vote
2
down vote









If $r$ is the distance from the Earth's centre, $phi$ is the longitude in radians (increasing from zero at Greenwich as one goes eastwards) and $theta$ is the
latitude in radians (increasing from zero at the Equator as one goes northwards), then
the $(x,y,z)$ coordinates are given by:



$$p(r,phi, theta) = r(cos phi cos theta, cos phi sin theta, sin phi)$$



Given two sets of coordinates $(r_k,phi_k, theta_k)$, the distance is given
by $|p(r_1,phi_1, theta_1)-p(r_2,phi_2, theta_2)|$.



In your case, we can take $r_1=R$, $r_2=R+A$, where $R$ is the radius of the Earth (I'm assuming a nice sphere, of course) and $A$ is the altitude of the
station above the surface of the Earth.






share|cite|improve this answer














If $r$ is the distance from the Earth's centre, $phi$ is the longitude in radians (increasing from zero at Greenwich as one goes eastwards) and $theta$ is the
latitude in radians (increasing from zero at the Equator as one goes northwards), then
the $(x,y,z)$ coordinates are given by:



$$p(r,phi, theta) = r(cos phi cos theta, cos phi sin theta, sin phi)$$



Given two sets of coordinates $(r_k,phi_k, theta_k)$, the distance is given
by $|p(r_1,phi_1, theta_1)-p(r_2,phi_2, theta_2)|$.



In your case, we can take $r_1=R$, $r_2=R+A$, where $R$ is the radius of the Earth (I'm assuming a nice sphere, of course) and $A$ is the altitude of the
station above the surface of the Earth.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Aug 31 '15 at 22:43

























answered Aug 31 '15 at 21:07









copper.hat

125k559159




125k559159












  • in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
    – Orbit
    Aug 31 '15 at 22:10










  • $p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
    – copper.hat
    Aug 31 '15 at 22:29












  • That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
    – Orbit
    Aug 31 '15 at 22:35










  • I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
    – copper.hat
    Aug 31 '15 at 22:42




















  • in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
    – Orbit
    Aug 31 '15 at 22:10










  • $p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
    – copper.hat
    Aug 31 '15 at 22:29












  • That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
    – Orbit
    Aug 31 '15 at 22:35










  • I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
    – copper.hat
    Aug 31 '15 at 22:42


















in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
– Orbit
Aug 31 '15 at 22:10




in your equation, what is the p in p(r,ϕ,θ) as well as k in (rk,ϕk,θk)?
– Orbit
Aug 31 '15 at 22:10












$p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
– copper.hat
Aug 31 '15 at 22:29






$p$ is a function $p:[0,infty) times [0,2 pi] times [-pi,pi] to mathbb{R}^3$. The $k$ is $1$ or $2$ and just selects one of a pair of coordinates.
– copper.hat
Aug 31 '15 at 22:29














That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
– Orbit
Aug 31 '15 at 22:35




That just gave me more questions =/ haha. If you have the time, could you provide an example using lat/long/alt with your first answers equations? I think that would help me understand the equation.
– Orbit
Aug 31 '15 at 22:35












I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
– copper.hat
Aug 31 '15 at 22:42






I'm not sure what you are having issues with. Just substitute the various values in and compute. The radius of the Earth is about 6,400km, the ISS is about 400km above the surface, so $r_1 =6400, r_2 = 6800$. Then substitute the longitudes & latitudes (in radians) to compute the $(x,y,z)$ coordinates of the two points and then compute the Euclidean distance between the two points.
– copper.hat
Aug 31 '15 at 22:42




















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1416288%2fhow-to-calculate-distance-from-the-international-space-station-given-coordinates%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wiesbaden

Marschland

Dieringhausen