码迷,mamicode.com
首页 > 其他好文 > 详细

在IFeatureDataset 创建IFeatureClass

时间:2019-03-29 20:57:11      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:pac   geo   创建   inf   workspace   nfc   path   layer   relay   

//在MDB里创建空表 白明雅 2019-03-29
                        IFields fields = null;
                        GeoDBAPI.CreateFields(inFc.FeatureClass.Fields, out fields);
                        IFeatureDataset dataset = inFc.FeatureClass.FeatureDataset;
                        dataset.CreateFeatureClass(System.IO.Path.GetFileNameWithoutExtension(pOutFeatureClass), fields, null, null, esriFeatureType.esriFTSimple, "SHAPE", "");

//打开创建的要数集
                        pFeatureLayer.FeatureClass = workspaceAPI.OpenFeatureClass(System.IO.Path.GetFileNameWithoutExtension(pOutFeatureClass)).FeatureClass;

在IFeatureDataset 创建IFeatureClass

标签:pac   geo   创建   inf   workspace   nfc   path   layer   relay   

原文地址:https://www.cnblogs.com/baimy/p/10623564.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!