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

Markus Metz markus.metz.giswork at googlemail.com
Fri Jan 27 16:13:40 EST 2012


On Fri, Jan 27, 2012 at 9:57 PM, Hamish <hamish_b at yahoo.com> wrote:
> Moritz ha scritto:
>> typemask is not an option for v.centroid, but a grass-plugin
>> specific parameter. What does it do ?
> Paolo:
>> it filters out the type of maps that appears on the list.
>
>
> Martin:
>> 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.
> Paolo:
>> ok, so the current set of options seem right.
>
> but v.centroids is important for cases when there are no valid areas.
>
> e.g. a dxf line map deliniating land parcels converted to boundaries
> with v.type.

Areas without a centroid are valid areas. If the dxf lines converted
to boundaries do not form closed areas, there are no areas. Martin and
Paolo are right.

Markus M


More information about the grass-dev mailing list