早就应该写一写关于esri的一些改变
参考http://resources.arcgis.com/zh-cn/help/main/10.1/index.html#//006z000000tr000000
版本10.0以上,测试环境10.2
新建一空mdb格式的GDB文件,access打开,会发现跟9.x完全不一样,参考esri提供的帮助,可以大概知道,主要是为了顺应xml格式的趋势而做出了改动,
可在我看来,这些改动,把原来简单的事情变复杂了~^_^
新建dataset-新建featureClass,发现原本关于字段别名的定义不见了~
查看GDB_Items表的字段Definition可以发现,原来把table格式的定义换成了xml定义,复制出来,看一究竟
Definition <DEFeatureClassInfo xsi:type=‘typens:DEFeatureClassInfo‘ xmlns:xsi=‘http://www.w3.org/2001/XMLSchema-instance‘ xmlns:xs=‘http://www.w3.org/2001/XMLSchema‘ xmlns:typens=‘http://www.esri.com/schemas/ArcGIS/10.1‘> <CatalogPath>\Map\LAKE_TRCK</CatalogPath> <Name>LAKE_TRCK</Name> <ChildrenExpanded>false</ChildrenExpanded> <DatasetType>esriDTFeatureClass</DatasetType> <DSID>13</DSID> <Versioned>false</Versioned> <CanVersion>false</CanVersion> <ConfigurationKeyword></ConfigurationKeyword> <RequiredGeodatabaseClientVersion>10.0</RequiredGeodatabaseClientVersion> <HasOID>true</HasOID> <OIDFieldName>OBJECTID</OIDFieldName> <GPFieldInfoExs xsi:type=‘typens:ArrayOfGPFieldInfoEx‘> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>OBJECTID</Name> <AliasName>OBJECTID</AliasName> <ModelName>OBJECTID</ModelName> <FieldType>esriFieldTypeOID</FieldType> <IsNullable>false</IsNullable> <DomainFixed>true</DomainFixed> <Required>true</Required> <Editable>false</Editable> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>SHAPE</Name> <AliasName>SHAPE</AliasName> <ModelName>SHAPE</ModelName> <FieldType>esriFieldTypeGeometry</FieldType> <IsNullable>true</IsNullable> <DomainFixed>true</DomainFixed> <Required>true</Required> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>JC_DM</Name> <AliasName>监测点代码</AliasName> <ModelName>JC_DM</ModelName> <FieldType>esriFieldTypeString</FieldType> <IsNullable>true</IsNullable> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>JC_MC</Name><AliasName>监测点名称</AliasName><ModelName>JC_MC</ModelName> <FieldType>esriFieldTypeString</FieldType><IsNullable>true</IsNullable> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>JC_INFO</Name><AliasName>信息</AliasName><ModelName>JC_INFO</ModelName> <FieldType>esriFieldTypeString</FieldType><IsNullable>true</IsNullable> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>BZ</Name><AliasName>备注</AliasName><ModelName>BZ</ModelName> <FieldType>esriFieldTypeString</FieldType><IsNullable>true</IsNullable> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>JC_TYPE</Name><AliasName>监测点类型</AliasName> <ModelName>JC_TYPE</ModelName><FieldType>esriFieldTypeString</FieldType><IsNullable>true</IsNullable> </GPFieldInfoEx> <GPFieldInfoEx xsi:type=‘typens:GPFieldInfoEx‘> <Name>HPDMO</Name><AliasName>HPDMO</AliasName> <ModelName>HPDMO</ModelName><FieldType>esriFieldTypeString</FieldType><IsNullable>true</IsNullable> </GPFieldInfoEx> </GPFieldInfoExs> <CLSID>{52353152-891A-11D0-BEC6-00805F7C4268}</CLSID> <EXTCLSID></EXTCLSID> <RelationshipClassNames xsi:type=‘typens:Names‘> </RelationshipClassNames> <AliasName>监测点</AliasName> <ModelName></ModelName> <HasGlobalID>false</HasGlobalID> <GlobalIDFieldName></GlobalIDFieldName> <RasterFieldName></RasterFieldName> <ExtensionProperties xsi:type=‘typens:PropertySet‘> <PropertyArray xsi:type=‘typens:ArrayOfPropertySetProperty‘></PropertyArray> </ExtensionProperties> <ControllerMemberships xsi:type=‘typens:ArrayOfControllerMembership‘></ControllerMemberships> <EditorTrackingEnabled>false</EditorTrackingEnabled> <CreatorFieldName></CreatorFieldName> <CreatedAtFieldName></CreatedAtFieldName> <EditorFieldName></EditorFieldName> <EditedAtFieldName></EditedAtFieldName> <IsTimeInUTC>true</IsTimeInUTC> <FeatureType>esriFTSimple</FeatureType> <ShapeType>esriGeometryPoint</ShapeType> <ShapeFieldName>SHAPE</ShapeFieldName> <HasM>false</HasM> <HasZ>false</HasZ> <HasSpatialIndex>true</HasSpatialIndex> <AreaFieldName></AreaFieldName> <LengthFieldName></LengthFieldName> <Extent xsi:nil=‘true‘/> <SpatialReference xsi:type=‘typens:ProjectedCoordinateSystem‘> <WKT>PROJCS["Albers Conical Equal Area",GEOGCS["GCS_Krasovsky_1940",DATUM["D_Krasovsky_1940",SPHEROID["Krasovsky_1940",6378245.0,298.3]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",105.0],PARAMETER["Standard_Parallel_1",25.0],PARAMETER["Standard_Parallel_2",47.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]] </WKT> <XOrigin>-17330900</XOrigin> <YOrigin>-4694300</YOrigin> <XYScale>10000</XYScale> <ZOrigin>-100000</ZOrigin> <ZScale>10000</ZScale> <MOrigin>-100000</MOrigin> <MScale>10000</MScale> <XYTolerance>0.001</XYTolerance> <ZTolerance>0.001</ZTolerance> <MTolerance>0.001</MTolerance> <HighPrecision>true</HighPrecision> </SpatialReference> <ChangeTracked>false</ChangeTracked> </DEFeatureClassInfo>
哦,原来是酱紫的~
时间: 2024-10-05 05:07:42