[GRASS-user] remove islands and centroids out of areas

Markus Metz markus.metz.giswork at gmail.com
Wed Aug 10 13:04:34 PDT 2016


On Wed, Aug 10, 2016 at 8:29 PM, Daniel Torres <nobeeakon at gmail.com> wrote:
> Dear list,
> I have imported a shapefile, and want to remove islands, and centroids that
> are out of areas, is there any command to do this?

If you used v.in.ogr with the default settings, there should not be
artefacts such as centroids outside areas. Can you provide the command
you used to import the shapefile and the full output of the command?
That would help to find out why there are centroids outside of any
areas.

What exactly do you mean with "remove islands"? You can try the
v.in.ogr option min_area or afterwards remove small areas with v.clean
tool=rmarea which would also remove small holes in polygons.

Markus M


More information about the grass-user mailing list