public IPlugInWorkspaceHelper OpenWorkspace(string wksString) { OSGeo.OGR.DataSource ds = OSGeo.OGR.Ogr.OpenShared(wksString, 0); if (ds != null) { OGRWorkspace openWksp = new OGRWorkspace(ds, wksString); return((IPlugInWorkspaceHelper)openWksp); } return(null); }
public IPlugInWorkspaceHelper OpenWorkspace(string wksString) { OSGeo.OGR.DataSource ds = OSGeo.OGR.Ogr.OpenShared(wksString, 0); if (ds != null) { OGRWorkspace openWksp = new OGRWorkspace(ds, wksString); return (IPlugInWorkspaceHelper)openWksp; } return null; }