[GRASS-user] Wrong color display for shortest path in GRASS. bug?

I find the wrong highlight color of shortest path, when I run shortest path(visualization) (i.e. Vector-> Network Analysis-> shortest route(visualization).
I am using GRASS 6.1.cvs obtained from http://geni.ath.cx/grass.html#toc5.
If I don’t specify the color parameter(hcolor), the default is red; however, it displays black color. When I specifiy the color(hcolor) to be green, it displays red(as screen dumps attached). Do you have the same problem? Is it bug for the GRASS?

Send instant messages to your online friends http://uk.messenger.yahoo.com

(attachments)

GrassShortestRouteProblem1.1.JPG
GrassShortestRouteProblem2.1.JPG

Raymond Fu wrote:

I find the wrong highlight color of shortest path, when I run shortest
path(visualization) (i.e. Vector-> Network Analysis-> shortest
route(visualization).

I am using GRASS 6.1.cvs obtained from
http://geni.ath.cx/grass.html#toc5.

If I don't specify the color parameter(hcolor), the default is red;
however, it displays black color. When I specifiy the color(hcolor) to
be green, it displays red(as screen dumps attached). Do you have the
same problem? Is it bug for the GRASS?

It's a bug; d.path is trying to set the colours while not connected to
the monitor.

I'll look into this.

--
Glynn Clements <glynn@gclements.plus.com>

Glynn Clements wrote:

> I find the wrong highlight color of shortest path, when I run shortest
> path(visualization) (i.e. Vector-> Network Analysis-> shortest
> route(visualization).
>
> I am using GRASS 6.1.cvs obtained from
> http://geni.ath.cx/grass.html#toc5.
>
> If I don't specify the color parameter(hcolor), the default is red;
> however, it displays black color. When I specifiy the color(hcolor) to
> be green, it displays red(as screen dumps attached). Do you have the
> same problem? Is it bug for the GRASS?

It's a bug; d.path is trying to set the colours while not connected to
the monitor.

I'll look into this.

Fixed in CVS.

--
Glynn Clements <glynn@gclements.plus.com>