C# GeoProcessing FeatureToLine 面层转换线层

C# GeoProcessing FeatureToLine

public static void Polygon2Polylines(string polygonFile, string polylineFile)
        {
           

            ESRI.ArcGIS.Geoprocessor.Geoprocessor GP1 = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();
            GP1.SetEnvironmentValue("workspace", @"c:/temp/temp.mdb");
            ESRI.ArcGIS.DataManagementTools.FeatureToLine pFeatureToLine = new FeatureToLine(polygonFile, polylineFile);                     
            pFeatureToLine.cluster_tolerance = 0.0001;
            pFeatureToLine.attributes = false;
            GP1.OverwriteOutput = true;
            GP1.Execute(pFeatureToLine, null);
        }

你可能感兴趣的:(c,String,C#,null)