[GRASS-dev] About the "-g" switch of g.region

Nikos Alexandris nik at nikosalexandris.net
Tue Jan 22 05:54:55 PST 2013


Hi dev-list!

Is there a reason why the output of  "g.region -cg" (in decimal degrees) is 
not the same as the output of "g.region -c" (in D:M:S)?

The -g switch is there to "print in shell script style". Does the 
switch/description imply, necessarily, decimal degrees?

e.g.:

# grass70, same for grass643
g.region -c

north-south center: 40:20:04.5N
east-west center: 19:21:14.5E

# shell script style
g.region -cg

center_easting=19.354028
center_northing=40.334583

Thank you for your time,
Nikos


More information about the grass-dev mailing list