Tolarance

Y

Yevgeny Barkovsky

Hello!
Does anybody know exact meaning of the parameter "Tolerance" when calling
SpatialNeighbors, SpatailRelation?
 
C

Chris Roth [ Visio MVP ]

Tells the function how "rough" to be. Suppose you had two rectangles that
were 0.01 inch apart - almost touching each other. With 0 tolerance, they
would "not be spatial neighbors" at all. With a tolerance of 0.02 inch, they
would be consisdered "touching" or perhaps even "overlapping".

--

Hope this helps,

Chris Roth
Visio MVP
 
Y

Yevgeny Barkovsky

Hmm... That what I think...
But why changing this parameter to greater value is not causes to line1 fall
into selection for line2, when I use SpatialNeighbours, and SpatialRelation
between line1 and line2 is "touching", but reversing (between line2 and
line1) is "none"? Also why distance differs when calculated between line1
and line 2 and between line2 and line1?

line1 |
-----------| line2
|
 
Y

Yevgeny Barkovsky

I found answer for "Why", but can't found for "How" :(.
line1 falls into line2 selection depends on how far line1 from nearest
vertex of line2.
But, in my project where are huge amount of lines, so I can't set
"Tolerance" to big number - productivity dramaticaly decreases.
Maybe somebody knows another solution to fast-as-possible collect
line-shapes what join to other shape?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top