[GRASS-dev] g.region print flags combination

Brad Douglas rez at touchofmadness.com
Fri Dec 22 21:12:55 EST 2006


On Fri, 2006-12-22 at 22:56 +0100, Martin Landa wrote:
> 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

A quick review looks good to me.  Great work.


-- 
Brad Douglas <rez touchofmadness com>                    KB8UYR/6
Address: 37.493,-121.924 / WGS84    National Map Corps #TNMC-3785




More information about the grass-dev mailing list