• iie [they/them, he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    A “straight line on a curved surface” is called a geodesic. It’s the path a tiny car would drive on the surface if you didn’t move the steering wheel. Generally it’s the shortest path between two points on the surface, although that definition gets iffy for long paths that start to loop back — obviously, going 90% of the way around the equator is longer than going 10% in the other direction, even though both paths would be geodesics. I prefer the car explanation.

    • Slatlun@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      The earth isn’t a sphere though. Even if that has less error it is not none. A geodesic path would also not be straight because of the shape of the earth.

      • iie [they/them, he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        The question asks for an approximate answer, so you can approximate the earth as a sphere. Your path will be roughly correct, since the earth’s deviation from being a sphere is extremely small, on the order of a few kilometers.

        • Slatlun@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          Sorry, I shoul’ve said. The earth isn’t a sphere, ellipsoid, or other regular geometric shape. The ocean’s surface is less so and changes by the tides. Those shapes can work to model the surface locally and globally depending on accuracy needed but are inherently flawed.

          Person 1: Does that matter? Person 2: No, let’s just simplify. Person 1: Ok, well we can really simplify using a Mercator projection. Person 2: You’re doing it wrong. We need to simplify the part that makes the line not straight, but not so much that it looks bendy again. Our projection needs to be at the level that makes the answer I want to be true look right. Person 1: Does the question even make any sense in this context then?

          • iie [they/them, he/him]@hexbear.net
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            3 months ago

            It doesn’t have to be a regular geometric shape. Any conceivable surface, no matter how awkward and lumpy — unless you have some infinitely rough mathematical object or other weird thing that doesn’t exist in real life — will permit the definition of geodesic curves.

            But also, how much detail you account for is inherently a subjective decision tied to the level of precision you need for your specific application. Are you going to consider every whitecap and speck of foam when you describe your path? That depends! If your goal is to steer an ocean liner in a roughly straight line without hitting any landmasses, then probably not!

            If you’re a satellite looking for sea-level defects due to gravitational anomalies, then you might need a little more precision.