[GRASSLIST:209] Re: Several newbie sites questions

Moritz Lennert mlennert at club.worldonline.be
Tue May 27 04:13:37 EDT 2003


Antonios Christofides said:
> I'm sorry to keep asking silly questions, but the documentation is
> lacking; so are the archives.
>
> Suppose I have a map with sites representing residential areas, in two
> categories: 1 - villages, 2 - towns.
>
> 1) How do I associate each site with a name (that is, specify the
>    name of each village and town)?

See http://grass.itc.it/gdp/grass5tutor/HTML/c1226.html (GRASS Tutorial,
Chapter "Site Attributes") and s.in.ascii for details about how to deal
with site attributes.

>
> 2) How do I tell ps.map to draw category 1 sites with a different
>    icon from that of category 2? I think I need something like line_cat,
>    but for sites.

I think the easiest would be to seperate the two maps into two different
maps, one for villages and one for towns. Or you could transform your
sites file into a vector file with s.to.vect and then use the options
available for vectors in ps.map.

Moritz




More information about the grass-user mailing list