[GRASS-dev] v.centroid: on boundaries only?

Martin Landa landa.martin at gmail.com
Fri Jan 27 07:42:27 EST 2012


Hi,

2012/1/27 Moritz Lennert <mlennert at club.worldonline.be>:
>> <qgisgrassmodule label="Add missing centroids to closed boundaries"
>> module="v.centroids">
>>         <option key="input" layermask="0" typemask="area"/>
>>         <option key="output"/>
>>         <option key="option" answer="add" hidden="yes"/>
>>         <option key="cat" answer="1"/>
>>         <option key="step" answer="1"/>
>> </qgisgrassmodule>
>> Am I right saying that it should be
>> typemask="boundary"

no, `v.centroids` goes through all areas and adds centroid if area has
no centroid assigned.

> typemask is not an option for v.centroid, but a grass-plugin specific
> parameter. What does it do ?

AFAIU, it's related to `type` parameter. `typemask` filters vector
maps which contains given type, ie. in this case only vector maps
which contains at least one area (closed set of boundaries) are shown
in combo box.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list