span8
span4
看到这个文章一个更先进的日期的方法,用于从ESRI的XML工作空间文档中提取域和子类型
本文适用于2015年FME及以上。如果你正在使用FME 2016或更高版本,请参阅最新版本的这篇文章,加上例子,在地理数据库转换教程:
虽然FME将读取和解决地理数据库编码域,一些用户可能想实际提取域表本身,这是存储在地理数据库的斑点。
下面的工作区做这两个步骤:
第一步是使用启动TCL脚本产卵命令行FME生成一个用于创建从地理数据库到空的临时映射文件命令。
第二步骤是使用所述TEXTLINE读者以提取并解析所述编码域定义到Excel电子表格读取新的映射文件。
另一种方法是使用ArcCatalog ESRI的XML文档工作区与导出数据库模式。然后,您可以提取生成的XML域和子类型代码。
在FME的更现代的版本,一个更简单的方法是阅读与FeatureReader变压器GDB架构。如果参数解析域读取器被使能,域定义将在使用该域的任何属性的本地数据类型提供。
Hi@DaveAtSafe.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" but it will not work in FME 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. Thanks
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.
Hello Friends
I tried above tool which isextract domains from GDB,But the result gives in different sheet for each field
Is it possible to get the domains of each feature .
Could you possibly upgrade the python code ,Sorry i dont have much python experience
ABove is the screenshot , we follow manually in the organization , any suggestion please
Thanks
Hi@abnan0001,
Are you using FME 2015 or older?This article has been updated with a different approach for FME versions 2016 and newer.Please seeGeodatabase XML Workspace Document Schema Reader.
-Liz
©2020安全亚搏在线软件公司|法律