How do I crop a TIFF down to a specific region? Planned maintenance scheduled April 23, 2019...

Misunderstanding of Sylow theory

One-one communication

Why does 14 CFR have skipped subparts in my ASA 2019 FAR/AIM book?

A term for a woman complaining about things/begging in a cute/childish way

Do wooden building fires get hotter than 600°C?

Putting class ranking in CV, but against dept guidelines

What is the difference between a "ranged attack" and a "ranged weapon attack"?

Lagrange four-squares theorem --- deterministic complexity

How does the math work when buying airline miles?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

What to do with repeated rejections for phd position

Did any compiler fully use 80-bit floating point?

What does this say in Elvish?

Semigroups with no morphisms between them

What is the meaning of 'breadth' in breadth first search?

Deconstruction is ambiguous

How does light 'choose' between wave and particle behaviour?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

What does Turing mean by this statement?

Google .dev domain strangely redirects to https

Amount of permutations on an NxNxN Rubik's Cube

Why are vacuum tubes still used in amateur radios?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Antipodal Land Area Calculation



How do I crop a TIFF down to a specific region?



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Rasterize shapefile to a new gtiff file with gdal_rasterize utility,however,I cannot open the tif file?How can I fix badly specified geographic coordinate system with units in arc-seconds?GDAL_TRANSLATE Assumes Picture is Orientated North?how to georeference my png using gdalReprojecting from Lambert Conformal Conic into EPSG:3857?Crop geotiff with bounding boxGeoreferencing a PDF with pixels coordinates not in cornersHow to calculate the image size knowing its coordinates and pixel size?Transforming Lambert Conformal Conic to EPSG:3857Using max as resampling method with gdal_translate?





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







0















I have two TIFFs that have the same pixel size. One of them is geolocated inside the other. I would like to crop the larger one down to the exact same extent as the smaller one. Is this possible with a gdal comment?



