[Qgis-user] Change of object type

Agustin Lobo aloboaleu at gmail.com
Thu Dec 4 23:23:35 PST 2008


v.build did not made polygons out of the lines. The following worked:

  v.type in=MMAMB_municipis out=delme4 type=line,boundary

or using v.type.lb in the modules tree.

Gracias!

(I think that a QGIS-only solution should be implemented, in fTools?)

Agus


> 2008/12/4 Goyo <goyodiaz at gmail.com>:
>> El jue, 04-12-2008 a las 18:29 +0100, Agustin Lobo escribió:
>>> By some reason I've got a shp that should be a set of polygons, as lines.
>>> Is it possible with QGIS to automatically define the polygons and save
>>> the layer
>>> with the correct vector type (polygons)?
>>>
>>> Thanks
>>>
>>> Agus
>>>
>>
>> I have done this before using the GRASS plugin. I don't remember the
>> exact command.
> 
> If you can run GRASS commands,  you can build polygons with something like:
> 
> v.build map=map_of_lines option=build
> 
> Saludos
> José María
> 
>> Goyo
>>

Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster



More information about the Qgis-user mailing list