How to snap nodes
David D Gray
ddgray at armadce.demon.co.uk
Mon Aug 21 20:13:47 EDT 2000
GRASS wrote:
>
> Hi all,
>
> I imported some DXF's as follows:
>
> v.in.dxf dxf=a.dxf lines=7111,7114
> v.in.dxf3d dxf=a.dxf lines=7111,7114
> v.support map=a.7111 option=build
> v.support map=a.7114 option=build
> v.patch input=a.7111,a.7114 output=a
>
> v.in.dxf dxf=b.dxf lines=7111,7114
> v.in.dxf3d dxf=b.dxf lines=7111,7114
> v.support map=b.7111 option=build
> v.support map=b.7114 option=build
> v.patch input=b.7111,b.7114 output=b
>
> v.patch input=a,b output=ab
> v.support map=ab option=build -s threshold=1
>
> This failed to snap nodes.
>
> d.vect ab
>
> draws two disconnected maps.
>
> What's wrong?
>
> Regards,
> Huidae Cho
Hi
Some thoughts:-
Is the snap distance enough? If it's not that, maybe try changing the
scale value in v.digit (to a small value like 200 or 50). At present
nodes will only snap to other nodes, not for example to lines. Perhaps
that is a thought for future development.
David
More information about the grass-user
mailing list