laptop and a wrench

Bogue

ISpatialFilter::SpatialRel::esriSpatialRelIntersects returns incorrect results when data is in SDE.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM031245
EnvoiJanuary 11, 2008
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Version de correction10.1.2
StatutFixed

Solution de contournement

Use GPDispatch.Public Sub SelectByLocation()Dim pMxDoc As IMxDocumentSet pMxDoc = ThisDocumentDim pMap As IMapSet pMap = pMxDoc.FocusMapDim pSelectLayer As IFeatureLayerSet pSelectLayer = pMap.Layer(0)Dim pInLayer As IFeatureLayerSet pInLayer = pMap.Layer(1)Dim GP As ObjectSet GP = CreateObject("esriGeoprocessing.GpDispatch.1")GP.selectLayerBylocation_Management pInLayer, "INTERSECT", pSelectLayer, "", "NEW_SELECTION"End Sub

Étapes pour reproduire

ID de bogue: NIM031245

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