pSpatialReference 需要设置domian
pSpatialReference.SetDomain(-60000000, 60000000, -60000000, 60000000);
你看看ISpatialReference的SetDomain方法的说明.
ISpatialReferenceFactory pSpatialReferenceEnvironment = new SpatialReferenceEnvironment();
pComReleaser.ManageLifetime(pSpatialReferenceEnvironment);
ISpatialReference pSpatialReference = pSpatialReferenceEnvironment.CreateProjectedCoordinateSystem((int)esriSRProjCSType.esriSRProjCS_World_Mercator);
pComReleaser.ManageLifetime(pSpatialReference);
pSpatialReferenceEnvironment.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984);
pSpatialReference.SetDomain(-60000000, 60000000, -60000000, 60000000);
//创建要素数据集
IFeatureDataset pFeatureDataset = PGeoDbGeneral.CreateFeatureDataset(pWorkspace, txtFtDataset.Text, pSpatialReference);
pComReleaser.ManageLifetime(pFeatureDataset);