<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 11/3/18 2:38 PM, Rich Shepard wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1811030535580.12972@salmo.appl-ecosys.com">On
Sat, 3 Nov 2018, Micha Silver wrote:
<br>
<br>
<blockquote type="cite">If you want to avoid a color table then
specifiy an additional column
<br>
"rgb_column=" which gives the colors in decimal RGB format such
as
<br>
"255:0:0" for red for example.
<br>
</blockquote>
<br>
Micha,
<br>
<br>
I didn't know whether grass cared about the numeric format. I'll
lookup
<br>
the hex code to decimal code and change then in the same column (a
simple
<br>
update statement).
<br>
<br>
</blockquote>
<p>Something like this might help:</p>
<p>>printf "%d\n" 0xff</p>
<p>255</p>
<p><br>
</p>
<p>You'll have to split the hex string into the 3 color components,
of course.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1811030535580.12972@salmo.appl-ecosys.com">
Still for me to learn is the relation between v.colors and d.vect.
<br>
Trial-and-error learning, I suppose.
<br>
<br>
Thanks,
<br>
<br>
Rich
<br>
_______________________________________________
<br>
grass-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>