Geography in 3D perspective












2












$begingroup$


I would like to make map a GeoGraphics with GeoMarkers in the pseudo 3D perspective. For example, consider this plot of the Eiffel Tower:



enter image description here



I would like to reproduce it in a 3D perspective like this:



enter image description here



Both examples come from google maps, I’m not sure if this is possible in 11.3, but would love to know.










share|improve this question









$endgroup$

















    2












    $begingroup$


    I would like to make map a GeoGraphics with GeoMarkers in the pseudo 3D perspective. For example, consider this plot of the Eiffel Tower:



    enter image description here



    I would like to reproduce it in a 3D perspective like this:



    enter image description here



    Both examples come from google maps, I’m not sure if this is possible in 11.3, but would love to know.










    share|improve this question









    $endgroup$















      2












      2








      2


      2



      $begingroup$


      I would like to make map a GeoGraphics with GeoMarkers in the pseudo 3D perspective. For example, consider this plot of the Eiffel Tower:



      enter image description here



      I would like to reproduce it in a 3D perspective like this:



      enter image description here



      Both examples come from google maps, I’m not sure if this is possible in 11.3, but would love to know.










      share|improve this question









      $endgroup$




      I would like to make map a GeoGraphics with GeoMarkers in the pseudo 3D perspective. For example, consider this plot of the Eiffel Tower:



      enter image description here



      I would like to reproduce it in a 3D perspective like this:



      enter image description here



      Both examples come from google maps, I’m not sure if this is possible in 11.3, but would love to know.







      geography geographics






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      M.R.M.R.

      15.7k558188




      15.7k558188






















          1 Answer
          1






          active

          oldest

          votes


















          5












          $begingroup$

          You could use an orthographic with a custom centering:



          GeoGraphics[
          Entity["Building", "EiffelTower::5h9w8"],
          GeoProjection -> {"Orthographic", "Centering" -> GeoPosition[{-30.858`, 2.295`}]},
          GeoZoomLevel -> 18,
          GeoRange -> {{48.852`, 48.872`}, {2.2895`, 2.2995`}}
          ]




          Note that this does incorporate the curvature of the earth and will be noticeable over larger areas.



          If you're after something flat, you could always inset the tiles in 3D and pick custom View* values. Note I pad the range to allow the map to be seen at an angle:



          im = GeoImage[
          Entity["Building", "EiffelTower::5h9w8"],
          "StreetMapNoLabels",
          GeoZoomLevel -> 17,
          GeoRange -> {{48.852`, 48.872`}, {2.285`, 2.305`}}
          ];

          {x, y} = ImageDimensions[im];

          Graphics3D[
          {Texture[im], EdgeForm, Polygon[{{0, 0, 0}, {x, 0, 0}, {x, y, 0}, {0, y, 0}},
          VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}]},
          Background -> Black,
          Boxed -> False,
          Lighting -> "Neutral",
          ViewAngle -> 0.03233723833101999`,
          ViewCenter -> {{0.5`, 0.5`, 0.5`}, {1.4456583184354543`, 0.7806170277104297`}},
          ViewPoint -> {1.076788325190908`, -3.1635309749673284`, 0.5316001064285271`},
          ViewVertical -> {0.00011882147473772082`, -0.00015290540260965785`, 0.9999999812506973`}
          ]


          enter image description here






          share|improve this answer











          $endgroup$













          • $begingroup$
            This isn't working with my geomarkers, is there some hack for that?
            $endgroup$
            – M.R.
            6 mins ago










          • $begingroup$
            Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
            $endgroup$
            – Chip Hurst
            48 secs ago











          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: "387"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f193444%2fgeography-in-3d-perspective%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









          5












          $begingroup$

          You could use an orthographic with a custom centering:



          GeoGraphics[
          Entity["Building", "EiffelTower::5h9w8"],
          GeoProjection -> {"Orthographic", "Centering" -> GeoPosition[{-30.858`, 2.295`}]},
          GeoZoomLevel -> 18,
          GeoRange -> {{48.852`, 48.872`}, {2.2895`, 2.2995`}}
          ]




          Note that this does incorporate the curvature of the earth and will be noticeable over larger areas.



          If you're after something flat, you could always inset the tiles in 3D and pick custom View* values. Note I pad the range to allow the map to be seen at an angle:



          im = GeoImage[
          Entity["Building", "EiffelTower::5h9w8"],
          "StreetMapNoLabels",
          GeoZoomLevel -> 17,
          GeoRange -> {{48.852`, 48.872`}, {2.285`, 2.305`}}
          ];

          {x, y} = ImageDimensions[im];

          Graphics3D[
          {Texture[im], EdgeForm, Polygon[{{0, 0, 0}, {x, 0, 0}, {x, y, 0}, {0, y, 0}},
          VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}]},
          Background -> Black,
          Boxed -> False,
          Lighting -> "Neutral",
          ViewAngle -> 0.03233723833101999`,
          ViewCenter -> {{0.5`, 0.5`, 0.5`}, {1.4456583184354543`, 0.7806170277104297`}},
          ViewPoint -> {1.076788325190908`, -3.1635309749673284`, 0.5316001064285271`},
          ViewVertical -> {0.00011882147473772082`, -0.00015290540260965785`, 0.9999999812506973`}
          ]


          enter image description here






          share|improve this answer











          $endgroup$













          • $begingroup$
            This isn't working with my geomarkers, is there some hack for that?
            $endgroup$
            – M.R.
            6 mins ago










          • $begingroup$
            Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
            $endgroup$
            – Chip Hurst
            48 secs ago
















          5












          $begingroup$

          You could use an orthographic with a custom centering:



          GeoGraphics[
          Entity["Building", "EiffelTower::5h9w8"],
          GeoProjection -> {"Orthographic", "Centering" -> GeoPosition[{-30.858`, 2.295`}]},
          GeoZoomLevel -> 18,
          GeoRange -> {{48.852`, 48.872`}, {2.2895`, 2.2995`}}
          ]




          Note that this does incorporate the curvature of the earth and will be noticeable over larger areas.



          If you're after something flat, you could always inset the tiles in 3D and pick custom View* values. Note I pad the range to allow the map to be seen at an angle:



          im = GeoImage[
          Entity["Building", "EiffelTower::5h9w8"],
          "StreetMapNoLabels",
          GeoZoomLevel -> 17,
          GeoRange -> {{48.852`, 48.872`}, {2.285`, 2.305`}}
          ];

          {x, y} = ImageDimensions[im];

          Graphics3D[
          {Texture[im], EdgeForm, Polygon[{{0, 0, 0}, {x, 0, 0}, {x, y, 0}, {0, y, 0}},
          VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}]},
          Background -> Black,
          Boxed -> False,
          Lighting -> "Neutral",
          ViewAngle -> 0.03233723833101999`,
          ViewCenter -> {{0.5`, 0.5`, 0.5`}, {1.4456583184354543`, 0.7806170277104297`}},
          ViewPoint -> {1.076788325190908`, -3.1635309749673284`, 0.5316001064285271`},
          ViewVertical -> {0.00011882147473772082`, -0.00015290540260965785`, 0.9999999812506973`}
          ]


          enter image description here






          share|improve this answer











          $endgroup$













          • $begingroup$
            This isn't working with my geomarkers, is there some hack for that?
            $endgroup$
            – M.R.
            6 mins ago










          • $begingroup$
            Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
            $endgroup$
            – Chip Hurst
            48 secs ago














          5












          5








          5





          $begingroup$

          You could use an orthographic with a custom centering:



          GeoGraphics[
          Entity["Building", "EiffelTower::5h9w8"],
          GeoProjection -> {"Orthographic", "Centering" -> GeoPosition[{-30.858`, 2.295`}]},
          GeoZoomLevel -> 18,
          GeoRange -> {{48.852`, 48.872`}, {2.2895`, 2.2995`}}
          ]




          Note that this does incorporate the curvature of the earth and will be noticeable over larger areas.



          If you're after something flat, you could always inset the tiles in 3D and pick custom View* values. Note I pad the range to allow the map to be seen at an angle:



          im = GeoImage[
          Entity["Building", "EiffelTower::5h9w8"],
          "StreetMapNoLabels",
          GeoZoomLevel -> 17,
          GeoRange -> {{48.852`, 48.872`}, {2.285`, 2.305`}}
          ];

          {x, y} = ImageDimensions[im];

          Graphics3D[
          {Texture[im], EdgeForm, Polygon[{{0, 0, 0}, {x, 0, 0}, {x, y, 0}, {0, y, 0}},
          VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}]},
          Background -> Black,
          Boxed -> False,
          Lighting -> "Neutral",
          ViewAngle -> 0.03233723833101999`,
          ViewCenter -> {{0.5`, 0.5`, 0.5`}, {1.4456583184354543`, 0.7806170277104297`}},
          ViewPoint -> {1.076788325190908`, -3.1635309749673284`, 0.5316001064285271`},
          ViewVertical -> {0.00011882147473772082`, -0.00015290540260965785`, 0.9999999812506973`}
          ]


          enter image description here






          share|improve this answer











          $endgroup$



          You could use an orthographic with a custom centering:



          GeoGraphics[
          Entity["Building", "EiffelTower::5h9w8"],
          GeoProjection -> {"Orthographic", "Centering" -> GeoPosition[{-30.858`, 2.295`}]},
          GeoZoomLevel -> 18,
          GeoRange -> {{48.852`, 48.872`}, {2.2895`, 2.2995`}}
          ]




          Note that this does incorporate the curvature of the earth and will be noticeable over larger areas.



          If you're after something flat, you could always inset the tiles in 3D and pick custom View* values. Note I pad the range to allow the map to be seen at an angle:



          im = GeoImage[
          Entity["Building", "EiffelTower::5h9w8"],
          "StreetMapNoLabels",
          GeoZoomLevel -> 17,
          GeoRange -> {{48.852`, 48.872`}, {2.285`, 2.305`}}
          ];

          {x, y} = ImageDimensions[im];

          Graphics3D[
          {Texture[im], EdgeForm, Polygon[{{0, 0, 0}, {x, 0, 0}, {x, y, 0}, {0, y, 0}},
          VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}]},
          Background -> Black,
          Boxed -> False,
          Lighting -> "Neutral",
          ViewAngle -> 0.03233723833101999`,
          ViewCenter -> {{0.5`, 0.5`, 0.5`}, {1.4456583184354543`, 0.7806170277104297`}},
          ViewPoint -> {1.076788325190908`, -3.1635309749673284`, 0.5316001064285271`},
          ViewVertical -> {0.00011882147473772082`, -0.00015290540260965785`, 0.9999999812506973`}
          ]


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 hours ago

























          answered 2 hours ago









          Chip HurstChip Hurst

          22.3k15791




          22.3k15791












          • $begingroup$
            This isn't working with my geomarkers, is there some hack for that?
            $endgroup$
            – M.R.
            6 mins ago










          • $begingroup$
            Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
            $endgroup$
            – Chip Hurst
            48 secs ago


















          • $begingroup$
            This isn't working with my geomarkers, is there some hack for that?
            $endgroup$
            – M.R.
            6 mins ago










          • $begingroup$
            Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
            $endgroup$
            – Chip Hurst
            48 secs ago
















          $begingroup$
          This isn't working with my geomarkers, is there some hack for that?
          $endgroup$
          – M.R.
          6 mins ago




          $begingroup$
          This isn't working with my geomarkers, is there some hack for that?
          $endgroup$
          – M.R.
          6 mins ago












          $begingroup$
          Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
          $endgroup$
          – Chip Hurst
          48 secs ago




          $begingroup$
          Ah I overlooked that part of your question, sorry. I’m assuming you want them orthogonal to the map facing the view point?
          $endgroup$
          – Chip Hurst
          48 secs ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematica 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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f193444%2fgeography-in-3d-perspective%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

          Statuo de Libereco

          Tanganjiko

          Liste der Baudenkmäler in Enneberg