Community mapy.com Mapy.com Community
    • Categories
    • Popular
    • Categories
    • Login

    Distance calculation algorithm

    Scheduled Pinned Locked Moved Feedback & Suggestions | Připomínky a návrhy
    6 Posts 2 Posters 70 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jan RichterJ Offline
      Jan Richter
      last edited by

      Does the distance calculation algorithm used by mapy.com account for elevation, or is it just flat projection measurement as I would do on a paper map? I am getting quite different distance information when I compare the planned route and a recorded GPS track. It is like 12km planned and 16km in reality with no major glitches in the GPS recording. The terrain was not flat, but not alpine either.

      1 Reply Last reply Reply Quote 0
      • Jan BuriánekJ Offline
        Jan Buriánek Mapsters Premium
        last edited by

        No mapping websites (including those using the Mercator projection, such as mapy.com) take the elevation profile into account when calculating route distance.
        The distance is always measured “in 2D” — along the Earth’s surface (sphere/ellipsoid), plus any accumulated ascent/descent shown separately.

        The difference between the planned route and the recorded GPS track is usually caused by GPS inaccuracy and lateral drift (“track jitter”), not by elevation changes.
        The planned route length is generally very accurate, while the distance measured from a recorded track can easily become inflated due to small side deviations in the recording.

        Jan RichterJ 1 Reply Last reply Reply Quote 0
        • Jan BuriánekJ Offline
          Jan Buriánek Mapsters Premium
          last edited by

          More info here or here.

          1 Reply Last reply Reply Quote 0
          • Jan RichterJ Offline
            Jan Richter @Jan Buriánek
            last edited by

            @Jan-Buriánek Thanks for the info. I wonder why the elevation is not accounted for when the information is there. I believe it can be some difference when the terrain is hilly, not to mention really mountainous terrain.

            1 Reply Last reply Reply Quote 0
            • Jan BuriánekJ Offline
              Jan Buriánek Mapsters Premium
              last edited by Jan Buriánek

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Jan BuriánekJ Offline
                Jan Buriánek Mapsters Premium
                last edited by Jan Buriánek

                Hi, I have processed the issue of elevation gain not being taken into account when measuring distance into a web page here.

                I performed the analyses on my website gpxmapy.cz, where I added the possibility to display distance values with elevation taken into account for comparison purposes. It turned out that differences greater than 1% are only possible in high mountain terrain.

                The page also briefly explains the principle of distance calculation on a route — the difference between a planned route and a recorded track is always caused by inaccuracies in the recording.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Mapy.com are part of Seznam.cz, a.s. – all rights reserved. Powered by excellent NodeBB
                NodeBB & contributors, OSM & contributors
                Terms of Use   Privacy Policy