ArcGIS Pro二次开发SDK 对象分割Edit Operation Split Features varsplitFeatures =newEditOperation(); splitFeatures.Name="Split Features";varsplitPoints =newList<MapPoint>() { mp1, mp2, mp3 };//Split the feature at 3 pointssplitFeatures.Split(featureLayer, oid, splitPoints);//split using percent...
var splitByVaryingDistance = new SplitByVaryingDistance() { Distances = distances, SplitFromStartPoint = true, ProportionRemainder = true }; splitFeatures.Split(featureLayer, oid, splitByVaryingDistance); //Execute to execute the operation //Must be called within QueuedTask.Run splitFeatures.Execute...
The Split tool splits a feature into two or more features where you click it, or where a sketched line or the boundary of another feature crosses it. The feature layer must be visible and editable.
It's been a while since I tried this one so I don't remember all of why I decided to abandon this method. Attempt #2 Then I tried to start with the polygon issue by attempting a Split By. That solved the polygon overlapping problem, but didn't connect any of...
The set of features to be split. splitGeometry The geometry used to define the intersection. Remarks The feature(s) will be split wherever the input geometry intersect. Examples are split a line(s) by a point(s); split a line(s) by line(s), split a polygon(s) by line(s), split...
ArcGIS Pro二次开发SDK 对象分割Edit Operation Split Features 摘要:var splitFeatures = new EditOperation(); splitFeatures.Name = "Split Features"; var splitPoints = new List<MapPoint>() { mp1, mp2, mp3 }; //Split the 阅读全文 posted @ 2022-04-10 22:22 gisai 阅读(103) 评论(0) ...
rotateFeatures.Rotate(MapView.Active.GetFeatures(polygon), origin, Math.PI / 2);//执行旋转操作 rotateFeatures.Execute();});} 然后,在【Button1】类的OnClick()方法中添加如下代码://获取选择的图层 varfeatureLayer = MapView.Active.GetSelectedLayers().FirstOrDefault() asFeatureLayer;if(featureLayer...
In ArcGIS Pro, click the Edit tab. Click the Modify icon to open the Modify Features pane. In the Modify Features pane, scroll to and click Divide. Click the circle polygon to split. Under Method, select Proportional Area. Under Values, set the Number of parts to 2. The New polygon ar...
Split the lines outside the polygon boundaries using the Intersect tool Note: Use this method if there is no Advanced license in ArcGIS Pro. In ArcGIS Pro, navigate toAnalysis>Tools. In theGeoprocessingpane, search for theIntersecttool.
deleteFeatures.Name = "Delete Features"; deleteFeatures.ShowProgressor = true; deleteFeatures.EditOperationType = EditOperationType.Long; deleteFeatures.Cut(featureLayer, id, geometry); //deleteFeatures.Split(featureLayer, id, geometry); deleteFeatures.ExecuteAsync(); ...