We have a set of lat/lon contour data we converted into ESRI shape file(s). I am using GRASS to verify the data has been converted properly for GIS use by importing/converting the shape file data using v.in.shape. I am then plotting the resultant vector map using d.vect
Although the contours are successfully plotted - the contour labels are not.
I do not see in the documentation how plotting of contour labels is accomplished from a vector map. I thought the vector attributes where automatically handled if properly stored in the original .dbf file.
On Thursday 18 May 2006 13:24, Peter Manousos wrote:
Hi..
We have a set of lat/lon contour data we converted into ESRI shape
file(s). I am using GRASS to verify the data has been converted
properly for GIS use by importing/converting the shape file data using
v.in.shape. I am then plotting the resultant vector map using d.vect
Although the contours are successfully plotted - the contour labels are
not.
I do not see in the documentation how plotting of contour labels is
accomplished from a vector map. I thought the vector attributes where
automatically handled if properly stored in the original .dbf file.
What am I missing ?
Pete
Welcome aboard.
vector attributes will not be displayed by default. you can have them shown by
adding the following flags to d.vect:
d.vect contours disp=shape,attr ...
you will need to specify the column name containing your contour labels. check
the d.vect man page for details.
Cheers,
Dylan
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
Is it possible for you to use a newer version of GRASS ? I would recommend
6.1-cvs as it is the most up-to-date.
Dylan
On Thursday 18 May 2006 14:16, Peter Manousos wrote:
Hi Dylan..
Thanks for the quick reply, but I dont see in the man pages on d.vect
allows specification of a column.
I am using GRASS 5.4 and d.vect only allows map=<mapname> color=<color>
and at catnum.
Pete
Dylan Beaudette wrote:
> On Thursday 18 May 2006 13:24, Peter Manousos wrote:
>> Hi..
>>
>> We have a set of lat/lon contour data we converted into ESRI shape
>> file(s). I am using GRASS to verify the data has been converted
>> properly for GIS use by importing/converting the shape file data using
>> v.in.shape. I am then plotting the resultant vector map using d.vect
>>
>> Although the contours are successfully plotted - the contour labels are
>> not.
>>
>> I do not see in the documentation how plotting of contour labels is
>> accomplished from a vector map. I thought the vector attributes where
>> automatically handled if properly stored in the original .dbf file.
>>
>> What am I missing ?
>>
>> Pete
>
> Welcome aboard.
>
> vector attributes will not be displayed by default. you can have them
> shown by adding the following flags to d.vect:
>
> d.vect contours disp=shape,attr ...
>
> you will need to specify the column name containing your contour labels.
> check the d.vect man page for details.
>
> Cheers,
>
> Dylan
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
We have a set of lat/lon contour data we converted into ESRI shape
file(s). I am using GRASS to verify the data has been converted
properly for GIS use by importing/converting the shape file data using
v.in.shape. I am then plotting the resultant vector map using d.vect
Although the contours are successfully plotted - the contour labels
are not.
I do not see in the documentation how plotting of contour labels is
accomplished from a vector map. I thought the vector attributes where
automatically handled if properly stored in the original .dbf file.
What am I missing ?
You need to use GRASS 6. Vector attributes in GRASS 5 are very limited.
Import is with v.in.ogr, display with (new) d.vect.