[GRASS-user] Reprojection command
Giacomo Piva
piva at meeo.it
Thu Aug 5 04:43:31 EDT 2010
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
More information about the grass-user
mailing list