Intersect Task Results
I am developing a workflow where the user selects several polygons. The workflow compares each feature in the selection to each other to check for overlaps using the Intersect Task. If the features overlap, this will trigger a merge function. However, when I select 2 polygons which I know do not overlap, the Intersect Task still produces a result telling me there is 1 intersect.
I have made sure i'm not intersecting a feature against itself. So I don't really understand the output of the Intersect Task. What result should I be getting if the 2 polygon do not overlap?
Thanks.
0
-
Hi,
I’m not a wizard on those things but what I know is that ESRI ArcGIS API has a couple of ways to intend an intersection: interior intersection (where Geometries intersect excluding boundary touch) and intersection (Geometry interiors intersect or boundaries touch, same as 'not disjoint')
I’m not sure which one the Geocortex Intersect task implements but how geometries of your scenario look like? Can you exclude that they have at least one point in common?
To exclude that that’s the problem you could replace the intersect task with a query task and use “Spatial Relationship” parameter to specify the type of intersection that you are looking for (ESRI.ArcGIS.Client.Tasks.SpatialRelationship.esriSpatialRelTouches or ESRI.ArcGIS.Client.Tasks.SpatialRelationship.esriSpatialRelIntersects or other that you think appropriate) to try to understand where the “problem” stands …
I hope this helps0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar