[GRASS-user] add a centroid in the center of polygon

Markus Metz markus.metz.giswork at gmail.com
Sat Jan 25 03:08:14 PST 2014


On Sat, Jan 25, 2014 at 12:10 AM, Milton Ribeiro
<miltinho.astronauta at gmail.com> wrote:
> Dear all,
>
> I have a polygon vector, and need to add point in the center of mass of each
> one.
> I used v.centroid, but it adds just a centroid, but not in the central
> position of the polygon area.

v.centerpoint from addons [0] does that.

Markus M

[0] http://grasswiki.osgeo.org/wiki/AddOns/GRASS7/vector#v.centerpoint

>
> any hint are welcome!
>
> cheers
>
> --
> Miltinho - mcr at rc.unesp.br
> Laboratório de Ecologia Espacial e Conservação - LEEC
> Depto de Ecologia - UNESP - Rio Claro
> Av. 24A, 1515- Bela Vista
> 13506-900 Rio Claro, SP, Brasil
>
> Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
> Cel: 19 9853-3220 / 19 9853-5430
>
> Depto Ecologia http://ib.rc.unesp.br/#!/departamentos/ecologia/
> PG ECO & BIODIV
> http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/
>
> CV
> http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6&mostrarNroCitacoesISI=true&mostrarNroCitacoesScopus=true
>
> Google citations http://scholar.google.com/citations?user=OWX_2eAAAAAJ
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list