laptop and a wrench

Bug

Select 'using GeometryBag as spatialfilter geometry' returns an ncorrect feature count on SDE data.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM034037
SubmittedApril 8, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
StatusKnown Limit

Additional Information

No Public Explanation

Workaround

Use ITopoOp::Union to get the resulting combined features instead of the geometrybag object.Dim pTopo As ITopologicalOperator2 Dim feature As IFeature feature = featureCursor.NextFeature Do While Not feature Is Nothing If pTopo Is Nothing Then pTopo = feature.Shape pTopo.IsKnownSimple_2 = False pTopo.Simplify() Else pTopo = pTopo.Union(feature.Shape) End If 'geoCollection.AddGeometry(feature.Shape) 'removed this feature = featureCursor.NextFeature Loop Dim geoColIndex As ISpatialIndex geoColIndex = CType(pTopo, ISpatialIndex) geoColIndex.AllowIndexing = True geoColIndex.Invalidate()

Steps to Reproduce

Bug ID: NIM034037

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options