[GRASS-dev] g.region print flags combination

Martin Landa landa.martin at gmail.com
Fri Dec 22 16:56:44 EST 2006


Hi,

I rewrote the previous patch for g.region -- see [1], this patch
allows to combine several print flags. The flag '-g' can be used in
combination with all print flags. E.g.

GRASS 6.3.cvs (spearfish60):~ > g.region -pmce
projection         : 1 (UTM)
zone               : 13
datum              : nad27
ellipsoid          : clark66
north              : 4928010
south              : 4913700
west               : 589980
east               : 609000
nsres              : 30
ewres              : 30
rows               : 477
cols               : 634
cells              : 302418
north-south extent : 14310.000000
east-west extent   : 19020.000000
north-south center : 4920855.000000
east-west center   : 599490.000000

or

GRASS 6.3.cvs (spearfish60):~ > g.region -plg
projection=1
zone=13
datum=nad27
ellipsoid=clark66
n=4928010
s=4913700
w=589980
e=609000
nsres=30
ewres=30
rows=477
cols=634
cells=302418
nw_long=-103.86814463
nw_lat=44.50175140
ne_long=-103.62895492
ne_lat=44.49913014
se_long=-103.63196347
se_lat=44.37033545
sw_long=-103.87062861
sw_lat=44.37294503
center_long=-103.74992291
center_lat=44.43604050

I waiting for you comments, then I will commit it to CVS (now it can
be a little bit buggy).

Best regards, Martin

[1] http://grass.itc.it/pipermail/grass-dev/2006-September/026002.html

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g_region_print_flags.diff.gz
Type: application/x-gzip
Size: 6130 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061222/7b091a2a/g_region_print_flags.diff.gz


More information about the grass-dev mailing list