[GRASSLIST:3987] Re: vector labelling and queries

Eric G. Miller egm2 at jps.net
Fri Jun 28 21:36:17 EDT 2002


On Fri, Jun 28, 2002 at 05:40:21PM +0200, Andrew Wade wrote:
> I know vectors are all assigned numbers but can they also be 
> labelled?  If so, how do I assign and query the label?  v.what 
> doesn't have the option.  Is there anything else?  I'm looking to 
> query a point on a vector map with co-ordinates and receive the 
> vector's label and number.

Category labels live in <mapset>/dig_cats/<layer> and have a format 
like:

# 5 categories
My Description

0.00 0.00 0.00 0.00
1:Swamp
2:Lake
3:Pond
4:Estuary
5:Swimming Pool

The number is the category number, the part after the colon is the
label. 

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list