Timeline for Determine overlapping points using a spatial filter in ArcObject
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 10, 2012 at 17:18 | comment | added | user12665 | vinayan Would share the hash approach code? I am trying to find out the identical features (in point, polyline and polygon)i.e. int hashCode = featureEnvlope.Envelope.GetHashCode(); But, it does not work as it should be. Thanks -jjy | |
Mar 3, 2012 at 7:55 | comment | added | vinayan | @whuber - now you really made me read the Ragi approach thoroughly..it does look very convincing..thanks for pointing out..let me see if i can post a result with hash approach and a loop approach.. | |
Mar 2, 2012 at 14:16 | comment | added | whuber | I see at least one loop, vinayan (although I'll grant that every one of the points has to be inspected at least once!). One of the loops is explicit, although hidden by lack of indenting: it is delimited by "Do" and "Loop While Not pFtr is Nothing". The other is implicit in the call to "NearestFeatures". In the worst case this is a O(N) loop over all other features; in the best case, it will require a O(log(N)) search within a spatial data structure. Ragi's main point is that you don't need that search if you hash the point coordinates. | |
Mar 2, 2012 at 7:28 | comment | added | vinayan | @whuber i have read that particular reply..i do not see any looping or use of spatial filter in my code..or is it that IIndexQuery2.NearestFeatures method itself is built on a spatial filter? | |
Feb 29, 2012 at 19:15 | comment | added | whuber | You should study the reply given by Ragi Yaser Burhum. | |
Feb 29, 2012 at 9:42 | history | answered | vinayan | CC BY-SA 3.0 |