That did it! Thanks very much. <br>Tim<br><br><br><br><div class="gmail_quote">On Sun, Oct 4, 2009 at 7:08 PM, achim <span dir="ltr"><<a href="mailto:ak7@jupiter.uni-freiburg.de">ak7@jupiter.uni-freiburg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
maybe its the database syntax: try 'not cat=16'<br>
<br>
Achim<br>
<br>
Tim Holland schrieb:<br>
> Hello,<br>
><br>
> I am trying to add labels to a map, where most of the labels get printed<br>
> beside the shape (in this case, it is a point vector), while one label<br>
> (point #16) gets printed above the shape to prevent label overlap.<br>
><br>
> What I am doing is<br>
><br>
> #!/bin/bash<br>
><br>
> d.mon start=PNG<br>
><br>
> d.vect PointsVect type=point display=shape<br>
> d.vect PointsVect type=point display=attr attrcol="Name" yref=top xref=left<br>
> where='cat=16' #### (to add the label for point number 16)<br>
> d.vect PointsVect type=point display=attr attrcol="Name" yref=center<br>
> xref=left where='cat!=16' #### (to add the labels for all other points)<br>
><br>
> d.mon stop=PNG<br>
><br>
> For some reason, the 'cat=16' statement works fine, but 'cat!=16' does not.<br>
> For the latter, I get the following error messages:<br>
><br>
> dbmi: Protocol error<br>
> dbmi: Invalid procedure 101<br>
><br>
> When I look online through bash scripting tutorials, it says != is the<br>
> symbol for 'not equal'. Am I wrong on that? Is there something else wrong<br>
> with my syntax?<br>
><br>
> Thanks for any help,<br>
> Tim<br>
</blockquote></div><br>