laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM034037
EnvoiApril 8, 2008
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
StatutKnown Limit

Informations supplémentaires

No Public Explanation

Solution de contournement

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()

Étapes pour reproduire

ID de bogue: NIM034037

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement