[GRASS5] D.vect.graph problem

Michael Barton michael.barton at asu.edu
Wed Sep 1 02:21:07 EDT 2004


Hamish,

Sorry. Forgot to answer the second part of your prior message. There are 154
points in the file. This doesn't seem like very many to me. I had set the
region to only show <10. But it seems that d.vect.chart may not respect
region settings. There are string, double precision, and integer fields in
the database (I list the output of v.info below). To keep it all simple, I
was sticking to integer values (range 0-100). I don't have another point
file handy to try it on, but could make one.

Michael

On 8/31/04 11:08 PM, "Hamish" <hamish_nospam at yahoo.com> wrote:

>> I did what you suggested. When I run d.vect.chart using bar graphs,
>> the process (along with a dbf process) very briefly flashes in top
>> then disappears as it finishes.
> 
> 
> what does the data look like?
> i.e. **how many points in the data file**, what kind of data (integer,
> floating point, etc)?
> 
> Can you try it with a different points file?
> 
> 
> Vect_destroy_line_struct() is called to free the memory put aside for
> each polygon as they draw....
> 
> 
> Hamish

- - - v.info output - - -


v.info map=Polop_anal field=1
 +--------------------------------------------------------------------------
--+
 | Layer:    Polop_anal                     Organization:
|
 | Mapset:   grass57test                    Source Date:
|
 | Location: Spain                          Name of creator:
|
 | Database: /Users/Shared/grassdata/
|
 | Title:          
|
 | Map Scale:  1:1 
|
 | Map format: native
|
 |--------------------------------------------------------------------------
--|
 |   Type of Map:  Vector (level: 2)
|
 |                 
|
 |   Number of points:       154             Number of areas:      0
|
 |   Number of lines:        0               Number of islands:    0
|
 |   Number of boundaries:   0               Number of faces:      0
|
 |   Number of centroids:    0               Number of kernels:    0
|
 |                 
|
 |   Map is 3D:              0
|
 |   Number of dblinks:      1
|
 |                 
|
 |   Projection: UTM (zone 30)
|
 |            N: 4286172.730    S: 4282702.870
|
 |            E: 713632.350    W: 708309.400
|
 |            B: 0.000          T: 0.000
|
 |                 
|
 |   Digitize threshold: 0.00000
|
 |   Comments:     
|
 |                 
|
 +--------------------------------------------------------------------------
--+


v.info map=Polop_anal field=1 -c
Displaying column type for database connection of field 1:
INTEGER|cat
INTEGER|POLOP_ANAL
CHARACTER|PROV
CHARACTER|CERAM_DATE
INTEGER|FLAKE_TECH
INTEGER|MP_TOOLS
INTEGER|UP_TOOLS
INTEGER|BKD_TOOLS
INTEGER|BLADE_TECH
INTEGER|NEOL_TOOLS
INTEGER|EN_TOOLS
INTEGER|LN_TOOLS
INTEGER|LITHICS
INTEGER|GRNDSTONE
INTEGER|CERAMICS
INTEGER|ARTIFACTS
INTEGER|RETOUCHED
DOUBLE PRECISION|MPALEO
DOUBLE PRECISION|UPALEO
DOUBLE PRECISION|LUPALEO
DOUBLE PRECISION|ENEOL
DOUBLE PRECISION|LNEOL
DOUBLE PRECISION|PLEIST
DOUBLE PRECISION|HOLO
DOUBLE PRECISION|SETTL_WT
DOUBLE PRECISION|MPALEO_SI
INTEGER|MPSI_NTILE
DOUBLE PRECISION|UPALEO_SI
INTEGER|UPSI_NTILE
DOUBLE PRECISION|LUPALEO_SI
INTEGER|LUPSI_NTIL
DOUBLE PRECISION|ENEOL_SI
INTEGER|ENSI_NTILE
DOUBLE PRECISION|LNEOL_SI
INTEGER|LNSI_NTILE
DOUBLE PRECISION|PLEIST_SI
INTEGER|PSI_NTILE
DOUBLE PRECISION|HOLO_SI
INTEGER|HSI_NTILE
DOUBLE PRECISION|AREA
DOUBLE PRECISION|ORIG_AREA
CHARACTER|SURVEY
CHARACTER|STRATUM
CHARACTER|STRAT2

____________________
C. Michael Barton, Professor
School of Human Diversity and Social Change
PO Box 872402
Arizona State University
Tempe, AZ  85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>




More information about the grass-dev mailing list