Create a feature classThere are four primary ways to create a feature class: Using the Create Feature Class wizard Using the Create Feature Class geoprocessing tool Saving the contents of a feature layer Converting an external data source, such as a shapefile or CAD data, into a feature class...
The Feature Class Location parameter value (geodatabase or folder) must already exist. This tool creates only simple feature classes such as point, multipoint, polygon, and polyline. A shapefile created by this tool has an integer field named ID. The ID field is not created when you provid...
在ArcGIS Pro中,单击“Catalog”选项卡上方的“New”按钮,然后选择“File Geodatabase”。 步骤3:在地理数据库中创建要素类 一旦您创建了地理数据库,接下来您可以开始创建要素类了。在ArcMap中,右键单击新创建的地理数据库,并选择“新建要素类”。在ArcGIS Pro中,单击“Catalog”选项卡上方的“Create Feature Class...
For Target Dataset, select the created feature class in Step 1. In this example, NewFeatureClass is selected. For Field Matching Type, select Use the field map to reconcile field differences. Configure the parameters under Field Map. Refer to ArcGIS Pro: Attribute field mapping for more informa...
namespace ProAppModule1 { internal class Button2 : Button { public enum EnumFeatureClassType { POINT, MULTIPOINT, POLYLINE, POLYGON } public static async Task CreateFeatureClass(string featureclassName, EnumFeatureClassType featureclassType, SpatialReference pSpatialReference) ...
internal static async Task CreateFcWithAttributesAsync(string fcName, EnumFeatureClassType fcType) { // Create feature class T1 await Module1.CreateFeatureClass(fcName, fcType); // double check to see if the layer was added to the map ...
{//Create feature class T1awaitModule1.CreateFeatureClass(fcName, fcType);//double check to see if the layer was added to the mapvarfcLayer = MapView.Active.Map.GetLayersAsFlattenedList().Where((l) => l.Name == fcName).FirstOrDefault()asBasicFeatureLayer;if(fcLayer ==null) ...
{varGP =newGeoprocessor();varpCreator =newESRI.ArcGIS.DataManagementTools.CreateFeatureclass();try{varshp = input.Obj.DataSourceType =="Shapefile 要素类"|| input.Obj.DataSourceType =="Shapefile Feature Class"?".shp":"";varf1 = input.Obj.FeatureClass.FeatureDataset ==null?(input.Obj.Featur...
addVertex=arcpy.CreateFeatureclass_management("in_memory","addVertex","POLYLINE",spatial_reference=arcpy.Describe(input_line).spatialReference)arcpy.AddField_management(addVertex,"origin","LONG")# 创建与line对应的折线并写入addVertexwitharcpy.da.SearchCursor(input_line,["SHAPE@","OID@"])assc:witharcpy...
In theIntersectgeoprocessing pane, forInput Features, select the line layer output from step 1. ForOutput Feature Class, specify a name and location for the output point layer. ForOutput Type, selectPointfrom the drop-down menu. ClickRun. ...