Print elevation of different coordinates from .hgt file Planned maintenance scheduled April...

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

How do I make this wiring inside cabinet safer? (Pic)

Can a party unilaterally change candidates in preparation for a General election?

Extracting terms with certain heads in a function

Can anything be seen from the center of the Boötes void? How dark would it be?

How to react to hostile behavior from a senior developer?

How would a mousetrap for use in space work?

If a contract sometimes uses the wrong name, is it still valid?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

What does "lightly crushed" mean for cardamon pods?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

First console to have temporary backward compatibility

What would be the ideal power source for a cybernetic eye?

Trademark violation for app?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

Why didn't Eitri join the fight?

Closed form of recurrent arithmetic series summation

What causes the direction of lightning flashes?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

What font is "z" in "z-score"?

Using audio cues to encourage good posture

How to find all the available tools in mac terminal?



Print elevation of different coordinates from .hgt file



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















0



I am trying iterate through the data(elevation) from .hgt file. I have attached the codes which i used to get the elevation from the file.



from gmalthgtparser import HgtParser



hgt_file='N09E076.hgt'



with HgtParser(hgt_file) as parser:alt = parser.get_elevation((9.666673719181665,76.30757542014408))



print(alt)



the output of the above code will be : (1200, 1108, 7)



So here the input is given by the user with exact longitude and latitude. I want it to iterate through all the coordinates under some range and print each coordinates elevation and it should be saved as an excel file.









share







New contributor




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



























    0















    0



    I am trying iterate through the data(elevation) from .hgt file. I have attached the codes which i used to get the elevation from the file.



    from gmalthgtparser import HgtParser



    hgt_file='N09E076.hgt'



    with HgtParser(hgt_file) as parser:alt = parser.get_elevation((9.666673719181665,76.30757542014408))



    print(alt)



    the output of the above code will be : (1200, 1108, 7)



    So here the input is given by the user with exact longitude and latitude. I want it to iterate through all the coordinates under some range and print each coordinates elevation and it should be saved as an excel file.









    share







    New contributor




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























      0












      0








      0








      0



      I am trying iterate through the data(elevation) from .hgt file. I have attached the codes which i used to get the elevation from the file.



      from gmalthgtparser import HgtParser



      hgt_file='N09E076.hgt'



      with HgtParser(hgt_file) as parser:alt = parser.get_elevation((9.666673719181665,76.30757542014408))



      print(alt)



      the output of the above code will be : (1200, 1108, 7)



      So here the input is given by the user with exact longitude and latitude. I want it to iterate through all the coordinates under some range and print each coordinates elevation and it should be saved as an excel file.









      share







      New contributor




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












      0



      I am trying iterate through the data(elevation) from .hgt file. I have attached the codes which i used to get the elevation from the file.



      from gmalthgtparser import HgtParser



      hgt_file='N09E076.hgt'



      with HgtParser(hgt_file) as parser:alt = parser.get_elevation((9.666673719181665,76.30757542014408))



      print(alt)



      the output of the above code will be : (1200, 1108, 7)



      So here the input is given by the user with exact longitude and latitude. I want it to iterate through all the coordinates under some range and print each coordinates elevation and it should be saved as an excel file.







      python-3 srtm iteration hgt





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 2 mins ago









      sreeramp96sreeramp96

      11




      11




      New contributor




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





      New contributor





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






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






















          0






          active

          oldest

          votes












          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
          });


          }
          });






          sreeramp96 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%2f319200%2fprint-elevation-of-different-coordinates-from-hgt-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












          sreeramp96 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%2f319200%2fprint-elevation-of-different-coordinates-from-hgt-file%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

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...