[GRASS-user] removing gaps between areas

Hi,

after patching two vector maps I am getting small gaps between areas
(see the attached screenshot).

I found 'rmsa' tool (remove small angles between lines at nodes) of
`v.clean` as suitable for this task. Unfortunately this tool ignores
threshold value [1], after a small modification of this tool I can
remove these gaps using `rmsa` tools. I just wonder if there is a more
safe or preferable way how to remove gaps.

Thanks, Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/Vlib/clean_nodes.c#L85

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

(attachments)

area_gaps.png

Hi,

2013/11/30 Martin Landa <landa.martin@gmail.com>:

after patching two vector maps I am getting small gaps between areas
(see the attached screenshot).

I found 'rmsa' tool (remove small angles between lines at nodes) of
`v.clean` as suitable for this task. Unfortunately this tool ignores
threshold value [1], after a small modification of this tool I can
remove these gaps using `rmsa` tools. I just wonder if there is a more
safe or preferable way how to remove gaps.

sorry for the noise - 'rmarea' is the solution, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Mon, Dec 2, 2013 at 7:42 AM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2013/11/30 Martin Landa <landa.martin@gmail.com>:

after patching two vector maps I am getting small gaps between areas
(see the attached screenshot).

I found 'rmsa' tool (remove small angles between lines at nodes) of
`v.clean` as suitable for this task. Unfortunately this tool ignores
threshold value [1], after a small modification of this tool I can
remove these gaps using `rmsa` tools. I just wonder if there is a more
safe or preferable way how to remove gaps.

sorry for the noise - 'rmarea' is the solution, Martin

You might also try tool=snap with a very small threshold. Which tool
or combination of tools works best to remove gaps depends on the data,
some experimenting can be helpful.

Markus M