[GRASS-user] r.proj

Glynn Clements glynn at gclements.plus.com
Thu Sep 27 23:09:29 EDT 2007


Duffy, Garret wrote:

> When trying to reproject a raster projected in UTM (WGS84) to Oblique
> Mercator (WGS84) I get this message:
> _______________
> Unable to initialise PROJ.4 with the following parameter list:
>  +proj=omerc +lat_0=45.1875000000 +lat_1=-20.0000000000
> +lat_2=20.0000000000 +lon_0=0.0000000000 +lon_1=-120.0000000000
> +lon_2=-60.0000000000 +k_0=1.0000000000 +no_uoff +rot_conv +a=6378137
> +rf=298.257223563 +no_defs +towgs84=0.000,0.000,0.000
> The error message was 'invalid projection system error (-1304680961)'
> 
> Can't get projection key values of output map
> _______________
> 
> The "Current Location" seems to have been set correctly so I do not see
> why I am getting this error.

If I run the command-line "proj" program with those parameters, it
fails with a domain error, which suggests that the combination of
parameters is invalid for the projection.

Quickly playing around with the parameters indicates that it works
provided that the absolute value of lat_0 is less than 36 degrees.

Beyond that, you might do better asking on the PROJ list for issues
with specific projections.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list