斯潘8
斯潘4
注:本文要求特里里加包含用于运行所提供工作区的数据的数据库。
使用AutoCAD阅读器和TririgaassociatedRecordFetcher自定义转换器,可以在FME中轻松连接到IBM的Tririga数据库。tririgaassociatedrecordfetcher将把所有相关的记录提取到提供的记录ID中。在这个例子中,we will extract the Tririga Space records IDs created by the Tririga CAD Integrator in an AutoCAD DWG file,然后使用这个转换器从Tririga请求相关记录,并将它们合并到空间几何体中,以写入ArcGIS文件地理数据库。
TririgaaSociatedRecordFetcher可从FME集线器.Its user interface requires three parameters:
有关在FME中设置Web连接的信息,请看这个文档.
A Tririga Database containing a Tririga DWG file.
dwg文件中的三空间层包含空间轮廓:
这些轮廓链接到包含空间tririga ID的AutoCAD数据字典。为了阅读数据字典的功能,必须在AutoCAD DWG读取器设置中启用它们:
字典功能将从第0层读取。我们要从trga.attachment字典中获取记录。These records have the information we need in the list attribute autocad_xrecord_data_list:
The first element in the list holds the record name,which is the entity handle of the matching Space feature.列表中的第四个元素包含该空间的tririga记录编号。所以我们需要从列表中提取这两个值并删除它们的类型前缀。
In the workspace,我们使用测试仪只保存trga.附件记录,然后使用两个attributeslitter从列表中提取实体句柄和空间ID。重命名这些值并删除不需要的属性后,然后我们将它们通过实体句柄合并到来自三空间层的空间多边形上。
合并的空间特性的副本通过tririgaassociatedrecordfetcher发送,以获取该空间的所有tririga记录。
每个记录作为单独的功能输出,上面有很多属性。对象类型名称,模块名,将AssociationName属性组合为每个记录生成一个唯一的属性名,具有为该属性提供值的AssociatedRecordName。
Tririga记录功能通过1:m连接合并到空间功能中。新的属性名称将被公开并修改为与geodatabase兼容。then the features are written to the File Geodatabase writer.
Viewing the results in ArcGIS Pro,我们有每个空间的所有信息:
?2019安全亚搏在线软件公司|合法的