.net组件开发,要读取shp中投影信息,代码如下,但读取到的数据源中无数据集,是调用接口错了吗
DatasourceConnectionInfo datasourceConnectionInfo = new DatasourceConnectionInfo(shpFile, "openShp", "");
datasourceConnectionInfo.EngineType = EngineType.VectorFile;
Datasource datasource = workspace.Datasources.Open(datasourceConnectionInfo);