用ArcIMS发布的feature Service可作为AO的远程数据源,获得FeatureCLass后可将远程数据下载
C#
--------------
IIMSServiceDescription imsdsc = new IMSServiceNameClass();
imsdsc.URL ="http://dj";
imsdsc.Name = "sf";
imsdsc.ServiceType = acServiceType.acFeatureService;
IWorkspaceFactory wf = new IMSWorkspaceFactoryClass();
IFeatureWorkspace w = wf.Open (imsdsc.ConnectionProperties ,0) as IFeatureWorkspace;
IFeatureClass Fcls = w.OpenFeatureClass ("blockgroups");
使用ArcGIS Engine连接ArcIMS feature Service 获得FeatureCLass
最新推荐文章于 2024-09-09 17:03:46 发布