예제 #1
0
        public override IRasterDataset OpenRasterDataset(IDdxRasterDataset dataset)
        {
            Assert.ArgumentNotNull(dataset, nameof(dataset));

            WorkspaceDataset workspaceDataset = GetWorkspaceDataset(dataset);

            return(workspaceDataset == null
                                       ? null
                                       : DatasetUtils.OpenRasterDataset(Workspace, workspaceDataset.Name));
        }
예제 #2
0
        public override IObjectClass OpenObjectClass(IObjectDataset dataset)
        {
            Assert.ArgumentNotNull(dataset, nameof(dataset));

            WorkspaceDataset workspaceDataset = GetWorkspaceDataset(dataset);

            return(workspaceDataset == null
                                       ? null
                                       : ModelElementUtils.OpenObjectClass(FeatureWorkspace,
                                                                           workspaceDataset.Name,
                                                                           dataset));
        }