[GRASS-user] convert raster map from Lat-Long to UTM

Hi there,

I have a raster map in Lat-Long projection and everything is fine with it.
However, I want to use r.los and since this module does not support
lat-long projection, I want to convert this map to utm.

So, I created a new location, in utm projection, in the corresponding zone
and then using the command r.proj I tried to reproject the map from the
lat-logng location to the utm. However, this process fails and I receive
the message:

GRASS_INFO_ERROR(2751,1): Input map is outside current region

I checked the regions in both location and they are exactly the same.

Then I tried to re-project a map from the Lat-Long location that is
significantly smaller from the utm region that I want to use, and it
failed again. So, I suspect that sthg else goes wrong.

Has anyone any idea how to overcome this problem or a link to a
step-by-step procedure on how to convert a lat-long map to utm?

Thanks a lot!

Antonios

On 29/07/07 17:53, atlasis@telecom.ntua.gr wrote:

Hi there,

I have a raster map in Lat-Long projection and everything is fine with it.
However, I want to use r.los and since this module does not support
lat-long projection, I want to convert this map to utm.

So, I created a new location, in utm projection, in the corresponding zone
and then using the command r.proj I tried to reproject the map from the
lat-logng location to the utm. However, this process fails and I receive
the message:

GRASS_INFO_ERROR(2751,1): Input map is outside current region

I checked the regions in both location and they are exactly the same.

Then I tried to re-project a map from the Lat-Long location that is
significantly smaller from the utm region that I want to use, and it
failed again. So, I suspect that sthg else goes wrong.

Has anyone any idea how to overcome this problem or a link to a
step-by-step procedure on how to convert a lat-long map to utm?

a solution:

http://grass.itc.it/pipermail/grassuser/2005-June/029169.html

and to understand the background of the problem:

http://grass.itc.it/pipermail/grassuser/2005-February/027933.html

Moritz