[GRASS-dev] g.region print flags combination

Helena Mitasova hmitaso at unity.ncsu.edu
Fri Dec 22 21:20:19 EST 2006


On Dec 22, 2006, at 4:56 PM, 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

the below sounds a little confusing - maybe using the same as you  
have for
long, lat would be better:

center_northing
center_easting

rather than

> north-south center : 4920855.000000
> east-west center   : 599490.000000

Helena

>
> 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 *
> <g_region_print_flags.diff.gz>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev




More information about the grass-dev mailing list