[GRASS-user] Retyping lines to boundaries

Hello

I have a line map that I would like to convert into boundaries, so that
centroids can then be placed within each closed boundary. However,
v.centroids will not operate on the map, because of course the map only
contains lines, not boundaries. Is there a way of retyping or recoding
lines to boundaries, so that the centroids can be added? (GRASS 6.2.1)

Many thanks in advance
Roy

Roy Sanderson wrote on 07/04/2007 11:37 AM:

Hello

I have a line map that I would like to convert into boundaries, so that
centroids can then be placed within each closed boundary. However,
v.centroids will not operate on the map, because of course the map only
contains lines, not boundaries. Is there a way of retyping or recoding
lines to boundaries, so that the centroids can be added? (GRASS 6.2.1)

Many thanks in advance
  

Roy,

enjoy v.type...

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------

You can use v.type to convert from one primitive to another.
I guess it won't hurt to run v.build on the result to make
sure that all map objects have been converted to closed polygons.

Ben

Roy Sanderson wrote:

Hello

I have a line map that I would like to convert into boundaries, so that
centroids can then be placed within each closed boundary. However,
v.centroids will not operate on the map, because of course the map only
contains lines, not boundaries. Is there a way of retyping or recoding
lines to boundaries, so that the centroids can be added? (GRASS 6.2.1)

Many thanks in advance
Roy

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg