[GRASS-user] Georectify problem

Michael Barton michael.barton at asu.edu
Wed Jul 30 10:54:44 EDT 2008



On Jul 30, 2008, at 12:55 AM, Moritz Lennert wrote:

> On 30/07/08 02:00, Adam Dershowitz wrote:
>> The problem that I am running into is that only the middle half or  
>> so of the jpg is being rectified.
>
>> Do I have to set some region or something to get it all to work?
>
> Yep, exactly.
>
> AFAICT, the georectify tool calls i.rectify with the -c flag (line  
> 1366 of gui/tcltk/gis.m/georect.tcl), which means "Use curr. region  
> settings in target location". So you need to set the correct  
> location in the target location.
>
> I'm not sure I understand why this is so. It would seem to be more  
> intuitive to run without that flag and thus have i.rectify  
> "determine the smallest window which covers the image", because  
> otherwise the user has to identify target region extents manually...
>
> Michael, any special reason for using -c ?

I can't remember, but think it was to avoid a situation where someone  
is rectifying part of an image and must wait (sometimes for a long  
time) while the entire, very large image is rectified.

>
> Maybe this could be made into an option ?

This is a good idea.

Michael



More information about the grass-user mailing list