[GRASS-dev] Re: grass-dev Digest, Vol 25, Issue 41

Michael Barton michael.barton at asu.edu
Fri May 16 13:51:42 EDT 2008


Does this drawing only work on an xmon?

Michael


On 5/16/08 9:00 AM, "grass-dev-request at lists.osgeo.org"
<grass-dev-request at lists.osgeo.org> wrote:

> Send grass-dev mailing list submissions to
> grass-dev at lists.osgeo.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.osgeo.org/mailman/listinfo/grass-dev
> or, via email, send a message with subject or body 'help' to
> grass-dev-request at lists.osgeo.org
> 
> You can reach the person managing the list at
> grass-dev-owner at lists.osgeo.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of grass-dev digest..."
> 
> 
> Today's Topics:
> 
>    1. d.region (Jachym Cepicky)
>    2. Re: d.region (Moritz Lennert)
>    3. [GRASS GIS] #170: r.colors: make nice random colors like
>       r.watershed (GRASS GIS)
>    4. Re: [GRASS GIS] #170: r.colors: make nice random colors like
>       r.watershed (GRASS GIS)
>    5. [GRASS GIS] #171: d.vect: -c type=area doesn't draw boundary
>       (GRASS GIS)
>    6. Re: [GRASS GIS] #171: d.vect: -c type=area doesn't draw
>       boundary (GRASS GIS)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 16 May 2008 12:05:13 +0200
> From: "Jachym Cepicky" <jachym.cepicky at gmail.com>
> Subject: [GRASS-dev] d.region
> To: grass-dev at lists.osgeo.org
> Message-ID:
> <a9fa15490805160305v2399627ev9db13f16206bd78f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> hi,
> 
> I created new script, absed on d.region.box from Hamish. It has few
> more options.
> 
> I think, script like this should go to GRASS (and not to live only as addon)
> 
> I called it d.region, here is it's help:
> 
> 
> Description:
>  Draw desired region into current display
> 
> Keywords:
>  display, region
> 
> Usage:
>  d.region [-dcf] [name=string] [color=string] [width=value]
>    [rast=string] [rast3d=string] [vect=string] [3dview=string] [n=value]
>    [s=value] [e=value] [w=value] [--verbose] [--quiet]
> 
> Flags:
>   -d   Draw default region
>   -c   Draw current region
>   -f   Non-persistant box (doesn't survive redraw or zoom)
>  --v   Verbose module output
>  --q   Quiet module output
> 
> Parameters:
>     name   Region name
>    color   Color to draw with, either a standard GRASS color or R:G:B triplet
>            default: black
>    width   Line width
>            default: 1
>     rast   Draw region to match this raster map
>   rast3d   Draw region to match this 3D raster map
>     vect   Draw region to match this vector map
>   3dview   Draw region to match this 3dview file
>        n   Value for the northern edge
>        s   Value for the southern edge
>        e   Value for the eastern edge
>        w   Value for the western edge
> 
> The script is attached to this e-mail.
> 
> What do you think: Is it worth to put in trunk/grass/display/ ? should
> the name be d.region or d.region.box or different ?
> 
> Jachym

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 



More information about the grass-dev mailing list