[GRASS-user] v.clean Failed to build area

Markus Metz markus.metz.giswork at gmail.com
Thu Apr 26 23:19:59 PDT 2018


On Fri, Apr 27, 2018 at 1:37 AM, Peter Tittmann <ptittmann at gmail.com> wrote:
>
> Hi,
>
> I am attempting to use the `rmarea` tool in v.clean with a threshold of ~
1000 sq meters.
>
[...]
>
>  I am getting a rather cryptic message ‘Failed to build area’.
>
> > v.clean -c --overwrite --verbose input=plot_pa_with_lidar at project_area
output=plot_pa_rmarea tool=rmarea threshold=1017.2
> --------------------------------------------------
> Tool: Threshold
> Remove small areas: 1017.2
> --------------------------------------------------
> WARNING: Vector map <plot_pa_rmarea> already exists and will be
overwritten
> Using native format
> Copying features...
>  100%
> Rebuilding parts of topology...
> Building topology for vector map <plot_pa_rmarea at project_area>...
> Registering primitives...
> 1720636 primitives registered
> 3439992 vertices registered
> Building areas...
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
> WARNING: Area of size = 0.0 ignored
>  100%
> 499671 areas built
> 6004 isles built
> Attaching islands...
>  100%
> Attaching centroids...
>  100%
> Topology was built
> Number of nodes: 728615
> Number of primitives: 1720636
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 1222309
> Number of centroids: 498327
> Number of areas: 499671
> Number of isles: 6004
> WARNING: Number of incorrect boundaries: 9
> WARNING: Number of duplicate centroids: 14
> --------------------------------------------------
> Tool: Remove small areas
> ERROR: Failed to build new area

I guess the problem are these 9 incorrect boundaries. Which GRASS version
are you using? Can you try again with the latest release in case you are
not using the latest release?

Markus M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180427/4f57d756/attachment-0001.html>


More information about the grass-user mailing list