[GRASS-user] how to draw line with arrow mark to line top (tip)

Hollow grass users

I'm from Japan, and biggner.

I do not find how to draw line with arrow mark to line top (tip).

for exsample...

normally line;
--------

line with arrow mark to line top (tip);
-------->
or
<--------

I read online manual and tried to command 'd.vect layer_name icon=basic/arrow1
', however nothing happend....

Does anyone to know it?

Best
Yasuo SHIMADA (japan weather associaton)

Hello Yasuo,

If you just need to display line directions with an arrow head on
end-node, you can use the "display=dir" option available for d.vect.

If you need to display a custom symbol, you cannot use "icon=" option,
which is dedicated to point and centroid features (not lines).

Envethough the following case describes a method to compose a hardcopy
map, this wiki entry can help you :
http://grasswiki.osgeo.org/wiki/Tips_and_Tricks#Compensate_the_lack_of_line_ends_symbology_in_ps.map

The idea is to create a point vector where points are assigned a
rotation angle value corresponding to the line last (or first) segment
orientation. Then you just have to call d.vect whith "icon=" and
"rot_column=" options.

Good luck!

Vincent

Le vendredi 24 janvier 2014 à 14:12 +0900, sgw00412@nifty.com a écrit :

Hollow grass users

I'm from Japan, and biggner.

I do not find how to draw line with arrow mark to line top (tip).

for exsample...

normally line;
--------

line with arrow mark to line top (tip);
-------->
or
<--------

I read online manual and tried to command 'd.vect layer_name icon=basic/arrow1
', however nothing happend....

Does anyone to know it?

Best
Yasuo SHIMADA (japan weather associaton)

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Dear Vincent

Thank you for useful information and advices !

I didnot know it.

I wiil try it!

Best
Yasuo SHIMADA (japan weather associaton)
---

Vincent Bain <bain@toraval.fr>さん:

Hello Yasuo,

If you just need to display line directions with an arrow head on
end-node, you can use the "display=dir" option available for d.vect.

If you need to display a custom symbol, you cannot use "icon=" option,
which is dedicated to point and centroid features (not lines).

Envethough the following case describes a method to compose a hardcopy
map, this wiki entry can help you :
http://grasswiki.osgeo.org/wiki/Tips_and_Tricks#Compensate_the_lack_of_line_ends_symbology_in_ps.map

The idea is to create a point vector where points are assigned a
rotation angle value corresponding to the line last (or first) segment
orientation. Then you just have to call d.vect whith "icon=" and
"rot_column=" options.

Good luck!

Vincent

Le vendredi 24 janvier 2014 à 14:12 +0900, sgw00412@nifty.com a écrit :
> Hollow grass users
>
> I'm from Japan, and biggner.
>
> I do not find how to draw line with arrow mark to line top (tip).
>
> for exsample...
>
> normally line;
> --------
>
> line with arrow mark to line top (tip);
> -------->
> or
> <--------
>
> I read online manual and tried to command 'd.vect layer_name icon=basic/

arrow1

> ', however nothing happend....
>
> Does anyone to know it?
>
> Best
> Yasuo SHIMADA (japan weather associaton)
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

sgw00412@nifty.com a écrit :

I do not find how to draw line with arrow mark to line top (tip).

I'm not sure if it matches your needs or not, but see also d.rast.arrow and the d.barb addon (d.barb can take either raster or vector maps as input); for a single arrow symbol the d.mark addon script might help.

Hamish