[GRASS-user] polygons and centroids redux

Markus Metz markus.metz.giswork at googlemail.com
Fri Jun 11 11:04:42 EDT 2010


Dave Roberts wrote:
>
>    It does raise a question, however, of what the conditions are that cause
> d.what.vect to return a feature type of "Boundary" rather than "Area" when
> querying a map.

d.what.vect and v.what search for points and centroids first. If none
is found, they continue and search for lines, boundaries and faces. If
none is found, they continue and search for areas. This search order
causes any centroid or boundary to be returned if found, and not the
corresponding area. Currently there is no way to select the feature
type (point, centroid, line, boundary, area, face) to be searched.
This option could be added for v.what in 7.0 if desired.

Markus M


More information about the grass-user mailing list