[GRASS-user] m.proj error

Hamish hamish_b at yahoo.com
Mon Jun 16 11:25:58 EDT 2008

> In grass-6.3.1svn if I do   "g.region -c"   I get
> a D:M:S output and not decimal degrees.

'g.region -cg'

> Now I want to use   m.proj   to have decimal degrees
> but I always get the following error:
> "read: 201: Illegal option -n"


m.proj wants DMS in PROJ.4 style, i.e. 123d45'56"
a little sed magic can make that happen if needed.
use 'm.proj -d' if you want decimal output.



More information about the grass-user mailing list