Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    There's been talk on the Fedi about why online maps like OSM and Google use the Mercator projection, and I think it needs a bit of clarification.

    Pianificato Fissato Bloccato Spostato Uncategorized
    mapscartographyopenstreetmap
    6 Post 2 Autori 11 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • futzle@old.mermaid.townF Questo utente è esterno a questo forum
      futzle@old.mermaid.town
      ultima modifica di

      There's been talk on the Fedi about why online maps like OSM and Google use the Mercator projection, and I think it needs a bit of clarification. (Do NOT snitch tag.)

      Online maps are _mostly_ used at small scales, of a district or a city. At these scales, the earth is approximately flat, so users expect a map that is _conformal_, one that preserves angles and shapes.

      Online maps are continuously zoomable from continents down to your house. They usually aren't rendered on your browser straight from vectors, but are batch-rendered offline into square tile images. If you're on a slowish Internet connection, you can see them loading individually.

      As you zoom an online map, tiles get replaced with higher-resolution ones, and as you scroll, tiles get filled in to fill the gaps. You could theoretically scroll and zoom forever, so the map needs to not have a magically special reference latitude or longitude. These constrains mean that the map needs to be _equatorial_, so that no point gets special treatment, and _cylindrical_, so that meridians are vertical and lines of latitude are horizontal.

      And which is the map projection that is all of equatorial, cylindrical and conformal? Mercator!

      #Maps #Cartography #OpenStreetMap

      futzle@old.mermaid.townF 1 Risposta Ultima Risposta Rispondi Cita 0
      • futzle@old.mermaid.townF Questo utente è esterno a questo forum
        futzle@old.mermaid.town @futzle@old.mermaid.town
        ultima modifica di

        Mercator's world map of 1569 was useful to navigators at the time because it is conformal (preserving angles) even over long distances. You could draw a line between source and destination, read off the constant bearing, and point your ship in that direction for days or weeks, and you'd arrive at your destination. This line is called a "rhumb line", or (and I love this word) a "loxodrome".

        Rhumb lines are absolutely not the shortest route between two points. That would be a great circle route, but computing a great circle requires spherical trigonometry, which is something that navigators were loath to mess with (as your bearing changes over the course of traversing a great circle, so it requires constant attention). Great circles have certainly been used by navigators for a long time, particularly in aviation where carrying your fuel is a factor. Now of course, ubiquitous computing and GPS makes great circles easy, and rhumb lines are just a historical curiosity.

        But because of the properties of Mercator being coincidentally convenient for online maps, we find ourselves back in the 16th Century with a default projection that is frankly bad at large scales.

        #Maps #Cartography

        futzle@old.mermaid.townF 1 Risposta Ultima Risposta Rispondi Cita 1 0
        • futzle@old.mermaid.townF Questo utente è esterno a questo forum
          futzle@old.mermaid.town @futzle@old.mermaid.town
          ultima modifica di

          Interestingly, I see that Apple Maps (on iOS and macOS) wraps its tiles onto a sphere, and plots place names and other text live and undistorted onto the viewport. Google and OSM web are the old guard, steadfast in using Mercator.

          Edit: And Google Maps has a checkbox to enable sphere projection too, TIL.

          valhalla@social.gl-como.itV 1 Risposta Ultima Risposta Rispondi Cita 0
          • gustavinobevilacqua@mastodon.cisti.orgG gustavinobevilacqua@mastodon.cisti.org shared this topic on
          • valhalla@social.gl-como.itV Questo utente è esterno a questo forum
            valhalla@social.gl-como.it @futzle@old.mermaid.town
            ultima modifica di

            @futzle I think that marble ( marble.kde.org/ ) wraps pre-rendered tiles from various sources onto a sphere without rendering the names separately and at times the effects are interesting, but then that's what you get when you use tiles that were supposed to be used for small scales

            (it also offers vector maps rendered on the fly, and stuff like historical maps)

            futzle@old.mermaid.townF 1 Risposta Ultima Risposta Rispondi Cita 0
            • futzle@old.mermaid.townF Questo utente è esterno a questo forum
              futzle@old.mermaid.town @valhalla@social.gl-como.it
              ultima modifica di

              @valhalla Someone alerted me to marble's existence a couple of hours ago. Very neat.

              valhalla@social.gl-como.itV 1 Risposta Ultima Risposta Rispondi Cita 0
              • valhalla@social.gl-como.itV Questo utente è esterno a questo forum
                valhalla@social.gl-como.it @futzle@old.mermaid.town
                ultima modifica di

                @futzle yeah, that post arrived to my instance just after I had finished writing mine :D
                1 Risposta Ultima Risposta Rispondi Cita 0
                • Primo post
                  Ultimo post