ESRI GDB API

Source: Internet
Author: User
Tags comparison table

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.