[GRASS-user] automated cropping of reprojected images

Glynn Clements glynn at gclements.plus.com
Thu Jul 13 05:51:27 EDT 2006


Trevor Wiens wrote:

> I'm wondering if there is an easy way to crop reprojected images. In
> this case it is for landsat images that will eventually be layed
> together to cover most of Canada. Thus the extra space that is created
> in rotating the images becomes an issue.
> 
> I tried importing, using r.null and then reprojecting, but when I
> exported the file, it didn't make any difference. I also tried
> creating a MASK to remove all NULL values, but this too was to no avail
> upon export.
> 
> Any suggestions on how to tackle this would be appreciated.

I'm not entirely sure what you're asking here.

When you export raster map, the resulting file has the same number of
rows and columns as the current region at the time that you export. If
you shrink the region, you'll get a smaller image.

Or are you referring to something else?

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list