[GRASS-user] How to remove surplus centroids sitting right on a boundary line ?

Markus Neteler neteler at osgeo.org
Fri Jul 19 09:43:22 PDT 2013


On Fri, Jul 19, 2013 at 1:56 PM, "Peter Löwe" <peter.loewe at gmx.de> wrote:
> Hi all,
>
> I have a vector layer (source: ESRI shape) consisting of areas and many surplus centroids, which need to be removed.
> The surplus centroids are sitting right on the boundary lines of the areas: So each area has one "proper" centroid in its center, but also multiple "fringe" centroids sitting on its boundary line.
>
> Which combo of v.clean tools (or other means) can handle the removal of the unwanted centroids ?

Hi Peter,

http://grass.osgeo.org/grass64/manuals/v.clean.html

tool=string[,string,...]
...
    rmdac: remove duplicate area centroids ('type' option ignored)

Did you try this and it fails?

Markus


More information about the grass-user mailing list