span8
span4
See thisarticle对于从ESRI XML工作区文档提取域和子类型的最新方法
This article applies to FME 2015 and older.If you are using FME 2016 or newer,please see the latest version of this article,plus examples,in theGeodatabase Transformations Tutorial:
Working with Geodatabase Domains: Creating A Coded Domain
While FME will read and resolve Geodatabase coded domains,有些用户可能希望实际提取域表本身,which are stored as blobs in the Geodatabase.
The workspaces below do this in two steps:
The first step is to use the Startup TCL script to spawn a command line FME Generate command that creates a temporary mapping file from the Geodatabase to Null.
The second step is to read the new mapping file using the Textline reader to extract and parse the coded domain definitions into an Excel spreadsheet.
An alternative approach is to use ArcCatalog to export an Esri XML Workspace Document with the database schema.You can then extract the domain and subtype codes from the resulting XML.
An even simpler alternative in more modern versions of FME is to read the GDB schema with the FeatureReader transformer.If the reader parameter Resolve Domains is enabled,域定义将以使用该域的任何属性的本机数据类型提供。
Hi@DaveAt亚搏在线Safe.I use these examples to extract the Domain table to build Data Dictionary Files for Data dictionaries in my GPS unit.I have used the PythonCaller code from the "Extract_domains_from_geodatabase_gdb.fmw“但它在2018年失效模式与后果分析中不起作用。Could you possibly upgrade the python code to 3.4+ so I could use it again?Sorry I have no knowledge of Python and don't have time to learn right now.谢谢
Please see here for an updated workspace of "Extract_domains_from_geodatabase_gdb_py34.fmw" built with 2018.1.1 (build 18567) that will work with Python 3.4.Note that this updated version workspace willnotwork with Python 2.7.
I hope this helps.
Creating and Associating Geodatabase Domains Dynamically Using A Feature Class and GDB Table
Reduce the size of Geodatabase workspace
Working with Geodatabase Domains: Creating A Coded Domain
Working with Geodatabase Subtypes and Domains
Convert Geodatabase Coded Domains To Geomedia Picklists
Creating Geodatabases based on existing Geodatabases
© 2019 亚搏在线Safe Software Inc |Legal