<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<DEFANGED_meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hamish wrote:
<blockquote cite="mid20050816153750.56759.qmail@web52715.mail.yahoo.com"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I have successfully installed GRASS6.0 on my system and have
successfully added modified modules of
GRASS5.3 to GRASS6.0
But I cant find any d.label command in the GRASS6.0 source.
Is there no d.label command in GRASS6.0 ?
or is the name of that command changed.
Can anyone tell me?
</pre>
</blockquote>
<pre wrap="">We have made a list in the GRASS WIKI:
GRASS 5.3 modules porting status to 6.0
</pre>
</blockquote>
<pre wrap=""><!----><a class="moz-txt-link-freetext" href="http://grass.gdf-hannover.de/twiki/bin/view/GRASS/ModulePortingList#Display_modules">http://grass.gdf-hannover.de/twiki/bin/view/GRASS/ModulePortingList#Display_modules</a>
</pre>
<blockquote type="cite">
<pre wrap="">-> d.label - functionality pretty much covered by d.text
</pre>
</blockquote>
<pre wrap=""><!---->
In GRASS 6.1-cvs I have updated v.label, d.paint.labels, and ps.map's
"labels" instruction to the point where I think it all works pretty
well. In 6.0 the above commands will work but setting font size, e.g.,
might be a pain.
Fine tune placement by tweaking the offsets in the labels file with a
text editor.
If no one else gets to it first I'll update the wiki when I return to
civilization in a few weeks time.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Is there anyalternative command to d.rast.labels ?
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
This isn't like d.rast.num or d.rast.arrow, but could be with a
r.to.vect + v.label step.
regards,
Hamish
</pre>
</blockquote>
<font size="-1">hello,<br>
Since d.rast.labels command isnt there in GRASS6.0 , as mentioned
above i used r.to.vect and the v.label command.<br>
The following was the output<br>
<br>
r.to.vect input=goa2landf output=vect feature=point<br>
Output was a vector file containing all the points with categories and
values.<br>
ex: cat=14 value=739.000000<br>
<br>
v.label map=vect type=point column=value labels=output1
size=8 color=black <br>
<br>
Output file </font><font size="-1">(output1)</font><font size="-1">
was created in ~</font><font size="-1">/grass60/GrassData/globe/goa/paint/labels/<br>
and contained the following for each of the cat values.<br>
<br>
ref: center<br>
font: standard<br>
color: black<br>
size: 8<br>
width: 1<br>
hcolor: none<br>
hwidth: 0<br>
background: none<br>
border: none<br>
opaque: yes<br>
<br>
text: 617.000000<br>
<br>
</font><font size="-1">How can i display the labels on the monitor?<br>
Am i on the the right path.<br>
Kindly help<br>
<br>
<br>
Nagesh Bhatkar<br>
National Institute of Oceanography<br>
India-Goa<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font><br>
</body>
</html>