Dear GRASS users,
I would like to patch 6 vector maps that overlap each others, see
"overlap.png", I've used this command:
{{{
v.patch --o \
input=vseg@ml_000_000,vseg@ml_000_001,vseg@ml_000_002,vseg@ml_001_000,vseg@ml_001_001,vseg@ml_001_002
\
output=tmp_vseg@test_ml
}}}
that return these warnings:
{{{
WARNING: Number of centroids exceeds number of areas: 42839 > 30253
WARNING: Number of incorrect boundaries: 39832
WARNING: Number of centroids outside area: 12474
WARNING: Number of duplicate centroids: 199
}}}
you can see the result "vpatch.png". Then I try to simplify and fix
the geometry, with:
{{{
v.clean --o \
input=tmp_vseg@test_ml layer=-1 type=area \
tool=rmsa,bpol,rmdupl,rmdac,prune \
output=vseg@test_ml \
error=error_vseg@test_ml
}}}
that return:
{{{
100%
Rebuilding parts of topology...
100%
100%
100%
100%
Rebuilding parts of topology...
Building areas...
100%
Attaching islands...
100%
Attaching centroids...
100%
WARNING: Number of centroids exceeds number of areas: 42839 > 30253
WARNING: Number of incorrect boundaries: 39832
WARNING: Number of centroids outside area: 12474
WARNING: Number of duplicate centroids: 199
100%
WARNING: Number of centroids exceeds number of areas: 42839 > 30253
WARNING: Number of incorrect boundaries: 39832
WARNING: Number of centroids outside area: 12474
0 vertices from input 0 (vertices of given type) removed, i.e. 0.00 %
Rebuilding topology for output vector map...
Building areas...
100%
Attaching islands...
100%
Attaching centroids...
100%
WARNING: Number of centroids exceeds number of areas: 42640 > 30253
WARNING: Number of incorrect boundaries: 39832
WARNING: Number of centroids outside area: 12474
Building topology for error vector map...
Building areas...
100%
Attaching islands...
Attaching centroids...
100%
WARNING: Number of centroids exceeds number of areas: 199 > 0
WARNING: Number of centroids outside area: 199
}}}
the final result is the figure "vclean.png".
How can I patch the vector maps without loosing the overlap regions? Any hints?
Thank you for your help.
Pietro
(attachments)