Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a bunch of Landsat 5 scenes that I want to mosaic together.

However Landsat 5 scenes have a zigzag pattern on the left and right edges as well as some bad data values along these edges.

Is there a program that can automatically trim the edges of the Landsat 5 scenes so that all the edges are nice and straight?

share|improve this question

2 Answers 2

The manual way to do this is to use the official WRS-2 path/row scene boundaries

To answer, however, your question directly about an automatic way to trim Landsat TM5 (or any other Landsat product I guess) edges, there is i.landsat.trim, a GRASS-GIS module.

See also:

share|improve this answer

You can download the scene boundaries here;

http://landsat.usgs.gov/tools_wrs-2_shapefile.php

You could use these as they are or generate an "inside" buffer shapefile to ensure that you trim all bad data in all bands.

Create a separate file for each scene (use split by attributes tool if there are many images to be processed).

Then clip the rasters (CLIP tool in ArcGIS)

share|improve this answer
    
Thanks, I will try this and see if it works. –  NZ Guy in Aus Oct 3 '12 at 14:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.