On 27/01/12 13:14, Paolo Cavallini wrote:
Hi all.
The current command for v.centroid in the grass qgis plugin is:

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

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

If you give v.centroid a map with some areas (i.e. boundaries + centroids) and some boundaries (i.e. without centroids), it will just add centroids to the boundaries without centroids.

Moritz
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to