SDO_RELATE_2

Hi,
I have created a polygonshape and a line shape with Arcmap. The polylines (5) were snapped to the polygons so they are exactly on the same place as the polygon. 4 lines are equal to a part of the polygon (snapped on the vertices), a fifth is a bit shorter then the part of the polygon on which it is placed (and therefore not snaped to vertices but to the line). All the geometries then were loaded to oracle spatial, useing SDE. When I tried to determine the relation between all the polylines and one of the polygons I found that the relation between the fifth line and the polygon is:
'OVERLAPBDYDISJOINT'
I expected it to be:
'ON' (as shown in les07.ppt from spatial_training_817.zip, slide 14, left corner)
The query I used is:
select mdsys.sdo_geom.relate (lnn.geometrie, 'determine', ovl.geom, 0.000001)
, lnn.id lijn_id
from overlap_perc ovl
, lijn_test lnn
where ovl.id = 3
overlap_perc is a polygon layer
lijn_test is a line layer
What am I doig wrong here? why isn't the relation 'ON' while he les07.ppt suggests it should be?

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Siva Ravada:
Gerjan,
There are some tolerance related issues
here.
I am not sure you got the complete precision
of the numbers in the coordinates you
gave here.
If these are the actual coordinates:
(i) The tolerance of 0.000001 is very small.
With that tolerance the line is
completely inside the polygon.
And I get 'INSIDE'
relationship in 9i.
(ii) If I use a tolerance of 0.005, I get
'COVEREDBY' in 9i.
(iii) Even (ii) is not the right relation.
We did some more tolerance fixes
in the current release cycle.
You would get 'ON' with 0.005 in
9i second release (9.0.2).
But you will still get 'INSIDE' with a tolerance of 0.000001.
<HR></BLOCKQUOTE>
Hi Siva,
Thank you for your reply. I agree with you that the tolerance is very small. So I changed the tolerance to:
with tolerance 0.005 the line (with id = 100) is still inside.
I have set the tolerance to 5 now. This resulted in a touch, but according to the coordinate system I use (Dutch System) this tolerance is 5 meters which is far too much for our goal. Besides that: 'Toch' is also not the correct relationship.
Do you think that I have to conclude that determining the relation between the line and ploygon is not going to work, when useing release 8.1.7? Or this conclusion to premature?
null

Similar Messages

Maybe you are looking for

  • Error in BDC Back Ground Processing

    Dear All, I am facing problem on while executing BDC program. First i am executing in Foreground method there it displaying errors occured, means it showing full discription or error. But when i used Back ground processing its displayig the full erro

  • MacBook Pro Overheating under bootcamp

    Hey all. I have been having a massive overheating problem with my MBP when trying to play games under bootcamp and windows XP. - I have called Apple Support - they were not much help save to tell me not to place the computer on my lap. - I do not hav

  • Still images too pixelated

    hi need help with still images looked great in the viewer ,but in timeline and canvas they look too pixelated and poor quality, any ideas as to what i am doing wrong any advice ealy appreciate thankyou simon

  • TC & Aperture

    With OS 10.5.2, Time Capsule firmware 7.3.1, and Aperture 2.1, I know that it is "okay" now to have Time Machine backup Aperture database. As far as I understand, when Aperture opens up, Time Machine automatically excludes Aperture's database from ba

  • Suggestions on Managing mixed (NT - Unix) environments

    We are in process of implementing 11.5.5 Our Applications instances are on Unix however, we are looking for advice on what is the most effective manner of testing/moving customized forms and reports between the NT GUI environment where they are modif