laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM031245
SubmittedJanuary 11, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Version Fixed10.1.2
StatusFixed

Workaround

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

Steps to Reproduce

Bug ID: NIM031245

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