[GRASS-dev] Re: [GRASS GIS] #1654: v.extract: allow direct transformation of centroids to points

GRASS GIS trac at osgeo.org
Mon May 14 15:49:05 EDT 2012


#1654: v.extract: allow direct transformation of centroids to points
-------------------------+--------------------------------------------------
 Reporter:  mlennert     |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hamish):

 sorry if that came out harsh, I was in a hurry and meant to be brief, but
 not curt.

 option 3 is the most acceptable to me, but even then I'd open access to it
 with a lot of caution. Remember that the absolute position of a centroid
 is just somewhere within the area, it is not guaranteed to be in the
 middle, so users must be very careful treating them as points with
 absolute x,y,z meaning. e.g. "C", "O", "L" shaped areas; areas created by
 v.buffer or v.overlay may have centroids may have their centroids right
 near an outside edge; etc.

 I'm not sure how you are using it, but fwiw see also the add on module
 v.points.cog: "v.points.cog is a shell script which will create a new
 point at the center of gravity of each cluster of input points or
 centroids, grouped by attribute. Among other things this is useful for
 labeling swarms of points."


 regards,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1654#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list