Opened 13 years ago

Closed 11 years ago

#1656 closed enhancement (fixed)

v.what.rast: allow use of centroids in addition to points

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Default Version: unspecified
Keywords: v.what.rast Cc:
CPU: Unspecified Platform: Unspecified

Description

Currently v.what.rast only allows using vector points. Sometimes using centroids of polygons can be desirable and it would be great if v.what.rast allowed that.

A quick and dirty way is to replace the two references to GV_POINT by GV_POINTS, but this could lead to issues if a map contains both points and centroids. The module should offer a choice of types between points and centroids.

Moritz

Change History (1)

comment:1 by neteler, 11 years ago

Keywords: v.what.rast added
Resolution: fixed
Status: newclosed

Done in r59341.

Note: See TracTickets for help on using tickets.