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

Why don't I see the difference between two different files in insert mode in vim?

Explain the objections to these measures against human trafficking

Can you earn endless XP using a Flameskull and its self-revival feature?

Avoiding morning and evening handshakes

What is the wife of a henpecked husband called?

What kind of hardware implements Fourier transform?

What is the purpose of easy combat scenarios that don't need resource expenditure?

Can pricing be copyrighted?

How Internet Communication Works on a Coaxial Cable

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

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

How should I handle players who ignore the session zero agreement?

Recrystallisation of dibenzylideneacetone

Could flying insects re-enter the Earth's atmosphere from space without burning up?

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

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

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

Using only 1s, make 29 with the minimum number of digits

How would an AI self awareness kill switch work?

How can I improve my fireworks photography?

Quenching swords in dragon blood; why?

Getting a UK passport renewed when you have dual nationality and a different name in your second country?

Tikzing a circled star

Dilemma of explaining to interviewer that he is the reason for declining second interview



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
            2 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
            2 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
            2 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
            2 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
            2 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
            2 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 10 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
            2 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
            2 hours ago



















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

            – RudolfSchmidt
            2 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
            2 hours ago

















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

          – RudolfSchmidt
          2 hours ago





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

          – RudolfSchmidt
          2 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
          2 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
          2 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

          迭戈·戈丁...

          A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

          1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...