View Angle CalculationCalculating View Angle?Calculating View Angle?Calculate field of view / angle of a...

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

Is it safe to try charging my laptop with a USB-C PD charger that has less wattage than recommended?

Can we use the stored gravitational potential energy of a building to produce power?

Quenching swords in dragon blood; why?

Planet at the end of Solo: A Star Wars Story

"On one hand" vs "on the one hand."

Cryptic with missing capitals

Can pricing be copyrighted?

What's a good word to describe a public place that looks like it wouldn't be rough?

Do authors have to be politically correct in article-writing?

Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?

Does Windows 10's telemetry include sending *.doc files if Word crashed?

Manipulating a general length function

Issues with new Macs: hardware makes them difficult to use … what options might be available in the future?

Everyone is beautiful

What is the time complexity of enqueue and dequeue of a queue implemented with a singly linked list?

How would one buy a used TIE Fighter or X-Wing?

How Internet Communication Works on a Coaxial Cable

Is there a better way to make this?

How to find a specific kernel version in the Github repository?

If I delete my router's history can my ISP still provide it to my parents?

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

How is the Incom shipyard still in business?

Can a hotel cancel a confirmed reservation?



View Angle Calculation


Calculating View Angle?Calculating View Angle?Calculate field of view / angle of a point to a shapefileTrasformation from ECEF to ENURotate symbol base on polyline angleMeasuring Angle of two Points from North in ArcGIS 10.3 C# SDKHow to measure angle in QGISRotate feature by angle (QGIS)tool to output xy from an input xy, distant, and angleAdvanced Digitizing Panel angle unitsSolar angle of Incident calculation confusion!













1















In Calculating View Angle? the accepted answer contains the following calculations:




Given two points (x,y,z) and (x',y',z') in an earth-centered coordinate system, the vector from the first to the second is (dx,dy,dz) = (x'-x, y'-y, z'-z)




And then provides an example:




