[GRASS-user] Displaying site_name on r.watershed output basins map

Margherita Di Leo diregola at gmail.com
Tue May 1 03:42:40 EDT 2012


Hi,

On Tue, May 1, 2012 at 12:17 AM, Rich Shepard <rshepard at appl-ecosys.com>wrote:

> On Mon, 30 Apr 2012, Rich Shepard wrote:
>
>   Is there a way to display the site_name on each colored basin? This would
>> make it much easier to communicate basin descriptions by illustrating
>> where each basin is located in the area. I've looked through the list of
>> r.* modules and did not find one that would do this task.
>>
>
>  Related question: how can I obtain the areas of the calculated basins? I
> tried r.to.vect but the output map has no attribute table associated with
> it.
>

This is weird. Which is the exact command line you used? should be
something like:

r.to.vect input=basins output=basins feature=area

Once you have that, you can use v.label to display labels, and calculate
the area using v.db.addcol + v.to.db

HTH
madi

>
> Rich
>
> ______________________________**_________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/grass-user<http://lists.osgeo.org/mailman/listinfo/grass-user>
>



-- 
Ing. Margherita Di Leo, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120501/679a5b90/attachment.html


More information about the grass-user mailing list