Time to study the next API, currently 1.4 version, but also good.
Record the
Datasetrelationshiptypes type
-datasetrelationshiptypes{string[18]}string[][0] "Syncdatasetinsyncreplica" string[1] "ReplicaDatasetInReplica" STRING[2] "Datasetofreplicadataset" string[3] "featureclassinparcelfabric" string[4] "Datasetsrelatedthrough" string [5] "featureclassintopology" string[6] "Datasetinfolder" string[7] "featureclassingeometricnetwork" string[8] " Featureclassinnetworkdataset "string[9]" Folderinfolder "string[10]" Featureclassinterrain "string[11]" Datasetofsyncdataset "string[12]" tableinparcelfabric "string[13]" Iteminfolder "string[14]" Representationoffeatureclass "string[15]" Domainindataset "string[16]" Datasetinfeaturedataset "string[17]" Tableinnetworkdataset "string
Datasettypes type
-datasettypes{string[34]}string[][0] "Network DataSet" string[1] "Mosaic DataSet" string[2] "Terrain" string[3] "Survey DataSet "String[4]" DataSet "String[5]" Extension DataSet "string[6]" Item "string[7]" geometric Network "string[8]" Table "String[9]" sync Replica "string[10" "Workspace" string[11] "Sync Dataset" string[12] "Resource" string[13] "Tin" string[ "Feature DataSet" string[15] "Coded Value Domain" string[16] "representation Class" string[17] "Replica DataSet" string [+] "Raster DataSet" string[19] "historical Marker" string[20] "abstracttable" string[21] "Catalog DataSet" string[22] " Range Domain "string[23" "Replica" string[24] "Feature Class" string[25] "toolbox" string[26] "topology" string[27] " Relationship Class "string[28]" Parcel Fabric "string[29]" Raster Catalog "string[30]" Schematic Dataset "string[31]" Workspace Extension "string[32" "Domain" string[33] "Folder" string
The demo code is as follows
String db = @ "Z:\data\DK.gdb"; Geodatabase geodatabase = Geodatabase.open (@ "Z:\data\DK.gdb"); string[] Parraydst = geodatabase. Datasettypes; string[] Parraydrt = geodatabase. Datasetrelationshiptypes; string[] Parrayfc = geodatabase. Getchilddatasets ("\ \", "Feature Class"); string[] PARRAYFD = geodatabase. Getchilddatasets ("\ \", "Feature Dataset"); string[] pArrayFC2 = geodatabase. Getchilddatasets (Parrayfd[0], "Feature Class");
Currently, there is a problem with field aliases, Fielddefs is always null, and there is no field alias in FieldInformation. Guess it's missing out?
This problem is a good solution, make a field comparison table, the export time can be.
Looking at the demo, it seems that ESRI is using the PY path for this API, identifying it by string and manipulating GdB as a folder.
And for the creation of tables such as the adoption of XML ideas, if not lazy, is to cross-platform.
ESRI GDB API