zl程序教程

您现在的位置是:首页 >  其它

当前栏目

ArcGis 创建IWorkspace

创建 ArcGIS
2023-09-11 14:15:05 时间
 string oshpDir = System.IO.Path.GetDirectoryName(outfile);
            string oshpfilename = System.IO.Path.GetFileName(outfile);

            IWorkspaceFactory wsFactory = new ShapefileWorkspaceFactoryClass();
            IWorkspaceName workspaceName = wsFactory.Create(oshpDir, oshpfilename, null0);
            ESRI.ArcGIS.esriSystem.IName name = (ESRI.ArcGIS.esriSystem.IName)workspaceName;
            IWorkspace copyWorkspace = (IWorkspace)name.Open();