Hi,I have a polygon shapefile containing several land parcels. I would like to identify which of these parcels would intersect to my other polygon shapefile by creating a single button. Steps on customization are mostly understood by me. But since I'm new to programming, its difficult for me to create the VBA code for this. Any suggestion??A already constructed code would be very much appreciated. Thanks!
pQueryByLayer = new QueryByLayerClass(); pQueryByLayer.FromLayer = pFeatureLayer; pQueryByLayer.ByLayer = pFeatureLayer; pQueryByLayer.UseSelectedFeatures = true; pQueryByLayer.LayerSelectionMethod = esriLayerSelectionMethod.esriLayerSelectBoundaryTouches; IFeatureSelection pFr = pFeatureLayer as IFeatureSelection; pFr.SelectionSet = pQueryByLayer.Select();
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.