[Qgis-user] Change of object type

Agustin Lobo Agustin.Lobo at ija.csic.es
Sat Dec 6 01:54:30 PST 2008


Jose Maria,

(I write in Engl. because of the CC to qgis list)

I think that you are right, v.build is probably a previous requirement.
I actually run v.build.all through the modules as my first attempt
to build the polygons. Anyway, I think that v.type would complain
and let you know that you must run v.build first if you did not.

Gracias,

Agus

José María Michia wrote:
> 2008/12/5 Agustin Lobo <aloboaleu at gmail.com>:
>> 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.
> 
> Lo siento por mi error, gracias Agustín por corregirme. Me surge una
> duda. En ciertos casos, no sería conveniente o necesario utilizar
> v.build previamente? antes de utilizar v.type? Me refiero a aquellos
> casos en el que las líneas originales puedan tener errores de
> topología.
> 
> Gracias y saludos
> José María
> 
>> 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
>>
> 

-- 
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