ArcGIS10的GDB文件解析(初步)

早就應該寫一寫關於esri的一些改變html

參考http://resources.arcgis.com/zh-cn/help/main/10.1/index.html#//006z000000tr000000ide

版本10.0以上,測試環境10.2測試

新建一空mdb格式的GDB文件,access打開,會發現跟9.x徹底不同,參考esri提供的幫助,能夠大概知道,主要是爲了順應xml格式的趨勢而作出了改動,ui

可在我看來,這些改動,把原來簡單的事情變複雜了~^_^spa

新建dataset-新建featureClass,發現本來關於字段別名的定義不見了~3d

查看GDB_Items表的字段Definition能夠發現,原來把table格式的定義換成了xml定義,複製出來,看一究竟code

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[&quot;Albers Conical Equal Area&quot;,GEOGCS[&quot;GCS_Krasovsky_1940&quot;,DATUM[&quot;D_Krasovsky_1940&quot;,SPHEROID[&quot;Krasovsky_1940&quot;,6378245.0,298.3]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;Degree&quot;,0.0174532925199433]],PROJECTION[&quot;Albers&quot;],PARAMETER[&quot;False_Easting&quot;,0.0],PARAMETER[&quot;False_Northing&quot;,0.0],PARAMETER[&quot;Central_Meridian&quot;,105.0],PARAMETER[&quot;Standard_Parallel_1&quot;,25.0],PARAMETER[&quot;Standard_Parallel_2&quot;,47.0],PARAMETER[&quot;Latitude_Of_Origin&quot;,0.0],UNIT[&quot;Meter&quot;,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>
View Code

 

哦,原來是醬紫的~xml

相關文章
相關標籤/搜索