[GRASS-user] tables connection in database

Moritz Lennert mlennert at club.worldonline.be
Fri Jun 26 11:36:39 EDT 2009


On 26/06/09 17:15, achim wrote:
> 
>> Thats exactly the problem: It shows nothing.
>> None of my lines has any cat.

That's why you have to run v.category option=add as I indicated in a 
previous mail.

> 
> Another example where it works partly:
>  |   Type of Map:  vector (level: 2)
>  |   Number of points:       1               Number of areas:      56
>  |   Number of lines:        0               Number of islands:    1
>  |   Number of boundaries:   255             Number of faces:      0
>  |   Number of centroids:    56              Number of kernels:    0
>  |
>  |   Map is 3D:              No
>  |   Number of dblinks:      1
> 
> successfully created a table with 57 entries
> ?->.

What is the problem ?

> And now: how to do the same with boundaries?

Why do you want your boundaries to have category values ? An area in 
GRASS is defined by the combination of boundaries with a centroid and 
the attribute data is attached to the centroid, not to the boundary.

If you really want cat values for your boundaries, again: use v.category 
option=add type=boundary.

Have you read:
http://grass.itc.it/grass64/manuals/html64_user/vectorintro.html
http://grass.osgeo.org/wiki/Vector_Database_Management


?

Moritz

Moritz


More information about the grass-user mailing list