Extracting certain portion of a geotiff with node-gdal The 2019 Stack Overflow Developer...

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Windows 10: How to Lock (not sleep) laptop on lid close?

I could not break this equation. Please help me

Can smartphones with the same camera sensor have different image quality?

How to stretch delimiters to envolve matrices inside of a kbordermatrix?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

If the empty set is a subset of every set, why write ... ∪ {∅}?

How to test the equality of two Pearson correlation coefficients computed from the same sample?

What aspect of planet Earth must be changed to prevent the industrial revolution?

Arduino Pro Micro - switch off LEDs

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

Create an outline of font

Single author papers against my advisor's will?

What do you call a plan that's an alternative plan in case your initial plan fails?

how can a perfect fourth interval be considered either consonant or dissonant?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Do warforged have souls?

Sort list of array linked objects by keys and values

Derivation tree not rendering

Segmentation fault output is suppressed when piping stdin into a function. Why?

Does Parliament hold absolute power in the UK?

How to copy the contents of all files with a certain name into a new file?

How are presidential pardons supposed to be used?



Extracting certain portion of a geotiff with node-gdal



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Subsetting GeoTIFF with PythonCreating multi-image single band single file geotiff using GDAL with NumPy?geotiff conversion to coordinate system with gdalConvert PNG to GeoTiff using GDALgdallocationinfo used in javascript with node-gdal?Node GDAL for ogr2ogr conversionExtracting 5 bands geotiff file into RGB file using GDAL?ASCII coordinates to geographic coordinates with GDAL?QGIS geotiff extract world fails with AttributeError: 'ExtractThread' object has no attribute 'fileProcessed'Gdal add coordinate point over geotiff





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







1















I use node server. And I want send coordinates of an area then extract related portion of the geotiff file (dem) using node-gdal.



Is it possible to do this with node-gdal?










share|improve this question
















bumped to the homepage by Community 31 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    1















    I use node server. And I want send coordinates of an area then extract related portion of the geotiff file (dem) using node-gdal.



    Is it possible to do this with node-gdal?










    share|improve this question
















    bumped to the homepage by Community 31 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I use node server. And I want send coordinates of an area then extract related portion of the geotiff file (dem) using node-gdal.



      Is it possible to do this with node-gdal?










      share|improve this question
















      I use node server. And I want send coordinates of an area then extract related portion of the geotiff file (dem) using node-gdal.



      Is it possible to do this with node-gdal?







      gdal node-gdal






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 17 '17 at 22:48









      PolyGeo

      53.9k1782246




      53.9k1782246










      asked Jul 17 '17 at 13:09









      atemiz88atemiz88

      927




      927





      bumped to the homepage by Community 31 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 31 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Gdal_translate allows you to export to another raster, clipping on the way out by either pixel/lines or geo-referenced co-ordinates:



          -srcwin xoff yoff xsize ysize:
          Selects a subwindow from the source image for copying based on pixel/line location.



          -projwin ulx uly lrx lry:
          Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates (by default expressed in the SRS of the dataset. Can be changed with -projwin_srs). Note: in GDAL 2.1.0 and 2.1.1, using -projwin with coordinates not aligned with pixels will result in a sub-pixel shift. This has been corrected in later versions. When selecting non-nearest neighbour resampling, starting with GDAL 2.1.0, sub-pixel accuracy is however used to get better results.






          share|improve this answer
























          • Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

            – atemiz88
            Jul 17 '17 at 17:13














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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f247880%2fextracting-certain-portion-of-a-geotiff-with-node-gdal%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









          0














          Gdal_translate allows you to export to another raster, clipping on the way out by either pixel/lines or geo-referenced co-ordinates:



          -srcwin xoff yoff xsize ysize:
          Selects a subwindow from the source image for copying based on pixel/line location.



          -projwin ulx uly lrx lry:
          Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates (by default expressed in the SRS of the dataset. Can be changed with -projwin_srs). Note: in GDAL 2.1.0 and 2.1.1, using -projwin with coordinates not aligned with pixels will result in a sub-pixel shift. This has been corrected in later versions. When selecting non-nearest neighbour resampling, starting with GDAL 2.1.0, sub-pixel accuracy is however used to get better results.






          share|improve this answer
























          • Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

            – atemiz88
            Jul 17 '17 at 17:13


















          0














          Gdal_translate allows you to export to another raster, clipping on the way out by either pixel/lines or geo-referenced co-ordinates:



          -srcwin xoff yoff xsize ysize:
          Selects a subwindow from the source image for copying based on pixel/line location.



          -projwin ulx uly lrx lry:
          Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates (by default expressed in the SRS of the dataset. Can be changed with -projwin_srs). Note: in GDAL 2.1.0 and 2.1.1, using -projwin with coordinates not aligned with pixels will result in a sub-pixel shift. This has been corrected in later versions. When selecting non-nearest neighbour resampling, starting with GDAL 2.1.0, sub-pixel accuracy is however used to get better results.






          share|improve this answer
























          • Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

            – atemiz88
            Jul 17 '17 at 17:13
















          0












          0








          0







          Gdal_translate allows you to export to another raster, clipping on the way out by either pixel/lines or geo-referenced co-ordinates:



          -srcwin xoff yoff xsize ysize:
          Selects a subwindow from the source image for copying based on pixel/line location.



          -projwin ulx uly lrx lry:
          Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates (by default expressed in the SRS of the dataset. Can be changed with -projwin_srs). Note: in GDAL 2.1.0 and 2.1.1, using -projwin with coordinates not aligned with pixels will result in a sub-pixel shift. This has been corrected in later versions. When selecting non-nearest neighbour resampling, starting with GDAL 2.1.0, sub-pixel accuracy is however used to get better results.






          share|improve this answer













          Gdal_translate allows you to export to another raster, clipping on the way out by either pixel/lines or geo-referenced co-ordinates:



          -srcwin xoff yoff xsize ysize:
          Selects a subwindow from the source image for copying based on pixel/line location.



          -projwin ulx uly lrx lry:
          Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates (by default expressed in the SRS of the dataset. Can be changed with -projwin_srs). Note: in GDAL 2.1.0 and 2.1.1, using -projwin with coordinates not aligned with pixels will result in a sub-pixel shift. This has been corrected in later versions. When selecting non-nearest neighbour resampling, starting with GDAL 2.1.0, sub-pixel accuracy is however used to get better results.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 17 '17 at 13:37









          ProudGISProudGIS

          548213




          548213













          • Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

            – atemiz88
            Jul 17 '17 at 17:13





















          • Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

            – atemiz88
            Jul 17 '17 at 17:13



















          Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

          – atemiz88
          Jul 17 '17 at 17:13







          Thank you, they are the solutions in shell. How can we do these in node server with node-gdal?

          – atemiz88
          Jul 17 '17 at 17:13




















          draft saved

          draft discarded




















































          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%2f247880%2fextracting-certain-portion-of-a-geotiff-with-node-gdal%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 Содержание Параметры шины | Стандартизация |...