Exemplo n.º 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));
        }
Exemplo n.º 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));
        }