[GRASS-user] Reprojection command

Hi all,
Which is the command to use for reproject an image?
I usually use gdalwarp to reproject the image BEFORE grass command, but now I want to reproject an image between two grass command.
Thank you

--
Giacomo Piva

MEEO S.r.l.
Via Saragat 9
I-44122 Ferrara, Italy
Tel: +39 0532 1861501
Fax: +39 0532 1861637
http://www.meeo.it

========================================
"ATTENZIONE:le informazioni contenute in questo messaggio sono
da considerarsi confidenziali ed il loro utilizzo è riservato unicamente
al destinatario sopra indicato. Chi dovesse ricevere questo messaggio
per errore è tenuto ad informare il mittente ed a rimuoverlo
definitivamente da ogni supporto elettronico o cartaceo."

"WARNING:This message contains confidential and/or proprietary
information which may be subject to privilege or immunity and which
is intended for use of its addressee only. Should you receive this
message in error, you are kindly requested to inform the sender and
to definitively remove it from any paper or electronic format."

Giacomo wrote:

Which is the command to use for reproject an image?
I usually use gdalwarp to reproject the image BEFORE grass
command, but now I want to reproject an image between two
grass command.

r.proj. You pull a map in from another mapset into the current
computational region (see the help page).

Hamish

Hi Hamish,
Thank you for reply.
This command assume that I set up the computational region, I have many problems with setting region and I recive many errors like

ERROR: region for current mapset is not set
        run "g.region"

How can I set a region from scratch?

I'm using this sequence of functions:
g.region -p
r.in.gdal -o -e --overwrite input=<input raster> output=<output> location="$LOCATION"

And the output is:
projection: 0 (x,y)
zone: 0
north: 2030
south: 0
west: 0
east: 1354
nsres: 1
ewres: 1
rows: 2030
cols: 1354
cells: 2748620
ERROR: region for current mapset is not set
        run "g.region"

Thank you

On 08/05/2010 10:34 AM, Hamish wrote:

Giacomo wrote:
   

Which is the command to use for reproject an image?
I usually use gdalwarp to reproject the image BEFORE grass
command, but now I want to reproject an image between two
grass command.
     

r.proj. You pull a map in from another mapset into the current
computational region (see the help page).

Hamish

--
Giacomo