On 30/07/08 10:41, John Stevenson wrote:
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


In the end I calculated the region that I would need manually and worked out the resolution from the number of pixels in the scanned image. Does i.rectify calculate these, or if not, is that something that could be easily added?

If you want to you can work around it currently by deleting the -c from line 1366 in $GISBASE/etc/gm/georect.tcl.

But I imagine that Michael had a good reason to put it there...

Or just use the georectify tool to set the points (set points, save and the exit) and then launch i.rectify directly (but you will have to launch it from your XY-location, after setting i.target)...


Moritz
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to