[GRASS-dev] image rectification from command line only ?

Nicolas MERLET admin at merletn.org
Tue Mar 4 13:32:07 EST 2008



> -----Original Message-----
> From: grass-dev-bounces at lists.osgeo.org 
> [mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Michael Barton
> Sent: Tuesday, March 04, 2008 6:38 PM
> To: grass-dev at lists.osgeo.org
> Subject: Re: [GRASS-dev] image rectification from command line only ?
> 
> 
> 
> On Mar 4, 2008, at 10:00 AM, grass-dev-request at lists.osgeo.org wrote:
> 
> > Date: Tue, 4 Mar 2008 17:04:27 +0100
> > From: "Nicolas MERLET" <admin at merletn.org>
> > Subject: [GRASS-dev] image rectification from command line only ?
> > To: <grass-dev at lists.osgeo.org>
> > Message-ID: <018801c87e11$6d0d9690$6642000a at NICOLAS>
> > Content-Type: text/plain;	charset="us-ascii"
> >
> >
> > hi all,
> >
> > i need to rectify an image automatically (i assume using 
> i.points and
> > i.rectify). as far as i've been able to see, i.points is to use in  
> > graphical
> > monitor mode ? so does anyone know how to use it from the command  
> > line (and
> > only from the command line) ?
> >
> > thanks for helping...
> >
> > nicolas
> 
> i.points lets a user interactively set ground control points (GCPs)  
> for an unrectified image, using a rectified image. This particular  
> process cannot be automated since it is interactive by definition.
> 
> However, if you already know the ground coordinates of a set of xy  
> points for an image, you can build a POINTS file and i.rectify will  
> georectify the image from the command line.
> 
> Michael
> 

that would be enough as my GCP are pre-calculated. however i haven't found
any documentation about the POINTS files structure. where can i find it ? (i
just have http://grass.itc.it/gdp/html_grass63/i.rectify.html)

moreover, assuming we use i.rectify there's no paramater to give points, so
i suppose i just have to copy my POINT file in my image group so that
i.rectify will be able to find it ?

again, thank you very much for helping !

Nicolas








More information about the grass-dev mailing list