gdalinfo big.tif
Pixel Size = (0.100000000000000,-0.100000000000000)
Upper Left (-13042354.590, 3866165.781) (117d 9'41.27"W, 32d46'48.73"N)
Lower Left (-13042354.590, 3865668.981) (117d 9'41.27"W, 32d46'35.22"N)
Upper Right (-13041857.790, 3866165.781) (117d 9'25.21"W, 32d46'48.73"N)
Lower Right (-13041857.790, 3865668.981) (117d 9'25.21"W, 32d46'35.22"N)
Center (-13042106.190, 3865917.381) (117d 9'33.24"W, 32d46'41.98"N)

gdalinfo small.tif
Pixel Size = (0.100000000000000,-0.100000000000000)
Upper Left (-13042373.699, 3866184.891) (117d 9'41.89"W, 32d46'49.25"N)
Lower Left (-13042373.699, 3865649.891) (117d 9'41.89"W, 32d46'34.70"N)
Upper Right (-13041838.699, 3866184.891) (117d 9'24.59"W, 32d46'49.25"N)
Lower Right (-13041838.699, 3865649.891) (117d 9'24.59"W, 32d46'34.70"N)
Center (-13042106.199, 3865917.391) (117d 9'33.24"W, 32d46'41.98"N)









share|improve this question































    0















    I have two TIFFs that have the same pixel size. One of them is geolocated inside the other. I would like to crop the larger one down to the exact same extent as the smaller one. Is this possible with a gdal comment?



    gdalinfo big.tif
    Pixel Size = (0.100000000000000,-0.100000000000000)
    Upper Left (-13042354.590, 3866165.781) (117d 9'41.27"W, 32d46'48.73"N)
    Lower Left (-13042354.590, 3865668.981) (117d 9'41.27"W, 32d46'35.22"N)
    Upper Right (-13041857.790, 3866165.781) (117d 9'25.21"W, 32d46'48.73"N)
    Lower Right (-13041857.790, 3865668.981) (117d 9'25.21"W, 32d46'35.22"N)
    Center (-13042106.190, 3865917.381) (117d 9'33.24"W, 32d46'41.98"N)

    gdalinfo small.tif
    Pixel Size = (0.100000000000000,-0.100000000000000)
    Upper Left (-13042373.699, 3866184.891) (117d 9'41.89"W, 32d46'49.25"N)
    Lower Left (-13042373.699, 3865649.891) (117d 9'41.89"W, 32d46'34.70"N)
    Upper Right (-13041838.699, 3866184.891) (117d 9'24.59"W, 32d46'49.25"N)
    Lower Right (-13041838.699, 3865649.891) (117d 9'24.59"W, 32d46'34.70"N)
    Center (-13042106.199, 3865917.391) (117d 9'33.24"W, 32d46'41.98"N)









    share|improve this question



























      0












      0








      0








      I have two TIFFs that have the same pixel size. One of them is geolocated inside the other. I would like to crop the larger one down to the exact same extent as the smaller one. Is this possible with a gdal comment?



      gdalinfo big.tif
      Pixel Size = (0.100000000000000,-0.100000000000000)
      Upper Left (-13042354.590, 3866165.781) (117d 9'41.27"W, 32d46'48.73"N)
      Lower Left (-13042354.590, 3865668.981) (117d 9'41.27"W, 32d46'35.22"N)
      Upper Right (-13041857.790, 3866165.781) (117d 9'25.21"W, 32d46'48.73"N)
      Lower Right (-13041857.790, 3865668.981) (117d 9'25.21"W, 32d46'35.22"N)
      Center (-13042106.190, 3865917.381) (117d 9'33.24"W, 32d46'41.98"N)

      gdalinfo small.tif
      Pixel Size = (0.100000000000000,-0.100000000000000)
      Upper Left (-13042373.699, 3866184.891) (117d 9'41.89"W, 32d46'49.25"N)
      Lower Left (-13042373.699, 3865649.891) (117d 9'41.89"W, 32d46'34.70"N)
      Upper Right (-13041838.699, 3866184.891) (117d 9'24.59"W, 32d46'49.25"N)
      Lower Right (-13041838.699, 3865649.891) (117d 9'24.59"W, 32d46'34.70"N)
      Center (-13042106.199, 3865917.391) (117d 9'33.24"W, 32d46'41.98"N)









      share|improve this question
















      I have two TIFFs that have the same pixel size. One of them is geolocated inside the other. I would like to crop the larger one down to the exact same extent as the smaller one. Is this possible with a gdal comment?



      gdalinfo big.tif
      Pixel Size = (0.100000000000000,-0.100000000000000)
      Upper Left (-13042354.590, 3866165.781) (117d 9'41.27"W, 32d46'48.73"N)
      Lower Left (-13042354.590, 3865668.981) (117d 9'41.27"W, 32d46'35.22"N)
      Upper Right (-13041857.790, 3866165.781) (117d 9'25.21"W, 32d46'48.73"N)
      Lower Right (-13041857.790, 3865668.981) (117d 9'25.21"W, 32d46'35.22"N)
      Center (-13042106.190, 3865917.381) (117d 9'33.24"W, 32d46'41.98"N)

      gdalinfo small.tif
      Pixel Size = (0.100000000000000,-0.100000000000000)
      Upper Left (-13042373.699, 3866184.891) (117d 9'41.89"W, 32d46'49.25"N)
      Lower Left (-13042373.699, 3865649.891) (117d 9'41.89"W, 32d46'34.70"N)
      Upper Right (-13041838.699, 3866184.891) (117d 9'24.59"W, 32d46'49.25"N)
      Lower Right (-13041838.699, 3865649.891) (117d 9'24.59"W, 32d46'34.70"N)
      Center (-13042106.199, 3865917.391) (117d 9'33.24"W, 32d46'41.98"N)






      gdal gdalwarp gdal-translate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 4 mins ago









      Vince

      14.8k32850




      14.8k32850










      asked 15 mins ago









      nickponlinenickponline

      340515




      340515






















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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319397%2fhow-do-i-crop-a-tiff-down-to-a-specific-region%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
















          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%2f319397%2fhow-do-i-crop-a-tiff-down-to-a-specific-region%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

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

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

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