[GRASSLIST:5525] Re: [GRASS5] Pushpin overlays

Hamish hamish_nospam at yahoo.com
Tue Jan 25 21:49:21 EST 2005


> I have a need to put pushpin (or whatever) icons over an image.  I
> know I can overlay a vector file over an image, but how do I make a
> vector file with an icon in the lat-long locations of my choice? 
> Assume I know next to nothing about this and you might be close :-)


d.vect site_locations icon=.. size=.. color=.. fcolor=..

(color is border color, fcolor is fill color)

you can use any of the symbols in the $GISBASE/etc/symbol/ directory

icon=basic/marker sounds pretty close:

d.vect site_locations icon=basic/marker size=10 fcolor=blue


you can pick sites directly from the screen:

d.where -ld | v.in.ascii fs=' ' out=test_pts


(-ld (that's a lower case "L") for lat/lon; leave off for non-lat/lon)


for instructions on making new icons see:
  http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassProgrammingHowto#Display_Symbols


d.vect help:
  http://grass.ibiblio.org/grass60/manuals/html60_user/d.vect.html




Hamish




More information about the grass-user mailing list