The XYZ coordinates of the airplanes are (x,y,z) = (1285410, -4797210, 3994830) and (x',y',z') = (1202990, -4824940, 3999870), respectively (in the ITRF00 datum, which uses the GRS80 ellipsoid). The pilot's view vector therefore is (dx,dy,dz) = (-82404.5, -27735.3, 5034.56).




What am I missing such that:



1202990 - 1285410 = -82404.5 (vice -82420)



-4824940 - -4797210 = -27735.3 (vice -27730)



3999870 - 3994830 = 5034.56 (vice 5040) ?










share|improve this question









New contributor




RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    In Calculating View Angle? the accepted answer contains the following calculations:




    Given two points (x,y,z) and (x',y',z') in an earth-centered coordinate system, the vector from the first to the second is (dx,dy,dz) = (x'-x, y'-y, z'-z)




    And then provides an example:




    The XYZ coordinates of the airplanes are (x,y,z) = (1285410, -4797210, 3994830) and (x',y',z') = (1202990, -4824940, 3999870), respectively (in the ITRF00 datum, which uses the GRS80 ellipsoid). The pilot's view vector therefore is (dx,dy,dz) = (-82404.5, -27735.3, 5034.56).




    What am I missing such that:



    1202990 - 1285410 = -82404.5 (vice -82420)



    -4824940 - -4797210 = -27735.3 (vice -27730)



    3999870 - 3994830 = 5034.56 (vice 5040) ?










    share|improve this question









    New contributor




    RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      In Calculating View Angle? the accepted answer contains the following calculations:




      Given two points (x,y,z) and (x',y',z') in an earth-centered coordinate system, the vector from the first to the second is (dx,dy,dz) = (x'-x, y'-y, z'-z)




      And then provides an example:




      The XYZ coordinates of the airplanes are (x,y,z) = (1285410, -4797210, 3994830) and (x',y',z') = (1202990, -4824940, 3999870), respectively (in the ITRF00 datum, which uses the GRS80 ellipsoid). The pilot's view vector therefore is (dx,dy,dz) = (-82404.5, -27735.3, 5034.56).




      What am I missing such that:



      1202990 - 1285410 = -82404.5 (vice -82420)



      -4824940 - -4797210 = -27735.3 (vice -27730)



      3999870 - 3994830 = 5034.56 (vice 5040) ?










      share|improve this question









      New contributor




      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      In Calculating View Angle? the accepted answer contains the following calculations:




      Given two points (x,y,z) and (x',y',z') in an earth-centered coordinate system, the vector from the first to the second is (dx,dy,dz) = (x'-x, y'-y, z'-z)




      And then provides an example:




      The XYZ coordinates of the airplanes are (x,y,z) = (1285410, -4797210, 3994830) and (x',y',z') = (1202990, -4824940, 3999870), respectively (in the ITRF00 datum, which uses the GRS80 ellipsoid). The pilot's view vector therefore is (dx,dy,dz) = (-82404.5, -27735.3, 5034.56).




      What am I missing such that:



      1202990 - 1285410 = -82404.5 (vice -82420)



      -4824940 - -4797210 = -27735.3 (vice -27730)



      3999870 - 3994830 = 5034.56 (vice 5040) ?







      coordinates angles






      share|improve this question









      New contributor




      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 2 hours ago









      PolyGeo

      53.6k1780240




      53.6k1780240






      New contributor




      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 4 hours ago









      RudolfSchmidtRudolfSchmidt

      83




      83




      New contributor




      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      RudolfSchmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          2














          The ECEF coordinates that @whuber provided appear to have been rounded to the nearest 10 meters. Looking at the revisions to the answer reveals that originally, the reference points that he used were (N39°, W75°, 4000m) and (N39°, W76°, 12000m), translating to ECEF coordinates:



          (1285408.203, -4797208.722, 3994834.304)
          (1202993.662, -4824944.042, 3999868.867)


          The vectors are then:



          dX = -82414.541
          dY = -27735.320
          dZ = 5034.563


          So they all match except dX which looks like a typo.



          EDIT



          After checking @whuber 's answer more carefully, I noticed that there is a slight issue with the methodology. The vector that is used is from the center of the Earth to the reference point, but that vector is not the appropriate "up" direction to base the calculation on. On the ellipsoid, the normal does not pass through the center of the Earth, except for the Equator or the Poles:



          enter image description here



          That difference amounts to around 0.2° at most.



          To get a slightly better result, I would suggest translating and rotating the frame to topocentric (ENU), as mentioned in this Wikipedia article. A previous version of this article used the wrong calculations, but it has been fixed.



          Also, you can take a look at this answer on Math that states the whole formulas for the calculation of the distance and angles.






          share|improve this answer


























          • Thanks for taking the time to share your knowledge! I hope to be able to do the same.

            – RudolfSchmidt
            3 hours ago











          • You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

            – FSimardGIS
            3 hours ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          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
          });


          }
          });






          RudolfSchmidt is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f314160%2fview-angle-calculation%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









          2














          The ECEF coordinates that @whuber provided appear to have been rounded to the nearest 10 meters. Looking at the revisions to the answer reveals that originally, the reference points that he used were (N39°, W75°, 4000m) and (N39°, W76°, 12000m), translating to ECEF coordinates:



          (1285408.203, -4797208.722, 3994834.304)
          (1202993.662, -4824944.042, 3999868.867)


          The vectors are then:



          dX = -82414.541
          dY = -27735.320
          dZ = 5034.563


          So they all match except dX which looks like a typo.



          EDIT



          After checking @whuber 's answer more carefully, I noticed that there is a slight issue with the methodology. The vector that is used is from the center of the Earth to the reference point, but that vector is not the appropriate "up" direction to base the calculation on. On the ellipsoid, the normal does not pass through the center of the Earth, except for the Equator or the Poles:



          enter image description here



          That difference amounts to around 0.2° at most.



          To get a slightly better result, I would suggest translating and rotating the frame to topocentric (ENU), as mentioned in this Wikipedia article. A previous version of this article used the wrong calculations, but it has been fixed.



          Also, you can take a look at this answer on Math that states the whole formulas for the calculation of the distance and angles.






          share|improve this answer


























          • Thanks for taking the time to share your knowledge! I hope to be able to do the same.

            – RudolfSchmidt
            3 hours ago











          • You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

            – FSimardGIS
            3 hours ago
















          2














          The ECEF coordinates that @whuber provided appear to have been rounded to the nearest 10 meters. Looking at the revisions to the answer reveals that originally, the reference points that he used were (N39°, W75°, 4000m) and (N39°, W76°, 12000m), translating to ECEF coordinates:



          (1285408.203, -4797208.722, 3994834.304)
          (1202993.662, -4824944.042, 3999868.867)


          The vectors are then:



          dX = -82414.541
          dY = -27735.320
          dZ = 5034.563


          So they all match except dX which looks like a typo.



          EDIT



          After checking @whuber 's answer more carefully, I noticed that there is a slight issue with the methodology. The vector that is used is from the center of the Earth to the reference point, but that vector is not the appropriate "up" direction to base the calculation on. On the ellipsoid, the normal does not pass through the center of the Earth, except for the Equator or the Poles:



          enter image description here



          That difference amounts to around 0.2° at most.



          To get a slightly better result, I would suggest translating and rotating the frame to topocentric (ENU), as mentioned in this Wikipedia article. A previous version of this article used the wrong calculations, but it has been fixed.



          Also, you can take a look at this answer on Math that states the whole formulas for the calculation of the distance and angles.






          share|improve this answer


























          • Thanks for taking the time to share your knowledge! I hope to be able to do the same.

            – RudolfSchmidt
            3 hours ago











          • You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

            – FSimardGIS
            3 hours ago














          2












          2








          2







          The ECEF coordinates that @whuber provided appear to have been rounded to the nearest 10 meters. Looking at the revisions to the answer reveals that originally, the reference points that he used were (N39°, W75°, 4000m) and (N39°, W76°, 12000m), translating to ECEF coordinates:



          (1285408.203, -4797208.722, 3994834.304)
          (1202993.662, -4824944.042, 3999868.867)


          The vectors are then:



          dX = -82414.541
          dY = -27735.320
          dZ = 5034.563


          So they all match except dX which looks like a typo.



          EDIT



          After checking @whuber 's answer more carefully, I noticed that there is a slight issue with the methodology. The vector that is used is from the center of the Earth to the reference point, but that vector is not the appropriate "up" direction to base the calculation on. On the ellipsoid, the normal does not pass through the center of the Earth, except for the Equator or the Poles:



          enter image description here



          That difference amounts to around 0.2° at most.



          To get a slightly better result, I would suggest translating and rotating the frame to topocentric (ENU), as mentioned in this Wikipedia article. A previous version of this article used the wrong calculations, but it has been fixed.



          Also, you can take a look at this answer on Math that states the whole formulas for the calculation of the distance and angles.






          share|improve this answer















          The ECEF coordinates that @whuber provided appear to have been rounded to the nearest 10 meters. Looking at the revisions to the answer reveals that originally, the reference points that he used were (N39°, W75°, 4000m) and (N39°, W76°, 12000m), translating to ECEF coordinates:



          (1285408.203, -4797208.722, 3994834.304)
          (1202993.662, -4824944.042, 3999868.867)


          The vectors are then:



          dX = -82414.541
          dY = -27735.320
          dZ = 5034.563


          So they all match except dX which looks like a typo.



          EDIT



          After checking @whuber 's answer more carefully, I noticed that there is a slight issue with the methodology. The vector that is used is from the center of the Earth to the reference point, but that vector is not the appropriate "up" direction to base the calculation on. On the ellipsoid, the normal does not pass through the center of the Earth, except for the Equator or the Poles:



          enter image description here



          That difference amounts to around 0.2° at most.



          To get a slightly better result, I would suggest translating and rotating the frame to topocentric (ENU), as mentioned in this Wikipedia article. A previous version of this article used the wrong calculations, but it has been fixed.



          Also, you can take a look at this answer on Math that states the whole formulas for the calculation of the distance and angles.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 39 mins ago

























          answered 3 hours ago









          FSimardGISFSimardGIS

          1,38129




          1,38129













          • Thanks for taking the time to share your knowledge! I hope to be able to do the same.

            – RudolfSchmidt
            3 hours ago











          • You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

            – FSimardGIS
            3 hours ago



















          • Thanks for taking the time to share your knowledge! I hope to be able to do the same.

            – RudolfSchmidt
            3 hours ago











          • You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

            – FSimardGIS
            3 hours ago

















          Thanks for taking the time to share your knowledge! I hope to be able to do the same.

          – RudolfSchmidt
          3 hours ago





          Thanks for taking the time to share your knowledge! I hope to be able to do the same.

          – RudolfSchmidt
          3 hours ago













          You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

          – FSimardGIS
          3 hours ago





          You're welcome. Also, you can have a look at my answer on Math StackExchange, which describes the full formulas as well.

          – FSimardGIS
          3 hours ago










          RudolfSchmidt is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          RudolfSchmidt is a new contributor. Be nice, and check out our Code of Conduct.













          RudolfSchmidt is a new contributor. Be nice, and check out our Code of Conduct.












          RudolfSchmidt is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Geographic Information Systems 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.


          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%2fgis.stackexchange.com%2fquestions%2f314160%2fview-angle-calculation%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

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...