使用ESRI.ArcGIS.Carto.QueryByLayerClass 实现ArcMap中(选择-->按位置选择)功能:
ESRI.ArcGIS.Carto.QueryByLayerClass pQuerySelect = new ESRI.ArcGIS.Carto.QueryByLayerClass();
pQuerySelect.ByLayer =FeatureLayer;
pQuerySelect.LayerSelectionMethod = ESRI.ArcGIS.Carto.esriLayerSelectionMethod.esriLayerSelectShareALineSegmentWith;
pQuerySelect.FromLayer = pFeatureLayer;
pQuerySelect.UseSelectedFeatures = false;
ISelectionSet pSelectionSet = pQuerySelect.Select();
ArcMap按位置选择
于 2019-05-09 10:59:45 首次发布