laptop and a wrench

Error

ITopologicalOperator::Intersect does not always work correctly at ArcGIS 9.2 - not all intersections are returned.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM006824
EnviadoFebruary 13, 2007
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
Lenguaje del programaVBA
EstadoNon-Reproducible

Información adicional

No Public Explanation

Solución alternativa

Using a spatial filter to perform the intersect works successfullySample workaround code provided to client:----------------------------------------------------------------------------Sub SpatialSelection()Dim pMxApp As IMxApplicationDim pMxDoc As IMxDocumentDim pMap As IMapDim pTargetLayer As IFeatureLayerDim pSelectingLayer As IFeatureLayerDim pFeatureClass As IFeatureClassDim pEnvelope As IEnvelopeDim pFeatureSelection As IFeatureSelectionDim pSpatialFilter As ISpatialFilterSet pMxApp = ApplicationSet pMxDoc = Application.DocumentSet pMap = pMxDoc.FocusMapSet pTargetLayer = pMap.Layer(0) 'Centerline_ExportSet pSelectingLayer = pMap.Layer(1) 'FireBoxArea_ExportSet pFeatureClass = pTargetLayer.FeatureClassSet pEnvelope = pSelectingLayer.AreaOfInterestSet pFeatureSelection = pTargetLayerSet pSpatialFilter = New SpatialFilterWith pSpatialFilterSet .Geometry = pEnvelope.GeometryField = pFeatureClass.ShapeFieldName.SpatialRel = esriSpatialRelIntersects.WhereClause = "SEGMENTID = '0151913' OR SEGMENTID = '0158895'"End WithpFeatureSelection.SelectFeatures pSpatialFilter, esriSelectionResultNew, FalsepMxDoc.ActiveView.PartialRefresh esriViewGeoSelection, Nothing, NothingEnd Sub

Pasos para reproducir

ID del error: NIM006824

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga