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

Sliceness of knots

Is there public access to the Meteor Crater in Arizona?

How to compare two different files line by line in unix?

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?

Semigroups with no morphisms between them

Putting class ranking in CV, but against dept guidelines

What does Turing mean by this statement?

Why weren't discrete x86 CPUs ever used in game hardware?

Co-worker has annoying ringtone

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

Google .dev domain strangely redirects to https

How to report t statistic from R

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

What does this say in Elvish?

Deconstruction is ambiguous

Misunderstanding of Sylow theory

What is an "asse" in Elizabethan English?

Intuitive explanation of the rank-nullity theorem

An adverb for when you're not exaggerating

How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Significance of Cersei's obsession with elephants?



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 16 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 Содержание Параметры шины | Стандартизация |...