[GRASSLIST:200] Several newbie sites questions

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)?

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.

Thanks!

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

Moritz Lennert wrote:

> 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.

I don't think the latter is possible; however I think I found how to do
what I want: probably using the eps mapping instruction of ps.map.