[GRASS-user] using v.line.center

Manuel Sangiao masanlo1 at gmail.com
Wed Jun 4 14:05:39 EDT 2008


Hi list,

in order to use *v.line.center* properly I use* v.category* to adjust
category assignment.

As a result I get:

GRASS 6.2.2 (admeurop):> v.category in=bound1 layer=2 out=boundary1 --o
WARNING: The vector 'boundary1' already exists and will be overwritten.
116 new centroids placed in output map
Building topology ...
711 primitives registered
Building areas: 100%
119 areas built
28 isles built
Attaching islands: 100%
Attaching centroids: 100%
Topology was built.
Number of nodes : 631
Number of primitives: 711
Number of points : 0
Number of lines : 0
Number of boundaries: 592
Number of centroids : 119
Number of areas : 119
Number of isles : 28
Number of incorrect boundaries : 299
--

Then I use *v.line.center* to get the middle points of the boundaries
(That's right?). Then I get the following result:

GRASS 6.2.2 (admeurop):/scratch/manuel/GISDATA/scripts > v.line.center
in=boundary1 out=points1 --o
0 categories read from map
0 records selected from table
0 categories read from map exist in selection from table
0 categories read from map don't exist in selection from table
0 records updated/inserted
0 update/insert errors
WARNING: The vector 'points1' already exists and will be overwritten.
Building topology ...
0 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes : 0
Number of primitives: 0
Number of points : 0
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

Done.
--

So, I get nothing

Any can me help? I don't understand this result.

cheers

Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080604/0d78a40b/attachment.html


More information about the grass-user mailing list